Skip to content

Commit 7b1cff0

Browse files
authored
Make a little change so the enums are for sure uint8_T PInState and Trigger (#520)
1 parent 49de5d3 commit 7b1cff0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Inc/HALAL/Models/PinModel/Pin.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ enum OperationMode{
7272
ALTERNATIVE,
7373
};
7474

75-
enum PinState{
75+
enum PinState: uint8_t{
7676
OFF,
7777
ON
7878
};
7979

80-
enum TRIGGER{
80+
enum TRIGGER: uint8_t{
8181
RISING_EDGE = 1,
8282
FAILING_EDGE = 0,
8383
BOTH_EDGES = 2

0 commit comments

Comments
 (0)