mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_HAL_ChibiOS: atof to strtof
This commit is contained in:
parent
34f5b800b6
commit
bf695e4eeb
@ -531,7 +531,7 @@ void Util::apply_persistent_params(void) const
|
||||
if (eq) {
|
||||
*eq = 0;
|
||||
const char *pname = p;
|
||||
const float value = atof(eq+1);
|
||||
const float value = strtof(eq+1, NULL);
|
||||
if (AP_Param::set_default_by_name(pname, value)) {
|
||||
count++;
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user