rearrange some includes and defines

This commit is contained in:
arovak 2021-04-05 23:34:54 +02:00
parent c818ad8680
commit b95e2d78f1
2 changed files with 6 additions and 4 deletions

View File

@ -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"

View File

@ -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)
{ {