summaryrefslogtreecommitdiff
path: root/hid/lib/drivers/serial.h
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-03-04 19:41:12 +0200
committerMaxim Devaev <[email protected]>2023-03-04 19:41:12 +0200
commit79e1b457b7fff18577745cfbb0b96d03c60281eb (patch)
tree8a43c3ef0b0585922ea886591c8428df3e76e877 /hid/lib/drivers/serial.h
parent52ac8d93a18521f19dc45e9b4283417ed06f63d8 (diff)
refactoring
Diffstat (limited to 'hid/lib/drivers/serial.h')
-rw-r--r--hid/lib/drivers/serial.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hid/lib/drivers/serial.h b/hid/lib/drivers/serial.h
index d88c8fb4..8eaadaff 100644
--- a/hid/lib/drivers/serial.h
+++ b/hid/lib/drivers/serial.h
@@ -21,12 +21,14 @@
#pragma once
+
#ifdef CMD_SERIAL
#include "connection.h"
+
namespace DRIVERS {
#ifdef Serial
-#undef Serial
+# undef Serial
#endif
struct Serial : public Connection {
Serial() : Connection(CONNECTION) {}