Skip to content

Commit 03ad4ea

Browse files
committed
cores/xmc: Write() with buf and size.
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
1 parent fb4834b commit 03ad4ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cores/xmc/Uart.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,10 @@ class Uart : public HardwareSerial {
9595
void IrqHandler(void);
9696

9797
private:
98+
bool serial_ready = false;
9899
static constexpr size_t BUF_LENGTH = 512;
99100
RingBufferN<BUF_LENGTH> _rx_buffer;
100-
bool serial_ready =false;
101101
};
102+
102103
extern Uart Serial;
103104
extern Uart Serial1;

0 commit comments

Comments
 (0)