Files
@ ef80f76e5ec7
Branch filter:
Location: protofusion-esp32-template/main/main.c - annotation
ef80f76e5ec7
951 B
text/plain
Remove unused helpers
f33558095284 f33558095284 f33558095284 f33558095284 f33558095284 f33558095284 f33558095284 f33558095284 f33558095284 f33558095284 f33558095284 f33558095284 f33558095284 f33558095284 75e9d12deff7 75e9d12deff7 9785a2ea3aa8 36aad00d10b4 f33558095284 f33558095284 75e9d12deff7 75e9d12deff7 f33558095284 f33558095284 75e9d12deff7 f33558095284 f33558095284 75e9d12deff7 75e9d12deff7 f33558095284 75e9d12deff7 f33558095284 f33558095284 9785a2ea3aa8 9785a2ea3aa8 f33558095284 f33558095284 f33558095284 75e9d12deff7 75e9d12deff7 95a3c655fb8e 75e9d12deff7 9785a2ea3aa8 95a3c655fb8e f33558095284 36aad00d10b4 36aad00d10b4 36aad00d10b4 95a3c655fb8e 95a3c655fb8e 95a3c655fb8e 95a3c655fb8e 95a3c655fb8e f33558095284 | //
// Protofusion ESP32S3 Template
//
#include <stdint.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_event.h"
#include "esp_log.h"
#include "nvs_flash.h"
#include "sdkconfig.h"
#include "wifi.h"
#include "usb_cdc.h"
#include "can.h"
#include "display.h"
// Private variables
static const char *TAG = "main";
// Application entry point
void app_main(void)
{
// Initialize usb-cdc interface
usb_cdc_init();
// Initialize NVS
esp_err_t ret = nvs_flash_init();
if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) {
ESP_ERROR_CHECK(nvs_flash_erase());
ret = nvs_flash_init();
}
ESP_ERROR_CHECK(ret);
// Connect to wifi
//wifi_init();
// Initialize canbus
//can_init();
// Initialize display
display_init();
while(1)
{
display_process();
}
}
|