Skip to content

Commit

Permalink
serial shorthand
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Mar 18, 2023
1 parent 34d2545 commit 65fcdfa
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Marlin/src/module/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2967,12 +2967,8 @@ void Temperature::init() {
#if ENABLED(REPORT_ADAPTIVE_FAN_SLOWING)
if (DEBUGGING(INFO)) {
const uint8_t fss7 = fan_speed_scaler[fan_index] & 0x80;
if (fss7 ^ (scale & 0x80)) {
if (fss7) // Scaling went below 128
SERIAL_ECHOLNPGM("Thermal divergence. Adaptive Fan Slowing activated.");
else // Scaling went to 128
SERIAL_ECHOLNPGM("Thermal convergence. Adaptive Fan Slowing deactivated.");
}
if (fss7 ^ (scale & 0x80))
SERIAL_ECHO_TERNARY(fss7, "Adaptive Fan Slowing ", "", "de", "activated.\n")
}
#endif

Expand Down

0 comments on commit 65fcdfa

Please sign in to comment.