Skip to content

Commit ec2bda8

Browse files
oganigljorgesg82
authored andcommitted
modified regex from cmake and Moved the enum so doesn't depend on a template
1 parent f8c628f commit ec2bda8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Inc/ST-LIB_LOW/Sensors/EncoderSensor/NewEncoderSensor.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
#include "C++Utilities/CppUtils.hpp"
1010

1111
namespace ST_LIB {
12-
12+
enum Direction : uint8_t { FORWARD = 0, BACKWARDS = 1 };
1313
template <typename EncoderType, size_t SAMPLES> struct EncoderSensor {
14-
enum Direction : uint8_t { FORWARD = 0, BACKWARDS = 1 };
14+
1515

1616
private:
1717
constexpr static size_t WINDOW_SIZE{(SAMPLES / 2) * 2};

0 commit comments

Comments
 (0)