Fix code warnings
This commit is contained in:
parent
32c8e2e937
commit
dc9fc2f814
@ -142,7 +142,6 @@ static float calculate_standard_deviation(float *values, uint32_t count, float m
|
|||||||
static int calibration_poll_data_acquisition(float *mem_array, uint32_t count, volatile int *flag, float *mu, float *std_dev)
|
static int calibration_poll_data_acquisition(float *mem_array, uint32_t count, volatile int *flag, float *mu, float *std_dev)
|
||||||
{
|
{
|
||||||
int ret_val = 0;
|
int ret_val = 0;
|
||||||
uint32_t i;
|
|
||||||
|
|
||||||
if (!flag || !mem_array || !mu || !std_dev)
|
if (!flag || !mem_array || !mu || !std_dev)
|
||||||
return -1000;
|
return -1000;
|
||||||
|
@ -88,7 +88,7 @@ int sd_card_settings_save_calibration(float sens_deviation, float offset, bool a
|
|||||||
{
|
{
|
||||||
char path[200];
|
char path[200];
|
||||||
FRESULT res = FR_OK;
|
FRESULT res = FR_OK;
|
||||||
int ret;
|
int ret = 0;
|
||||||
FIL file;
|
FIL file;
|
||||||
|
|
||||||
get_controller_settings_path(path, sizeof(path), "calibration");
|
get_controller_settings_path(path, sizeof(path), "calibration");
|
||||||
|
Loading…
Reference in New Issue
Block a user