Used correct voltages
This commit is contained in:
parent
e13e5c318b
commit
925ecd9671
@ -70,7 +70,7 @@ uint32_t volatile logging_mask = 0b11111; // no LOG_LEVEL_NOISY
|
|||||||
#define NTC_R25 10000.0f // 10k ohm at 25C
|
#define NTC_R25 10000.0f // 10k ohm at 25C
|
||||||
|
|
||||||
#define NTC_R_DIVIDER 10000.0f
|
#define NTC_R_DIVIDER 10000.0f
|
||||||
#define NTC_V_DIVIDER 5.000f // 5V
|
#define NTC_V_DIVIDER 3.000f // 3V
|
||||||
|
|
||||||
[[gnu::always_inline]]
|
[[gnu::always_inline]]
|
||||||
static inline float ntc_ohms_to_celsius(float ohms) {
|
static inline float ntc_ohms_to_celsius(float ohms) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user