diff options
Diffstat (limited to 'src/atsamd/clock.c')
-rw-r--r-- | src/atsamd/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsamd/clock.c b/src/atsamd/clock.c index a60fc1eb..496ae56e 100644 --- a/src/atsamd/clock.c +++ b/src/atsamd/clock.c @@ -89,7 +89,7 @@ clock_init_internal(void) uint32_t fine = GET_FUSE(FUSES_DFLL48M_FINE_CAL); SYSCTRL->DFLLVAL.reg = (SYSCTRL_DFLLVAL_COARSE(coarse) | SYSCTRL_DFLLVAL_FINE(fine)); - if (CONFIG_USBSERIAL) { + if (CONFIG_USB) { // Enable USB clock recovery mode uint32_t mul = DIV_ROUND_CLOSEST(FREQ_MAIN, 1000); SYSCTRL->DFLLMUL.reg = (SYSCTRL_DFLLMUL_FSTEP(10) |