Browse Source

Tweak timer16_Sequence_t

Scott Lahteine 5 years ago
parent
commit
07021c85c8
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Marlin/src/HAL/HAL_DUE/ServoTimers.h

+ 3
- 2
Marlin/src/HAL/HAL_DUE/ServoTimers.h View File

@@ -87,7 +87,7 @@
87 87
   #define HANDLER_FOR_TIMER5  TC0_Handler
88 88
 #endif
89 89
 
90
-typedef enum { 
90
+typedef enum : unsigned char {
91 91
   #ifdef _useTimer1
92 92
     _timer1,
93 93
   #endif
@@ -103,4 +103,5 @@ typedef enum {
103 103
   #ifdef _useTimer5
104 104
     _timer5,
105 105
   #endif
106
-  _Nbr_16timers } timer16_Sequence_t;
106
+  _Nbr_16timers
107
+} timer16_Sequence_t;

Loading…
Cancel
Save