mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 20:56:37 +00:00
rearrange some includes and defines
This commit is contained in:
parent
c818ad8680
commit
b95e2d78f1
@ -7,13 +7,14 @@
|
|||||||
#include <Esp.h>
|
#include <Esp.h>
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
|
|
||||||
|
#include "hasp_conf.h"
|
||||||
|
|
||||||
#include "../device.h"
|
#include "../device.h"
|
||||||
#include "esp32.h"
|
#include "esp32.h"
|
||||||
|
|
||||||
#include "driver/adc.h"
|
#include "driver/adc.h"
|
||||||
#include "esp_adc_cal.h"
|
#include "esp_adc_cal.h"
|
||||||
|
|
||||||
#include "hasp_conf.h"
|
|
||||||
#include "hasp_debug.h"
|
#include "hasp_debug.h"
|
||||||
#include "hasp/hasp_utilities.h"
|
#include "hasp/hasp_utilities.h"
|
||||||
|
|
||||||
|
@ -6,9 +6,6 @@
|
|||||||
// #ifdef USE_CONFIG_OVERRIDE
|
// #ifdef USE_CONFIG_OVERRIDE
|
||||||
// #include "user_config_override.h"
|
// #include "user_config_override.h"
|
||||||
// #endif
|
// #endif
|
||||||
#ifndef MYTZ
|
|
||||||
#define MYTZ "EST5EDT,M3.2.0/2,M11.1.0"
|
|
||||||
#endif
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include "ArduinoLog.h"
|
#include "ArduinoLog.h"
|
||||||
|
|
||||||
@ -20,6 +17,10 @@
|
|||||||
#include "hasp/hasp.h"
|
#include "hasp/hasp.h"
|
||||||
#include "sys/svc/hasp_mdns.h"
|
#include "sys/svc/hasp_mdns.h"
|
||||||
|
|
||||||
|
#ifndef MYTZ
|
||||||
|
#define MYTZ "EST5EDT,M3.2.0/2,M11.1.0"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HASP_USE_ETHERNET > 0 || HASP_USE_WIFI > 0
|
#if HASP_USE_ETHERNET > 0 || HASP_USE_WIFI > 0
|
||||||
void networkStart(void)
|
void networkStart(void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user