update math with itoa base
This commit is contained in:
@@ -25,7 +25,7 @@ void adc_print_dec(uint16_t value) {
|
||||
// value = calibrate_temperature(value, 5);
|
||||
// }
|
||||
char buffer[17] = {0};
|
||||
int_to_string((uint16_t)value, buffer);
|
||||
int_to_string_base((uint16_t)value, buffer, 10);
|
||||
uart_printstr(buffer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user