Skip to content

Commit cf09d9d

Browse files
committed
Include windows.h
1 parent b6d3f98 commit cf09d9d

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

lib/hardware/COMChannel.h

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

4+
#ifdef HELLO_IM_A_PC
5+
46
#include "IOChannel.h"
57

6-
#ifdef HELLO_IM_A_PC
8+
#include <windows.h>
79

810
struct ChannelConfig
911
{

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+
46
#include "IOChannel.h"
57
#include "RS232ChannelProtocol.h"
68

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+
46
#include "IOChannel.h"
57
#include "RS232ChannelProtocol.h"
68

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

1111
struct ChannelConfig

0 commit comments

Comments
 (0)