mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 09:57:50 +00:00
Constrain enum type to address warning about underlying type conversion.
This commit is contained in:
@@ -108,7 +108,7 @@ inline void clear() {
|
|||||||
|
|
||||||
namespace cgu {
|
namespace cgu {
|
||||||
|
|
||||||
enum class CLK_SEL {
|
enum class CLK_SEL : uint8_t {
|
||||||
RTC_32KHZ = 0x00,
|
RTC_32KHZ = 0x00,
|
||||||
IRC = 0x01,
|
IRC = 0x01,
|
||||||
ENET_RX_CLK = 0x02,
|
ENET_RX_CLK = 0x02,
|
||||||
|
Reference in New Issue
Block a user