Skip to content
This repository was archived by the owner on Nov 19, 2022. It is now read-only.

Commit 4b8fbc8

Browse files
committed
Add __cplusplus guard
1 parent f687047 commit 4b8fbc8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cores/scirocco/UartDevice.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
#pragma once
2121

22+
#ifdef __cplusplus
23+
2224
#include <zephyr.h>
2325
#include <uart.h>
2426
#include "HardwareSerial.h"
@@ -72,3 +74,5 @@ class Uart : public HardwareSerial
7274
SercomParityMode extractParity(uint8_t config);
7375
#endif
7476
};
77+
78+
#endif

0 commit comments

Comments
 (0)