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