app_main.c 334 B

12345678910111213141516
  1. /*
  2. * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Unlicense OR CC0-1.0
  5. */
  6. #include "unity.h"
  7. #include "nvs_flash.h"
  8. #include "nvs.h"
  9. #include "esp_err.h"
  10. void app_main(void)
  11. {
  12. ESP_ERROR_CHECK(nvs_flash_init());
  13. unity_run_menu();
  14. ESP_ERROR_CHECK(nvs_flash_deinit());
  15. }