Check if MMU is enabled by reading EEPROM
This commit is contained in:
parent
4ed5b36199
commit
5e66e71a48
|
|
@ -374,7 +374,7 @@ void fw_version_check(const char *pVersion) {
|
||||||
bool filament_presence_check() {
|
bool filament_presence_check() {
|
||||||
// When MMU is enabled, this is not necessary and the G-code file
|
// When MMU is enabled, this is not necessary and the G-code file
|
||||||
// should always tell the MMU which filament to load.
|
// should always tell the MMU which filament to load.
|
||||||
if (MMU2::mmu2.Enabled()) {
|
if (eeprom_read_byte((uint8_t *)EEPROM_MMU_ENABLED)) {
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue