mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 16:25:26 +03:00
Ensure battery status strings are stored in the flash.
This commit is contained in:
parent
7202ad7524
commit
463437fb45
2 changed files with 2 additions and 2 deletions
|
@ -146,7 +146,7 @@ batteryState_e getBatteryState(void)
|
|||
return batteryState;
|
||||
}
|
||||
|
||||
const char * batteryStateStrings[] = {"OK", "WARNING", "CRITICAL", "NOT PRESENT"};
|
||||
const char * const batteryStateStrings[] = {"OK", "WARNING", "CRITICAL", "NOT PRESENT"};
|
||||
|
||||
const char * getBatteryStateString(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue