Files
squeezelite-esp32/components/squeezelite-ota/squeezelite-ota.h

21 lines
337 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
#else
#define CODE_RAM_LOCATION
#endif
esp_err_t start_ota(const char * bin_url, bool bFromAppMain);
const char * ota_get_status();
uint8_t ota_get_pct_complete();