mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +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
|
@ -65,7 +65,7 @@ uint16_t getVrefMv(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
uint16_t getCoreTemperatureCelsius(void)
|
||||
int16_t getCoreTemperatureCelsius(void)
|
||||
{
|
||||
return coreTemperature;
|
||||
}
|
||||
|
|
|
@ -21,5 +21,5 @@
|
|||
|
||||
void adcInternalInit(void);
|
||||
void adcInternalProcess(timeUs_t currentTimeUs);
|
||||
uint16_t getCoreTemperatureCelsius(void);
|
||||
int16_t getCoreTemperatureCelsius(void);
|
||||
uint16_t getVrefMv(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue