* M123: Report fan states -or- set interval for auto-report * * S : Set auto-report interval */
| 33 | * S<seconds> : Set auto-report interval |
| 34 | */ |
| 35 | void GcodeSuite::M123() { |
| 36 | |
| 37 | #if ENABLED(AUTO_REPORT_FANS) |
| 38 | if (parser.seenval('S')) { |
| 39 | fan_check.auto_reporter.set_interval(parser.value_byte()); |
| 40 | return; |
| 41 | } |
| 42 | #endif |
| 43 | |
| 44 | fan_check.print_fan_states(); |
| 45 | |
| 46 | } |
| 47 | |
| 48 | #endif // HAS_FANCHECK |
nothing calls this directly
no test coverage detected