1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00

make whole files ESP32 only

This commit is contained in:
Harald Barth 2022-08-03 08:57:34 +02:00
parent ee279c9a03
commit 172dbfd444
3 changed files with 2 additions and 4 deletions

View File

@ -23,7 +23,6 @@
#include "config.example.h" #include "config.example.h"
#endif #endif
/* /*
* © 2021 Neil McKechnie * © 2021 Neil McKechnie
* © 2020-2021 Chris Harlow, Harald Barth, David Cutting, * © 2020-2021 Chris Harlow, Harald Barth, David Cutting,

View File

@ -17,9 +17,8 @@
* along with CommandStation. If not, see <https://www.gnu.org/licenses/>. * along with CommandStation. If not, see <https://www.gnu.org/licenses/>.
*/ */
#include "config.h"
#include "defines.h"
#if defined(ARDUINO_ARCH_ESP32) #if defined(ARDUINO_ARCH_ESP32)
#include "defines.h"
#include "DIAG.h" #include "DIAG.h"
#include "DCCRMT.h" #include "DCCRMT.h"
#include "DCCWaveform.h" // for MAX_PACKET_SIZE #include "DCCWaveform.h" // for MAX_PACKET_SIZE

View File

@ -17,9 +17,9 @@
* along with CommandStation. If not, see <https://www.gnu.org/licenses/>. * along with CommandStation. If not, see <https://www.gnu.org/licenses/>.
*/ */
#if defined(ARDUINO_ARCH_ESP32)
#pragma once #pragma once
#include <Arduino.h> #include <Arduino.h>
#if defined(ARDUINO_ARCH_ESP32)
#include "driver/rmt.h" #include "driver/rmt.h"
#include "soc/rmt_reg.h" #include "soc/rmt_reg.h"
#include "soc/rmt_struct.h" #include "soc/rmt_struct.h"