2
0

platform_esp32.h 700 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Squeezelite for esp32
  3. *
  4. * (c) Sebastien 2019
  5. * Philippe G. 2019, philippe_44@outlook.com
  6. *
  7. * This software is released under the MIT License.
  8. * https://opensource.org/licenses/MIT
  9. *
  10. */
  11. #pragma once
  12. #include "esp_pthread.h"
  13. #ifndef CONFIG_SQUEEZELITE_ESP32_RELEASE_URL
  14. #define CONFIG_SQUEEZELITE_ESP32_RELEASE_URL "https://github.com/sle118/squeezelite-esp32/releases"
  15. #endif
  16. extern bool wait_for_wifi();
  17. extern void console_start();
  18. extern pthread_cond_t wifi_connect_suspend_cond;
  19. extern pthread_t wifi_connect_suspend_mutex;
  20. typedef enum {
  21. INFO,
  22. WARNING,
  23. ERROR
  24. } message_severity_t;
  25. extern void set_status_message(message_severity_t severity, const char * message);