Browse Source

Fix FYSETC CHEETAH V1.2 SD re-insert (#18474)

Include this board with other Cheetah stepper reset.
vanilla_fb_2.0.x
George Fu 5 years ago
committed by GitHub
parent
commit
992dc14c86
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Marlin/src/sd/cardreader.cpp

3
Marlin/src/sd/cardreader.cpp

@ -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"
@ -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?

Loading…
Cancel
Save