Commit e2063e3 1 parent 544dd23 commit e2063e3 Copy full SHA for e2063e3
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -340,17 +340,17 @@ void MMU2::mmu_loop() {
340
340
#endif
341
341
342
342
if (rx_ok ()) {
343
- // response to C0 mmu command in PRUSA_MMU2_S_MODE
343
+ // Response to C0 mmu command in PRUSA_MMU2_S_MODE
344
344
bool can_reset = true ;
345
- if ( ENABLED (PRUSA_MMU2_S_MODE) && last_cmd == MMU_CMD_C0) {
346
- if (!mmu2s_triggered) {
345
+ # if ENABLED(PRUSA_MMU2_S_MODE)
346
+ if (!mmu2s_triggered && last_cmd == MMU_CMD_C0 ) {
347
347
can_reset = false ;
348
348
// MMU ok received but filament sensor not triggered, retrying...
349
349
DEBUG_ECHOLNPGM (" MMU => 'ok' (filament not present in gears)" );
350
350
DEBUG_ECHOLNPGM (" MMU <= 'C0' (keep trying)" );
351
351
MMU2_COMMAND (" C0" );
352
352
}
353
- }
353
+ # endif
354
354
if (can_reset) {
355
355
DEBUG_ECHOLNPGM (" MMU => 'ok'" );
356
356
ready = true ;
You can’t perform that action at this time.
0 commit comments