summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hid/lib/drivers-avr/factory.cpp1
-rw-r--r--hid/lib/drivers-stm32/factory.cpp1
-rw-r--r--hid/lib/drivers/board.h1
-rw-r--r--hid/src/main.cpp2
4 files changed, 2 insertions, 3 deletions
diff --git a/hid/lib/drivers-avr/factory.cpp b/hid/lib/drivers-avr/factory.cpp
index a4934673..b4c18273 100644
--- a/hid/lib/drivers-avr/factory.cpp
+++ b/hid/lib/drivers-avr/factory.cpp
@@ -79,5 +79,4 @@ namespace DRIVERS {
return new Board(DRIVERS::DUMMY);
}
}
-
}
diff --git a/hid/lib/drivers-stm32/factory.cpp b/hid/lib/drivers-stm32/factory.cpp
index 247f388f..60145a4d 100644
--- a/hid/lib/drivers-stm32/factory.cpp
+++ b/hid/lib/drivers-stm32/factory.cpp
@@ -82,5 +82,4 @@ namespace DRIVERS {
return new Board(DRIVERS::DUMMY);
}
}
-
}
diff --git a/hid/lib/drivers/board.h b/hid/lib/drivers/board.h
index 0dfd425c..b0981e71 100644
--- a/hid/lib/drivers/board.h
+++ b/hid/lib/drivers/board.h
@@ -24,6 +24,7 @@
#include "driver.h"
+
namespace DRIVERS {
struct Board : public Driver {
using Driver::Driver;
diff --git a/hid/src/main.cpp b/hid/src/main.cpp
index 791ec3ad..991d8c26 100644
--- a/hid/src/main.cpp
+++ b/hid/src/main.cpp
@@ -49,7 +49,7 @@ static Outputs _out;
#ifdef HID_DYNAMIC
static bool _reset_required = false;
static unsigned long _reset_timestamp;
-#define RESET_TIMEOUT (500000)
+# define RESET_TIMEOUT 500000
#endif