cpainchaud / RFLink32

RFLink for ESP, with MQTT client
Other
119 stars 44 forks source link

D1-Mini RFDEBUG craches #46

Closed Niiccoo closed 2 years ago

Niiccoo commented 2 years ago

After using 10;RFDEBUG=ON; the following code crashed the program (in Plugin_001.c):

  RFLink::sendRawPrint(PSTR(";RSSI="));

fix: // Replaced PSTR(";RSSI=") with F(";RSSI=") RFLink::sendRawPrint(F(";RSSI="));

Probably on all places where combination RFLink::sendRawPrint() and PSTR() is used it will crashes the code.

cpainchaud commented 2 years ago

Hi ! You should have submitted a PR !!! :) I will have a look and fix those thank you!