Fix AutoReporter implementation (#20959)
This commit is contained in:
@@ -798,8 +798,8 @@ class Temperature {
|
||||
#endif
|
||||
);
|
||||
#if ENABLED(AUTO_REPORT_TEMPERATURES)
|
||||
class AutoReportTemp : public AutoReporter<SERIAL_ALL> { void auto_report(); };
|
||||
static AutoReportTemp auto_reporter;
|
||||
struct AutoReportTemp { static void report(); };
|
||||
static AutoReporter<AutoReportTemp> auto_reporter;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user