diff options
Diffstat (limited to 'src/atsamd/samd51_clock.c')
-rw-r--r-- | src/atsamd/samd51_clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsamd/samd51_clock.c b/src/atsamd/samd51_clock.c index cf7402e5..2f769435 100644 --- a/src/atsamd/samd51_clock.c +++ b/src/atsamd/samd51_clock.c @@ -157,7 +157,7 @@ static void clock_init_internal(void) { // Enable USB clock recovery mode if applicable - if (CONFIG_USBSERIAL) { + if (CONFIG_USB) { // Temporarily switch main clock to internal 32K clock gen_clock(CLKGEN_MAIN, GCLK_GENCTRL_SRC_OSCULP32K); |