AP_HAL_ChibiOS: atof to strtof

This commit is contained in:
Iampete1 2021-09-11 23:26:09 +01:00 committed by Peter Barker
parent 34f5b800b6
commit bf695e4eeb
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
/*