Skip to content

Commit 07ba889

Browse files
committed
Change include order
1 parent f92aa6c commit 07ba889

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

lib/hardware/COMChannel.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#ifndef COMCHANNEL_H
22
#define COMCHANNEL_H
33

4-
#ifdef HELLO_IM_A_PC
5-
64
#include "IOChannel.h"
5+
#include "RS232ChannelProtocol.h"
6+
7+
#ifdef HELLO_IM_A_PC
78

89
#include <windows.h>
910

lib/hardware/ESP32UARTChannel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#ifndef ESP32UARTCHANNEL_H
22
#define ESP32UARTCHANNEL_H
33

4-
#ifdef ESP_PLATFORM
5-
64
#include "IOChannel.h"
75
#include "RS232ChannelProtocol.h"
86

7+
#ifdef ESP_PLATFORM
8+
99
#include <driver/uart.h>
1010
#include <hal/uart_types.h>
1111

lib/hardware/TTYChannel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#ifndef TTYCHANNEL_H
22
#define TTYCHANNEL_H
33

4-
#ifdef ITS_A_UNIX_SYSTEM_I_KNOW_THIS
5-
64
#include "IOChannel.h"
75
#include "RS232ChannelProtocol.h"
86

7+
#ifdef ITS_A_UNIX_SYSTEM_I_KNOW_THIS
8+
99
#define FN_UART_BUS ""
1010

1111
struct ChannelConfig

lib/hardware/UARTChannel.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef UARTCHANNEL_H
22
#define UARTCHANNEL_H
33

4-
#include "IOChannel.h"
54
#include "ESP32UARTChannel.h"
65
#include "TTYChannel.h"
76
#include "COMChannel.h"

0 commit comments

Comments
 (0)