mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 12:36:52 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user