Attach an interrupt to EXT_PWR_DETECT if present, and force a screen redraw on a power change.

This commit is contained in:
Jonathan Bennett
2025-10-08 23:13:02 -05:00
parent 45f15b8fe6
commit e5a2ce54e7
2 changed files with 13 additions and 0 deletions

View File

@@ -1428,6 +1428,9 @@ int Screen::handleStatusUpdate(const meshtastic::Status *arg)
}
nodeDB->updateGUI = false;
break;
case STATUS_TYPE_POWER:
forceDisplay(true);
break;
}
return 0;