Bug fixes - frame counter, link checking and battery charge status
Fixed frame counter (was unsigned char, should have been uint_32) which caused TTN to ignore device after 255 frames and rollover when frame count checks enabled Turned off link checking when ADR not in use as it was forcing confirmed links Added display of battery charging status
This commit is contained in:
@ -115,6 +115,7 @@ void screen_loop() {
|
||||
if (axp.isVbusRemoveIRQ()) {
|
||||
baChStatus = "No Charging";
|
||||
}
|
||||
Serial.println(baChStatus); //Prints charging status to screen
|
||||
digitalWrite(2, !digitalRead(2));
|
||||
axp.clearIRQ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user