cleaned from unused headers
This commit is contained in:
parent
70fab5f04b
commit
2c9cd679f3
|
|
@ -1 +1 @@
|
||||||
Subproject commit b4cb524ea18dc882bd727c12197f2b702878ef3b
|
Subproject commit 3244ac8eb9501f2c558f152c0da8a75530c6b77e
|
||||||
15
main/main.c
15
main/main.c
|
|
@ -1,28 +1,17 @@
|
||||||
#include <CronTimers.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "webguiapp.h"
|
#include "webguiapp.h"
|
||||||
#include "cron.h"
|
|
||||||
#include "jobs.h"
|
|
||||||
#include "AppConfiguration.h"
|
#include "AppConfiguration.h"
|
||||||
|
|
||||||
void UserMQTTEventHndlr(int idx, void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data);
|
void UserMQTTEventHndlr(int idx, void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data);
|
||||||
void SaveUserConf();
|
void SaveUserConf();
|
||||||
|
|
||||||
sys_error_code CustomPayloadHandler(data_message_t *MSG)
|
|
||||||
{
|
|
||||||
return SYS_ERROR_HANDLER_NOT_SET;
|
|
||||||
}
|
|
||||||
|
|
||||||
const char my_context_data[] = "MyContextDataPassedIntoMQTTHandler";
|
|
||||||
|
|
||||||
void app_main(void)
|
void app_main(void)
|
||||||
{
|
{
|
||||||
regUserEventHandler(&UserMQTTEventHndlr, (void*) my_context_data);
|
regUserEventHandler(&UserMQTTEventHndlr, NULL);
|
||||||
regCustomSaveConf(&SaveUserConf);
|
regCustomSaveConf(&SaveUserConf);
|
||||||
regCustomPayloadTypeHandler(&CustomPayloadHandler);
|
regCustomPayloadTypeHandler(NULL);
|
||||||
|
|
||||||
RegAppVariables();
|
RegAppVariables();
|
||||||
RegObjects();
|
RegObjects();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@
|
||||||
* \copyright Apache License, Version 2.0
|
* \copyright Apache License, Version 2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <CronTimers.h>
|
|
||||||
#include "webguiapp.h"
|
#include "webguiapp.h"
|
||||||
#include "AppConfiguration.h"
|
#include "AppConfiguration.h"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user