mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_BattMonitor: fixed build warnings
This commit is contained in:
parent
b1928d959b
commit
9e17275488
@ -143,7 +143,7 @@ AP_BattMonitor::BatteryFailsafe AP_BattMonitor_Backend::update_failsafes(void)
|
||||
return AP_BattMonitor::BatteryFailsafe_None;
|
||||
}
|
||||
|
||||
bool update_check(size_t buflen, char *buffer, bool failed, const char *message)
|
||||
static bool update_check(size_t buflen, char *buffer, bool failed, const char *message)
|
||||
{
|
||||
if (failed) {
|
||||
strncpy(buffer, message, buflen);
|
||||
|
Loading…
Reference in New Issue
Block a user