File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,14 +156,14 @@ typedef enum
156156// but the enumeration is made regardless so user code doesn't need
157157// ifdefs or lengthy comments explaining the different situations --
158158// the clock-sourcing functions just compile to nothing on SAMD21.
159- typedef enum SercomClockSource {
159+ typedef enum {
160160 SERCOM_CLOCK_SOURCE_FCPU, // F_CPU clock (GCLK0)
161161 SERCOM_CLOCK_SOURCE_48M, // 48 MHz peripheral clock (GCLK1) (standard)
162162 SERCOM_CLOCK_SOURCE_100M, // 100 MHz peripheral clock (GCLK2)
163163 SERCOM_CLOCK_SOURCE_32K, // XOSC32K clock (GCLK3)
164164 SERCOM_CLOCK_SOURCE_12M, // 12 MHz peripheral clock (GCLK4)
165165 SERCOM_CLOCK_SOURCE_NO_CHANGE // Leave clock source setting unchanged
166- };
166+ } SercomClockSource ;
167167
168168class SERCOM
169169{
You can’t perform that action at this time.
0 commit comments