ELECHOUSE_cc1101.getCC1101() ALWAYS TRUE
IAmOrion opened this issue · comments
Not sure if it's just me, but using ESP8266, this statement...
if (ELECHOUSE_cc1101.getCC1101()) { Serial.println("Connection OK"); } else { Serial.println("Connection Error"); }
ALWAYS returns true / "Connection OK"... even if I disconnect the CC1101 is will still return true so something's not right!
Have the same issue.
Compiled w/ LibVer. 2.5.7 & Arduino 1.8.13, uploaded to nodeMCU ESP-12E.
II suppose the code/ the check done in the Library is wrong. I've commented in #122 (comment)