Skip to content

Commit cac301a

Browse files
committed
Fix some build errors
1 parent 85d6cb0 commit cac301a

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/DcsBios.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ do not come with their own build system, we are just putting everything into the
125125
#include "internal/Dimmer.h"
126126
#include "internal/BcdWheels.h"
127127
#include "internal/AnalogMultiPos.h"
128+
#include "internal/RotarySwitch.h"
128129

129130
namespace DcsBios {
130131
template<unsigned int first, unsigned int second>

src/internal/RotarySwitch.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
#include "PollingInput.h"
66

77
namespace DcsBios {
8-
enum StepsPerDetent {
9-
ONE_STEP_PER_DETENT = 1,
10-
TWO_STEPS_PER_DETENT = 2,
11-
FOUR_STEPS_PER_DETENT = 4,
12-
EIGHT_STEPS_PER_DETENT = 8,
13-
};
14-
158
template <unsigned long pollIntervalMs = POLL_EVERY_TIME, StepsPerDetent stepsPerDetent = ONE_STEP_PER_DETENT>
169
class RotarySwitchT : PollingInput, public ResettableInput {
1710
private:

0 commit comments

Comments
 (0)