6 #include "mmu2/error_codes.h"
7 #include "mmu2/progress_codes.h"
9 #include "../../../../../../Prusa-Firmware-MMU/src/logic/error_codes.h"
10 #include "../../../../../../Prusa-Firmware-MMU/src/logic/progress_codes.h"
15 enum CommandInProgress : uint8_t {
27 void BeginReport(CommandInProgress cip, ProgressCode ec);
30 void EndReport(CommandInProgress cip, ProgressCode ec);
53 void Progress(
bool sensorState);
60 void Render(uint8_t col,
bool sensorState);
64 uint8_t lcd_cursor_col;
103 void MakeSound(SoundType s);
105 void FullScreenMsgCut(uint8_t slot);
106 void FullScreenMsgEject(uint8_t slot);
107 void FullScreenMsgTest(uint8_t slot);
108 void FullScreenMsgLoad(uint8_t slot);
109 void FullScreenMsgRestoringTemperature();
111 void ScreenUpdateEnable();
114 void tuneIdlerStallguardThreshold();
New MMU2 protocol logic.
Definition: mmu2.cpp:26
bool TuneMenuEntered()
Definition: mmu2_reporting.cpp:233
bool UseMMU()
Global Enable/Disable use MMU (to be stored in EEPROM)
void ReportErrorHookDynamicRender(void)
Renders any characters that will be updated live on the MMU error screen. Currently,...
Definition: mmu2_reporting.cpp:36
void IncrementLoadFails()
Definition: mmu2_reporting.cpp:353
void ReportErrorHookSensorLineRender()
Renders the static part of the sensor state line. Also used by "resuming temperature screen".
Definition: mmu2_reporting.cpp:87
void DisableMMUInSettings()
Disables MMU in EEPROM.
Definition: mmu2_reporting.cpp:348
void IncrementMMUFails()
Increments EEPROM cell - number of MMU errors.
Definition: mmu2_reporting.cpp:358
void CheckErrorScreenUserInput()
Checks for error screen user input, if the error screen is open.
Definition: mmu2_reporting.cpp:225
void ReportProgressHook(CommandInProgress cip, ProgressCode ec)
Called when the MMU sends operation progress update.
Definition: mmu2_reporting.cpp:296
void BeginReport(CommandInProgress, ProgressCode ec)
Called at the begin of every MMU operation.
Definition: mmu2_reporting.cpp:19
bool cutter_enabled()
Definition: mmu2_reporting.cpp:363
void ReportErrorHook(CommandInProgress, ErrorCode ec, uint8_t)
Called when the MMU or MK3S sends operation error (even repeatedly). Render MMU error screen on the L...
Definition: mmu2_reporting.cpp:237
void EndReport(CommandInProgress, ProgressCode)
Called at the end of every MMU operation.
Definition: mmu2_reporting.cpp:24
Definition: mmu2_reporting.h:50