Fix bugs in settings saving
This commit is contained in:
@@ -121,7 +121,7 @@ int sd_card_settings_save_calibration(float sens_deviation, float offset, bool a
|
||||
int ret = 0;
|
||||
|
||||
status = create_controller_folder();
|
||||
if (status)
|
||||
if (status < 0)
|
||||
return -2;
|
||||
|
||||
get_controller_settings_path(path, sizeof(path), "offset");
|
||||
|
Reference in New Issue
Block a user