From 79e1b457b7fff18577745cfbb0b96d03c60281eb Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sat, 4 Mar 2023 19:41:12 +0200 Subject: refactoring --- hid/lib/drivers/serial.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hid/lib/drivers/serial.h') 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) {} -- cgit v1.2.3