mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
Core temperature can be negative
This commit is contained in:
parent
b0ff928afd
commit
122a967c24
3 changed files with 3 additions and 3 deletions
|
@ -3015,7 +3015,7 @@ static void cliStatus(char *cmdline)
|
|||
|
||||
#ifdef USE_ADC_INTERNAL
|
||||
uint16_t vrefintMv = getVrefMv();
|
||||
uint16_t coretemp = getCoreTemperatureCelsius();
|
||||
int16_t coretemp = getCoreTemperatureCelsius();
|
||||
cliPrintf(", Vref=%d.%2dV, Core temp=%ddegC", vrefintMv / 1000, (vrefintMv % 1000) / 10, coretemp);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue