Skip to content

Commit

Permalink
missed 'FANS' revert, use MAX31855 typedef in read_max_tc()
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbro committed Jul 2, 2021
1 parent 302810e commit d0191e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/inc/Conditionals_post.h
Original file line number Diff line number Diff line change
Expand Up @@ -2809,7 +2809,7 @@
#define HAS_FAN7 1
#endif
#undef _NOT_E_AUTO
#undef _HAS_FANS
#undef _HAS_FAN
#if PIN_EXISTS(CONTROLLER_FAN)
#define HAS_CONTROLLER_FAN 1
#endif
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/module/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2693,7 +2693,7 @@ void Temperature::disable_all_heaters() {
#endif

#if HAS_MAX31855_LIBRARY
Adafruit_MAX31855 &max855ref = THERMO_SEL(max31855_0, max31855_1);
MAX31855 &max855ref = THERMO_SEL(max31855_0, max31855_1);
max_tc_temp = max855ref.readRaw32();
#endif

Expand Down

0 comments on commit d0191e4

Please sign in to comment.