Fixup from review

This commit is contained in:
D.R.racer 2023-09-18 07:39:45 +02:00 committed by DRracer
parent 4134bf4f40
commit 0f1cb4f407
2 changed files with 1 additions and 2 deletions

View File

@ -296,6 +296,7 @@ bool MMU2::VerifyFilamentEnteredPTFE() {
safe_delay_keep_alive(0);
}
}
Disable_E0();
if (!filament_inserted) {
IncrementLoadFails();
}

View File

@ -29,8 +29,6 @@ namespace MMU2 {
///
/// Currently, this is not possible to perform automatically at compile time with the existing languages/translations infrastructure.
/// To save space a "dumb" solution was chosen + a few static_assert checks in errors_list.h preventing the code from compiling when the string doesn't match.
/// -----
/// On Buddy FW we should improve the error screen to be able to print formatted strings
static constexpr uint8_t supportedMmuFWVersion[3] PROGMEM = { mmuVersionMajor, mmuVersionMinor, mmuVersionPatch };
const Register ProtocolLogic::regs8Addrs[ProtocolLogic::regs8Count] PROGMEM = {