Fix bug in settings parser
This commit is contained in:
parent
7b1ae3bdc6
commit
bb39c4b6e0
@ -151,7 +151,8 @@ int sd_card_settings_try_load_calibration(float *sens_deviation, float *offset)
|
|||||||
|
|
||||||
} while (res != CONFIG_PARSER_END_REACHED &&
|
} while (res != CONFIG_PARSER_END_REACHED &&
|
||||||
res != CONFIG_PARSER_GENERIC_ERR &&
|
res != CONFIG_PARSER_GENERIC_ERR &&
|
||||||
res != CONFIG_PARSER_IOERR);
|
res != CONFIG_PARSER_IOERR &&
|
||||||
|
res != CONFIG_PARSER_PARAM_ERR);
|
||||||
|
|
||||||
config_parser_close_file(p);
|
config_parser_close_file(p);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user