update math with itoa base

This commit is contained in:
hugogogo
2025-03-15 18:34:10 +01:00
parent ec928d14b1
commit bd23d89706
6 changed files with 59 additions and 15 deletions

View File

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