Files

19 lines
420 B
C

#include "esp32_app_base.h"
esp_err_t sese_product_start(void);
void app_main(void)
{
const esp32_app_base_config_t config = {
.service_prefix = "SESE_",
#if CONFIG_IDF_TARGET_ESP32C3
.reset_gpio = 9,
#else
.reset_gpio = 0,
#endif
.reset_active_low = true,
.reset_hold_ms = 5000,
.product_start = sese_product_start,
};
(void)esp32_app_base_start(&config);
}