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

Include this board with other Cheetah stepper reset.
This commit is contained in:
George Fu 2020-07-01 14:13:00 +08:00 committed by GitHub
parent 21cc924b75
commit 992dc14c86
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,7 @@
#include "../module/printcounter.h" #include "../module/printcounter.h"
#include "../gcode/queue.h" #include "../gcode/queue.h"
#include "../module/configuration_store.h" #include "../module/configuration_store.h"
#include "../module/stepper/indirection.h"
#if ENABLED(EMERGENCY_PARSER) #if ENABLED(EMERGENCY_PARSER)
#include "../feature/e_parser.h" #include "../feature/e_parser.h"
@ -402,7 +403,7 @@ void CardReader::manage_media() {
if (stat) { // Media Inserted if (stat) { // Media Inserted
safe_delay(500); // Some boards need a delay to get settled safe_delay(500); // Some boards need a delay to get settled
mount(); // Try to mount the media 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 reset_stepper_drivers(); // Workaround for Cheetah bug
#endif #endif
if (!isMounted()) stat = 0; // Not mounted? if (!isMounted()) stat = 0; // Not mounted?