Skip to content

Commit

Permalink
Fix FYSETC CHEETAH V1.2 SD re-insert (#18474)
Browse files Browse the repository at this point in the history
Include this board with other Cheetah stepper reset.
  • Loading branch information
GerogeFu authored Jul 1, 2020
1 parent 21cc924 commit 992dc14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Marlin/src/sd/cardreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include "../module/printcounter.h"
#include "../gcode/queue.h"
#include "../module/configuration_store.h"
#include "../module/stepper/indirection.h"

#if ENABLED(EMERGENCY_PARSER)
#include "../feature/e_parser.h"
Expand Down Expand Up @@ -402,7 +403,7 @@ void CardReader::manage_media() {
if (stat) { // Media Inserted
safe_delay(500); // Some boards need a delay to get settled
mount(); // Try to mount the media
#if MB(FYSETC_CHEETAH, FYSETC_AIO_II)
#if MB(FYSETC_CHEETAH, FYSETC_CHEETAH_V12, FYSETC_AIO_II)
reset_stepper_drivers(); // Workaround for Cheetah bug
#endif
if (!isMounted()) stat = 0; // Not mounted?
Expand Down

0 comments on commit 992dc14

Please sign in to comment.