Skip to content

Commit 674ab3b

Browse files
committed
Added error message when method of USB PLL initialization is unknown.
1 parent 8828e50 commit 674ab3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: hardware/arduino/cores/arduino/USBCore.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,8 @@ static inline void USB_ClockEnable()
656656
#else
657657
#error "Clock rate of F_CPU not supported"
658658
#endif
659+
#else
660+
#error "USB Chip not supported, please defined method of USB PLL initialization"
659661
#endif
660662

661663
PLLCSR |= (1<<PLLE);

0 commit comments

Comments
 (0)