Add task handle for task notifications

This commit is contained in:
2025-12-10 00:24:44 +01:00
parent 9143bd0f76
commit 63c358fd87
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -14,6 +14,8 @@
static const char* TAG = "I2C";
TaskHandle_t i2c_task_handle = NULL;
i2c_master_bus_handle_t bus_handle;
i2c_master_dev_handle_t slave_handles[SLAVES_NUMBER];
uint8_t slave_count = 0;
+1 -1
View File
@@ -49,5 +49,5 @@ extern "C" void app_main(void)
xTaskCreate(watchdogTask, "watchdogs", 2048, NULL, configMAX_PRIORITIES-1, NULL);
xTaskCreate(wifiTask, "wifi", 4096, NULL, configMAX_PRIORITIES-4, NULL);
xTaskCreate(i2cTask, "i2c", 1024, NULL, configMAX_PRIORITIES-6, NULL);
xTaskCreate(i2cTask, "i2c", 1024, NULL, configMAX_PRIORITIES-6, &i2c_task_handle);
}