Skip to content

Commit

Permalink
Check if MMU is enabled by reading EEPROM
Browse files Browse the repository at this point in the history
  • Loading branch information
gudnimg committed Aug 15, 2024
1 parent bf62679 commit e2e2f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ void fw_version_check(const char *pVersion) {
bool filament_presence_check() {
// When MMU is enabled, this is not necessary and the G-code file
// should always tell the MMU which filament to load.
if (MMU2::mmu2.Enabled()) {
if (eeprom_read_byte((uint8_t *)EEPROM_MMU_ENABLED)) {
goto done;
}

Expand Down

0 comments on commit e2e2f4e

Please sign in to comment.