Fix #1: Implement save function for calibration
This commit is contained in:
@@ -21,8 +21,10 @@
|
||||
#ifndef __SETTINGS_SETTINGS_SD_CARD_H__
|
||||
#define __SETTINGS_SETTINGS_SD_CARD_H__
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#define CALIBRATION_FILE_NAME "cal.toml"
|
||||
|
||||
int sd_card_settings_save_calibration(float sens_deviation, float offset);
|
||||
int sd_card_settings_save_calibration(float sens_deviation, float offset, bool active);
|
||||
|
||||
#endif /* __SETTINGS_SETTINGS_SD_CARD_H__ */
|
||||
|
||||
Reference in New Issue
Block a user