25 lines
483 B
C
25 lines
483 B
C
/**
|
|
* @file main.c
|
|
* @brief AliceRC ESP32/ESP32S3 遥控器主程序入口
|
|
*/
|
|
#include <stdio.h>
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/task.h"
|
|
#include "esp_log.h"
|
|
#include "app_main.h"
|
|
|
|
static const char *TAG = "AliceRC";
|
|
|
|
void app_main(void)
|
|
{
|
|
ESP_LOGI(TAG, "AliceRC Transmitter v1.0 starting...");
|
|
|
|
// Initialize all subsystems
|
|
app_init();
|
|
|
|
// Main loop runs in app_main_task
|
|
while (1) {
|
|
vTaskDelay(pdMS_TO_TICKS(1000));
|
|
}
|
|
}
|