Skip to content

Commit 167aa64

Browse files
committed
boards: hellen: fix SD unmount request
1 parent 5e8f5b7 commit 167aa64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

firmware/config/boards/hellen/hellen_common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void hellenDisableEn(const char *msg) {
132132
#endif // EFI_CONFIGURATION_STORAGE
133133
do {
134134
chThdSleepMilliseconds(10);
135-
if (sdCardGetCurrentMode() == SD_MODE_IDLE) {
135+
if (sdCardGetCurrentMode() == SD_MODE_UNMOUNT) {
136136
break;
137137
}
138138
timeout -= 10;

0 commit comments

Comments
 (0)