Refactor code
This commit is contained in:
		| @@ -55,7 +55,7 @@ int32_t temperature_adc_get_temp(void) | |||||||
| 	temp = (get_temp_sensor_cal() << 10) - temp; | 	temp = (get_temp_sensor_cal() << 10) - temp; | ||||||
| 	temp = (temp * 10 / slope) + 300; | 	temp = (temp * 10 / slope) + 300; | ||||||
|  |  | ||||||
|     return temp; | 	return temp; | ||||||
| } | } | ||||||
|  |  | ||||||
| static uint32_t get_vrefint_cal(void) | static uint32_t get_vrefint_cal(void) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user