From 07021c85c84c0d54f5c35d0d1b58ad7d54f292b8 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 30 May 2019 16:09:23 -0500 Subject: [PATCH] Tweak timer16_Sequence_t --- Marlin/src/HAL/HAL_DUE/ServoTimers.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Marlin/src/HAL/HAL_DUE/ServoTimers.h b/Marlin/src/HAL/HAL_DUE/ServoTimers.h index 8b1ed4c730..84129ef2b6 100644 --- a/Marlin/src/HAL/HAL_DUE/ServoTimers.h +++ b/Marlin/src/HAL/HAL_DUE/ServoTimers.h @@ -87,7 +87,7 @@ #define HANDLER_FOR_TIMER5 TC0_Handler #endif -typedef enum { +typedef enum : unsigned char { #ifdef _useTimer1 _timer1, #endif @@ -103,4 +103,5 @@ typedef enum { #ifdef _useTimer5 _timer5, #endif - _Nbr_16timers } timer16_Sequence_t; + _Nbr_16timers +} timer16_Sequence_t;