Refactor code

This commit is contained in:
Mario Hüttel 2021-05-13 16:12:27 +02:00
parent 534f917636
commit c3074bcb6a

View File

@ -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)