esp32_alarm_clock_main.c 333 B

123456789101112131415161718
  1. /*
  2. * SPDX-FileCopyrightText: 2022 Helmut Pozimski <helmut@pozimski.eu>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0-only
  5. */
  6. #include "wifi.h"
  7. #include <esp_system.h>
  8. #include <nvs_flash.h>
  9. void app_main(void) {
  10. ESP_ERROR_CHECK(nvs_flash_init());
  11. wifi_init();
  12. wifi_start();
  13. printf("Finished wifi initialization\n");
  14. }