mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
21 lines
401 B
C
21 lines
401 B
C
/*
|
|
* squeezelite-ota.h
|
|
*
|
|
* Created on: 25 sept. 2019
|
|
* Author: sle11
|
|
*/
|
|
|
|
#pragma once
|
|
#include "esp_attr.h"
|
|
#if RECOVERY_APPLICATION
|
|
#define CODE_RAM_LOCATION IRAM_ATTR
|
|
#else
|
|
#define CODE_RAM_LOCATION
|
|
#endif
|
|
|
|
esp_err_t CODE_RAM_LOCATION start_ota(const char * bin_url, bool bFromAppMain);
|
|
const char * CODE_RAM_LOCATION ota_get_status();
|
|
uint8_t CODE_RAM_LOCATION ota_get_pct_complete();
|
|
|
|
|