Skip to content

Commit

Permalink
fix leftover #ifdef from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbro committed Jun 9, 2021
1 parent e5dbbfe commit 86e8f96
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Marlin/src/module/thermistor/thermistors.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,33 +277,35 @@ typedef struct { int16_t value; celsius_t celsius; } temp_entry_t;
#define TEMPTABLE_7_LEN 0
#endif

#ifdef TEMP_SENSOR_BED > 0
#if TEMP_SENSOR_BED > 0
#define TEMPTABLE_BED TT_NAME(TEMP_SENSOR_BED)
#define TEMPTABLE_BED_LEN COUNT(TEMPTABLE_BED)
#else
#define TEMPTABLE_BED_LEN 0
#endif

#ifdef TEMP_SENSOR_CHAMBER > 0
#if TEMP_SENSOR_CHAMBER > 0
#define TEMPTABLE_CHAMBER TT_NAME(TEMP_SENSOR_CHAMBER)
#define TEMPTABLE_CHAMBER_LEN COUNT(TEMPTABLE_CHAMBER)
#else
#define TEMPTABLE_CHAMBER_LEN 0
#endif

#ifdef TEMP_SENSOR_COOLER > 0
#if TEMP_SENSOR_COOLER > 0
#define TEMPTABLE_COOLER TT_NAME(TEMP_SENSOR_COOLER)
#define TEMPTABLE_COOLER_LEN COUNT(TEMPTABLE_COOLER)
#else
#define TEMPTABLE_COOLER_LEN 0
#endif
#ifdef TEMP_SENSOR_PROBE > 0

#if TEMP_SENSOR_PROBE > 0
#define TEMPTABLE_PROBE TT_NAME(TEMP_SENSOR_PROBE)
#define TEMPTABLE_PROBE_LEN COUNT(TEMPTABLE_PROBE)
#else
#define TEMPTABLE_PROBE_LEN 0
#endif
#ifdef TEMP_SENSOR_REDUNDANT > 0

#if TEMP_SENSOR_REDUNDANT > 0
#define TEMPTABLE_REDUNDANT TT_NAME(TEMP_SENSOR_REDUNDANT)
#define TEMPTABLE_REDUNDANT_LEN COUNT(TEMPTABLE_REDUNDANT)
#else
Expand Down

0 comments on commit 86e8f96

Please sign in to comment.