Update and fix DGUS (#16317)

This commit is contained in:
George Fu
2020-01-04 11:00:44 +08:00
committed by Scott Lahteine
parent 7f87a044cd
commit e593da1c23
311 changed files with 8501 additions and 820 deletions

View File

@@ -56,6 +56,7 @@ namespace ExtUI {
enum extruder_t : uint8_t { E0, E1, E2, E3, E4, E5 };
enum heater_t : uint8_t { H0, H1, H2, H3, H4, H5, BED, CHAMBER };
enum fan_t : uint8_t { FAN0, FAN1, FAN2, FAN3, FAN4, FAN5 };
enum result_t : uint8_t { PID_BAD_EXTRUDER_NUM, PID_TEMP_TOO_HIGH, PID_TUNING_TIMEOUT, PID_DONE };
constexpr uint8_t extruderCount = EXTRUDERS;
constexpr uint8_t hotendCount = HOTENDS;
@@ -318,6 +319,12 @@ namespace ExtUI {
void onLoadSettings(const char *);
void onConfigurationStoreWritten(bool success);
void onConfigurationStoreRead(bool success);
#if ENABLED(POWER_LOSS_RECOVERY)
void OnPowerLossResume();
#endif
#if HAS_PID_HEATING
void OnPidTuning(const result_t rst);
#endif
};
/**