Skip to content

Commit 2b1375c

Browse files
authored
🐛 Fix thermistor 14 & 60 constexprness (#26499)
1 parent 0654408 commit 2b1375c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Marlin/src/module/thermistor/thermistor_14.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#pragma once
2323

2424
// R25 = 100 kOhm, beta25 = 4092 K, 4.7 kOhm pull-up, bed thermistor
25-
const temp_entry_t temptable_14[] PROGMEM = {
25+
constexpr temp_entry_t temptable_14[] PROGMEM = {
2626
{ OV( 23), 275 },
2727
{ OV( 25), 270 },
2828
{ OV( 27), 265 },

Marlin/src/module/thermistor/thermistor_68.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#define REVERSE_TEMP_SENSOR_RANGE_68 1
2525

2626
// PT100 amplifier board from Dyze Design
27-
const temp_entry_t temptable_68[] PROGMEM = {
27+
constexpr temp_entry_t temptable_68[] PROGMEM = {
2828
{ OV(273), 0 },
2929
{ OV(294), 20 },
3030
{ OV(315), 40 },

0 commit comments

Comments
 (0)