mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-01 20:05:49 +00:00
FreeRTOS
This commit is contained in:
@@ -89,6 +89,8 @@ void app_main(void)
|
|||||||
|
|
||||||
|
|
||||||
void task1(void *pvParameters) {
|
void task1(void *pvParameters) {
|
||||||
|
int x = 0;
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
if (xSemaphoreTake(xMutex, 1500)) {
|
if (xSemaphoreTake(xMutex, 1500)) {
|
||||||
printf("Task 1 is running\n");
|
printf("Task 1 is running\n");
|
||||||
|
Reference in New Issue
Block a user