mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2026-01-30 22:32:51 +03:00
test1
This commit is contained in:
@@ -6,21 +6,22 @@
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
|
||||
|
||||
extern TaskHandle_t xHandle_task_StatusLED;
|
||||
|
||||
enum StatusLedSource {
|
||||
WLAN_CONN = 1,
|
||||
enum StatusLedSource
|
||||
{
|
||||
WLAN_CONN = 1,
|
||||
WLAN_INIT = 2,
|
||||
SDCARD_INIT = 3,
|
||||
SDCARD_CHECK = 4,
|
||||
SDCARD_CHECK = 4,
|
||||
CAM_INIT = 5,
|
||||
PSRAM_INIT = 6,
|
||||
TIME_CHECK = 7,
|
||||
AP_OR_OTA = 8
|
||||
};
|
||||
|
||||
struct StatusLEDData {
|
||||
struct StatusLEDData
|
||||
{
|
||||
int iSourceBlinkCnt = 1;
|
||||
int iCodeBlinkCnt = 1;
|
||||
int iBlinkTime = 250;
|
||||
@@ -28,7 +29,7 @@ struct StatusLEDData {
|
||||
bool bProcessingRequest = false;
|
||||
};
|
||||
|
||||
void StatusLED(StatusLedSource _eSource, int _iCode, bool _bInfinite);
|
||||
void StatusLEDOff(void);
|
||||
void set_status_led(StatusLedSource _eSource, int _iCode, bool _bInfinite);
|
||||
void set_status_led_off(void);
|
||||
|
||||
#endif //STATUSLED_H
|
||||
#endif // STATUSLED_H
|
||||
|
||||
Reference in New Issue
Block a user