From 8feb79c71062294c5a83a37b6067f3b2f831034c Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sun, 5 Aug 2018 15:17:48 -0700 Subject: [PATCH] Constrain enum type to address warning about underlying type conversion. --- firmware/common/lpc43xx_cpp.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/common/lpc43xx_cpp.hpp b/firmware/common/lpc43xx_cpp.hpp index 92ca64ec1..b4c124cd8 100644 --- a/firmware/common/lpc43xx_cpp.hpp +++ b/firmware/common/lpc43xx_cpp.hpp @@ -108,7 +108,7 @@ inline void clear() { namespace cgu { -enum class CLK_SEL { +enum class CLK_SEL : uint8_t { RTC_32KHZ = 0x00, IRC = 0x01, ENET_RX_CLK = 0x02,