2
0

squeezelite-ota.h 337 B

1234567891011121314151617181920
  1. /*
  2. * squeezelite-ota.h
  3. *
  4. * Created on: 25 sept. 2019
  5. * Author: sle11
  6. */
  7. #pragma once
  8. #include "esp_attr.h"
  9. #if RECOVERY_APPLICATION
  10. #define CODE_RAM_LOCATION
  11. #else
  12. #define CODE_RAM_LOCATION
  13. #endif
  14. esp_err_t start_ota(const char * bin_url, bool bFromAppMain);
  15. const char * ota_get_status();
  16. uint8_t ota_get_pct_complete();