From 8d02c6bbcb951f81ae8ae5252314db88ea122ddb Mon Sep 17 00:00:00 2001 From: Dominik Date: Sat, 25 Apr 2026 21:08:55 +0200 Subject: [PATCH 1/2] LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..417b2a4 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Janek + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 0eec761727a6f1ef6164536f183bc916db7b709c Mon Sep 17 00:00:00 2001 From: OyczE <46287652+OyczE@users.noreply.github.com> Date: Mon, 4 May 2026 17:49:44 +0200 Subject: [PATCH 2/2] 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 --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index 91e3add..cfa8f4d 100644 --- a/main/main.c +++ b/main/main.c @@ -22,7 +22,7 @@ #include "buzzer.h" #include "text_ui.h" -#define JANOS_ADV_VERSION "1.7.1" +#define JANOS_ADV_VERSION "1.7.2" // Screen timeout is now configurable via Settings (stored in NVS)