Fix bug in settings parser

This commit is contained in:
Mario Hüttel 2020-11-02 18:20:57 +01:00
parent 7b1ae3bdc6
commit bb39c4b6e0
1 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,8 @@ int sd_card_settings_try_load_calibration(float *sens_deviation, float *offset)
} while (res != CONFIG_PARSER_END_REACHED &&
res != CONFIG_PARSER_GENERIC_ERR &&
res != CONFIG_PARSER_IOERR);
res != CONFIG_PARSER_IOERR &&
res != CONFIG_PARSER_PARAM_ERR);
config_parser_close_file(p);