Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
profezzorn committed Dec 25, 2023
1 parent 1b70b8a commit 1b102f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions blades/drive_logic.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define BLADES_DRIVE_LOGIC_H

#include "led_interface.h"
#include "../common/common.h"

template<class LED, typename Enable=void>
struct ColorSelector {
Expand Down
4 changes: 1 addition & 3 deletions common/capabilities.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#ifndef COMMON_CAPABILITIES_H
#define COMMON_CAPABILITIES_H

#include <type_traits>

template<typename T> struct ToVoid { typedef void Type; };
#include "common.h"

#define CREATE_ENUM_CHECKER(ID) \
template <class ENUM> \
Expand Down
2 changes: 2 additions & 0 deletions common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ const char install_time[] = __DATE__ " " __TIME__
#define PROFFIEOS_ASSERT(X) do {} while(0)
#endif

template<typename T> struct ToVoid { typedef void Type; };

#endif

0 comments on commit 1b102f4

Please sign in to comment.