starting with led configuration
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
#include <stdio.h>
|
||||
#include "remote_control.h"
|
||||
|
||||
void func(void)
|
||||
{
|
||||
#include "esp_log.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
|
||||
void ble_init(void *args)
|
||||
{
|
||||
ESP_LOGI(pcTaskGetName(NULL), "Calling ble_init()");
|
||||
|
||||
while (1)
|
||||
{
|
||||
vTaskDelay(pdMS_TO_TICKS(100));
|
||||
}
|
||||
|
||||
ESP_LOGI(pcTaskGetName(NULL), "Exiting ble_init()");
|
||||
vTaskDelete(NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user