mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-07 11:48:48 +00:00
FreeRTOS
This commit is contained in:
@@ -103,6 +103,8 @@ void task1(void *pvParameters) {
|
||||
}
|
||||
|
||||
void task2(void *pvParameters) {
|
||||
int x = 0;
|
||||
|
||||
while (1) {
|
||||
if (xSemaphoreTake(xMutex, 1500)) {
|
||||
printf("Task 2 is running\n");
|
||||
|
Reference in New Issue
Block a user