cleaned from unused headers

This commit is contained in:
Bogdan Pilyugin 2023-10-22 10:50:02 +02:00
parent 70fab5f04b
commit 2c9cd679f3
3 changed files with 3 additions and 15 deletions

@ -1 +1 @@
Subproject commit b4cb524ea18dc882bd727c12197f2b702878ef3b
Subproject commit 3244ac8eb9501f2c558f152c0da8a75530c6b77e

View File

@ -1,28 +1,17 @@
#include <CronTimers.h>
#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>
#include "webguiapp.h"
#include "cron.h"
#include "jobs.h"
#include "AppConfiguration.h"
void UserMQTTEventHndlr(int idx, void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data);
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)
{
regUserEventHandler(&UserMQTTEventHndlr, (void*) my_context_data);
regUserEventHandler(&UserMQTTEventHndlr, NULL);
regCustomSaveConf(&SaveUserConf);
regCustomPayloadTypeHandler(&CustomPayloadHandler);
regCustomPayloadTypeHandler(NULL);
RegAppVariables();
RegObjects();

View File

@ -21,7 +21,6 @@
* \copyright Apache License, Version 2.0
*/
#include <CronTimers.h>
#include "webguiapp.h"
#include "AppConfiguration.h"