1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-23 08:15:13 +03:00

RTC battery voltage fix

This commit is contained in:
Bertrand Songis 2019-07-07 00:50:31 +02:00
parent 3417e29e69
commit e107e1853c
No known key found for this signature in database
GPG key ID: F189F79290FEC50F
2 changed files with 13 additions and 2 deletions

View file

@ -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;