fix type of return value from custom config save callback
This commit is contained in:
parent
610bc7c40a
commit
c726a10c4f
|
|
@ -53,7 +53,7 @@ idf_component_register(
|
|||
esp_http_server
|
||||
esp_eth
|
||||
esp_modem
|
||||
# ttn-esp32
|
||||
ttn-esp32
|
||||
|
||||
|
||||
PRIV_REQUIRES ${libespfs_PRIV_REQUIRES}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
#define MAX_JSON_DATA_SIZE 1024
|
||||
sys_error_code (*CustomPayloadTypeHandler)(data_message_t *MSG);
|
||||
esp_err_t (*CustomSaveConf)(void);
|
||||
void (*CustomSaveConf)(void);
|
||||
|
||||
void regCustomPayloadTypeHandler(sys_error_code (*payload_handler)(data_message_t *MSG))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user