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:
Tim Kerby
2020-01-13 17:14:09 +00:00
parent 8bad9225c2
commit 4a1f360697
4 changed files with 9 additions and 1 deletions

View File

@ -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();
}