From dc5d4a4dc1de0343fba8a032375fd25ff6da8fc8 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Fri, 24 May 2019 11:45:15 +0900 Subject: [PATCH] Specified the correct SD card type --- src/AutoConnectUploadImpl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AutoConnectUploadImpl.h b/src/AutoConnectUploadImpl.h index c67ad16..bb5ff2d 100644 --- a/src/AutoConnectUploadImpl.h +++ b/src/AutoConnectUploadImpl.h @@ -126,13 +126,13 @@ class AutoConnectUploadSD : public AutoConnectUploadHandler { uint8_t oflag = *mode == 'w' ? FILE_WRITE : FILE_READ; uint8_t sdType = _media->type(); switch (sdType) { - case SD_CARD_TYPE_SD1: + case sdfat::SD_CARD_TYPE_SD1: sdVerify = (const char*)"MMC"; break; - case SD_CARD_TYPE_SD2: + case sdfat::SD_CARD_TYPE_SD2: sdVerify = (const char*)"SDSC"; break; - case SD_CARD_TYPE_SDHC: + case sdfat::SD_CARD_TYPE_SDHC: sdVerify = (const char*)"SDHC"; break; default: