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

@@ -7,9 +7,9 @@
#include "../../Sequencer.h"
#ifdef BOARD_ESP8266
#ifdef ESP8266
#include <ESP8266WiFi.h>
#elif defined(BOARD_ESP32)
#elif defined(ESP32)
#include <WiFi.h>
#endif