Fix code warnings
This commit is contained in:
		@@ -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)
 | 
			
		||||
{
 | 
			
		||||
	int ret_val = 0;
 | 
			
		||||
	uint32_t i;
 | 
			
		||||
 | 
			
		||||
	if (!flag || !mem_array || !mu || !std_dev)
 | 
			
		||||
		return -1000;
 | 
			
		||||
 
 | 
			
		||||
@@ -88,7 +88,7 @@ int sd_card_settings_save_calibration(float sens_deviation, float offset, bool a
 | 
			
		||||
{
 | 
			
		||||
	char path[200];
 | 
			
		||||
	FRESULT res = FR_OK;
 | 
			
		||||
	int ret;
 | 
			
		||||
	int ret = 0;
 | 
			
		||||
	FIL file;
 | 
			
		||||
 | 
			
		||||
	get_controller_settings_path(path, sizeof(path), "calibration");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user