mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-09 02:21:07 +00:00
FreeRTOS
This commit is contained in:
@@ -30,6 +30,7 @@ typedef struct {
|
|||||||
} SensorsData;
|
} SensorsData;
|
||||||
|
|
||||||
static int cntdn;
|
static int cntdn;
|
||||||
|
static SensorsData s_data;
|
||||||
|
|
||||||
void task1(void *pvParameters);
|
void task1(void *pvParameters);
|
||||||
void task2(void *pvParameters);
|
void task2(void *pvParameters);
|
||||||
@@ -39,6 +40,12 @@ void restart_task(void *pvParameters);
|
|||||||
void app_main(void)
|
void app_main(void)
|
||||||
{
|
{
|
||||||
cntdn = 10;
|
cntdn = 10;
|
||||||
|
s_data = (SensorsData) {
|
||||||
|
.num1 = 0,
|
||||||
|
.num2 = 0,
|
||||||
|
.num3 = 0,
|
||||||
|
};
|
||||||
|
|
||||||
printf("Hello world!\n");
|
printf("Hello world!\n");
|
||||||
|
|
||||||
/* Print chip information */
|
/* Print chip information */
|
||||||
|
Reference in New Issue
Block a user