RTC battery voltage fix

This commit is contained in:
Bertrand Songis
2019-07-07 00:50:31 +02:00
parent 3417e29e69
commit e107e1853c
2 changed files with 13 additions and 2 deletions
@@ -302,6 +302,13 @@ void menuRadioHardware(event_t event)
}
#endif
if (menuEvent) {
disableVBatBridge();
}
else if (event == EVT_ENTRY) {
enableVBatBridge();
}
for (uint8_t i=0; i<NUM_BODY_LINES; i++) {
coord_t y = MENU_HEADER_HEIGHT + 1 + i*FH;
uint8_t k = i+menuVerticalOffset;