SD card basic R/W check + folder/file presence check (#2085)

* SD card basic RW check + folder structure check

* Default LED blink repeat 2x

* Abort booting when SD basic R/W check failed

* SD R/W error+missing folder,file > load reduced UI
This commit is contained in:
Slider0007
2023-02-28 18:25:27 +01:00
committed by GitHub
parent 18e96d62a6
commit 2dd2d03f6c
6 changed files with 220 additions and 21 deletions

View File

@@ -26,7 +26,7 @@ void task_StatusLED(void *pvParameter)
gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT); // Set the GPIO as a push/pull output
gpio_set_level(BLINK_GPIO, 1);// LED off
for (int i=0; i<3; ) // Default: repeat 3 times
for (int i=0; i<2; ) // Default: repeat 2 times
{
if (!StatusLEDDataInt.bInfinite)
++i;