|
|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
#include "driver/gpio.h" |
|
|
|
#include "esp_log.h" |
|
|
|
#include "port.h" |
|
|
|
|
|
|
|
#define GPIO_DEBUG_LIGHT 12 |
|
|
|
#define GPIO_POWER_LIGHT 12 |
|
|
@ -95,6 +96,12 @@ void T_wifi_state_light_init(wifi_state_light_structer_t *wifi_state_light_struc |
|
|
|
|
|
|
|
void T_debug_light_schedule(void) |
|
|
|
{ |
|
|
|
static uint32_t debug_light_time; |
|
|
|
if (port_haspassedms(debug_light_time) > 300) |
|
|
|
{ |
|
|
|
T_debug_light_toggle_level(); |
|
|
|
debug_light_time = port_get_ticket(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
void T_light_schedule(void) |
|
|
|