mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Constrain enum type to address warning about underlying type conversion.
This commit is contained in:
parent
f08e80e156
commit
8feb79c710
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user