mmu stealth mode
This commit is contained in:
parent
730e370e78
commit
26cab2911f
5 changed files with 14 additions and 5 deletions
|
@ -223,7 +223,12 @@ void mmu_loop(void)
|
||||||
if (!version_valid) mmu_show_warning();
|
if (!version_valid) mmu_show_warning();
|
||||||
else puts_P(PSTR("MMU version valid"));
|
else puts_P(PSTR("MMU version valid"));
|
||||||
|
|
||||||
if ((PRINTER_TYPE == PRINTER_MK3) || (PRINTER_TYPE == PRINTER_MK3_SNMM))
|
bool activate_stealth_mode = (eeprom_read_byte((uint8_t*)EEPROM_SILENT) == SILENT_MODE_STEALTH);
|
||||||
|
#ifdef MMU_STEALTH_MODE
|
||||||
|
activate_stealth_mode = true;
|
||||||
|
#endif //MMU_STEALTH_MODE
|
||||||
|
|
||||||
|
if (!activate_stealth_mode)
|
||||||
{
|
{
|
||||||
FDEBUG_PUTS_P(PSTR("MMU <= 'P0'"));
|
FDEBUG_PUTS_P(PSTR("MMU <= 'P0'"));
|
||||||
mmu_puts_P(PSTR("P0\n")); //send 'read finda' request
|
mmu_puts_P(PSTR("P0\n")); //send 'read finda' request
|
||||||
|
|
|
@ -498,7 +498,8 @@
|
||||||
//#define SUPPORT_VERBOSITY
|
//#define SUPPORT_VERBOSITY
|
||||||
|
|
||||||
#define MMU_REQUIRED_FW_BUILDNR 132
|
#define MMU_REQUIRED_FW_BUILDNR 132
|
||||||
//#define MMU_DEBUG //print communication between MMU2 and printer on serial
|
#define MMU_STEALTH_MODE
|
||||||
|
#define MMU_DEBUG //print communication between MMU2 and printer on serial
|
||||||
|
|
||||||
#define MMU_IDLER_SENSOR_ATTEMPTS_NR 21 //max. number of attempts to load filament if first load failed; value for max bowden length and case when loading fails right at the beginning
|
#define MMU_IDLER_SENSOR_ATTEMPTS_NR 21 //max. number of attempts to load filament if first load failed; value for max bowden length and case when loading fails right at the beginning
|
||||||
|
|
||||||
|
|
|
@ -499,7 +499,8 @@
|
||||||
//#define SUPPORT_VERBOSITY
|
//#define SUPPORT_VERBOSITY
|
||||||
|
|
||||||
#define MMU_REQUIRED_FW_BUILDNR 132
|
#define MMU_REQUIRED_FW_BUILDNR 132
|
||||||
//#define MMU_DEBUG //print communication between MMU2 and printer on serial
|
#define MMU_STEALTH_MODE
|
||||||
|
#define MMU_DEBUG //print communication between MMU2 and printer on serial
|
||||||
|
|
||||||
#define MMU_IDLER_SENSOR_ATTEMPTS_NR 21 //max. number of attempts to load filament if first load failed; value for max bowden length and case when loading fails right at the beginning
|
#define MMU_IDLER_SENSOR_ATTEMPTS_NR 21 //max. number of attempts to load filament if first load failed; value for max bowden length and case when loading fails right at the beginning
|
||||||
|
|
||||||
|
|
|
@ -498,7 +498,8 @@
|
||||||
//#define SUPPORT_VERBOSITY
|
//#define SUPPORT_VERBOSITY
|
||||||
|
|
||||||
#define MMU_REQUIRED_FW_BUILDNR 132
|
#define MMU_REQUIRED_FW_BUILDNR 132
|
||||||
//#define MMU_DEBUG //print communication between MMU2 and printer on serial
|
#define MMU_STEALTH_MODE
|
||||||
|
#define MMU_DEBUG //print communication between MMU2 and printer on serial
|
||||||
|
|
||||||
#define MMU_IDLER_SENSOR_ATTEMPTS_NR 21 //max. number of attempts to load filament if first load failed; value for max bowden length and case when loading fails right at the beginning
|
#define MMU_IDLER_SENSOR_ATTEMPTS_NR 21 //max. number of attempts to load filament if first load failed; value for max bowden length and case when loading fails right at the beginning
|
||||||
|
|
||||||
|
|
|
@ -499,7 +499,8 @@
|
||||||
//#define SUPPORT_VERBOSITY
|
//#define SUPPORT_VERBOSITY
|
||||||
|
|
||||||
#define MMU_REQUIRED_FW_BUILDNR 132
|
#define MMU_REQUIRED_FW_BUILDNR 132
|
||||||
//#define MMU_DEBUG //print communication between MMU2 and printer on serial
|
#define MMU_STEALTH_MODE
|
||||||
|
#define MMU_DEBUG //print communication between MMU2 and printer on serial
|
||||||
|
|
||||||
#define MMU_IDLER_SENSOR_ATTEMPTS_NR 21 //max. number of attempts to load filament if first load failed; value for max bowden length and case when loading fails right at the beginning
|
#define MMU_IDLER_SENSOR_ATTEMPTS_NR 21 //max. number of attempts to load filament if first load failed; value for max bowden length and case when loading fails right at the beginning
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue