1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 01:35:35 +03:00

Ensure battery status strings are stored in the flash.

This commit is contained in:
Dominic Clifton 2015-08-04 03:10:34 +01:00
parent 7202ad7524
commit 463437fb45
2 changed files with 2 additions and 2 deletions

View file

@ -146,7 +146,7 @@ batteryState_e getBatteryState(void)
return batteryState; return batteryState;
} }
const char * batteryStateStrings[] = {"OK", "WARNING", "CRITICAL", "NOT PRESENT"}; const char * const batteryStateStrings[] = {"OK", "WARNING", "CRITICAL", "NOT PRESENT"};
const char * getBatteryStateString(void) const char * getBatteryStateString(void)
{ {