build: clean up the mess of ifdefs from platform into a scons-configured hal

This commit is contained in:
Torrie Fischer
2023-12-20 10:47:26 +01:00
parent 236795917a
commit 23993a09cf
21 changed files with 376 additions and 410 deletions

View File

@@ -1,10 +1,10 @@
#include <Input.h>
#include <ArduinoLog.h>
#ifdef BOARD_ESP8266
#ifdef ESP8266
#include <ESP8266WiFi.h>
#endif
#ifdef BOARD_ESP32
#ifdef ESP32
#include <WiFi.h>
#endif
#include "Static.h"