From 568a107082d5819d6e64c335dec10bfee03d89aa Mon Sep 17 00:00:00 2001 From: OyczE <46287652+OyczE@users.noreply.github.com> Date: Mon, 4 May 2026 17:50:52 +0200 Subject: [PATCH] Faster SD presence check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit feat: faster SD presence check via sd_status command ## Summary - Adds `sd_status` UART command to JanOS (stat("/sdcard") only, no mount) - Cardputer startup now sends `sd_status` instead of `list_sd` - Removes 1000ms pre-delay and shrinks timeout from 3000ms to 500ms - Worst-case startup SD check drops from ~21s (list_sd × 3 retries) to 500ms --- ESP32C5/main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP32C5/main/main.c b/ESP32C5/main/main.c index 320d0ac7..cdd52cc8 100644 --- a/ESP32C5/main/main.c +++ b/ESP32C5/main/main.c @@ -123,7 +123,7 @@ #endif //Version number -#define JANOS_VERSION "1.6.2" +#define JANOS_VERSION "1.6.3" #define OTA_GITHUB_OWNER "C5Lab" #define OTA_GITHUB_REPO "projectZero"