tinance2-doorbot/include/main.h
2023-06-21 21:03:58 +02:00

49 lines
No EOL
1,017 B
C

#ifndef MAIN_H
#define MAIN_H
#include "hardware.h"
#include <Arduino.h>
#include "secrets.h"
#include "settings.h"
Settings settings;
#ifdef WIFI
#include "WiFi.h"
#endif
#ifdef LOCAL_ACL
#include "acl.h"
ACL acl = {
};
#endif
#ifdef WEB_SERVER
#include <AsyncTCP.h>
#include "ESPAsyncWebServer.h"
#include "SPIFFS.h"
#include <ArduinoJson.h>
#include <AsyncJson.h>
#ifdef WEB_SERIAL_DEBUG
#include <WebSerial.h>
#endif
#ifdef WEB_OTA_UPDATE
#include <AsyncElegantOTA.h>
#endif
#include "mainwebserver.h"
#ifdef LOCAL_ACL
#include "acl.h"
ACL acl = {
};
#ifdef LOCAL_ACL_API
#include "aclwebserver.h"
#endif
#endif
#endif
#ifdef BUZZER
#include "buzzer_ctl.h"
#endif
#endif