Commit b241a66b authored by Daniel Kampert's avatar Daniel Kampert 👷

Replace magic numbers in XMega sysclock driver with defines

parent 31daee70
......@@ -247,7 +247,7 @@
SysClock_EnableClock(CLOCK_SOURCE_INT2MHZ);
SysClock_SetClockSource(CLOCK_SOURCE_INT2MHZ);
#else
#warning "F_CPU not valid! Use default 2 MHz clock."
#warning "F_CPU not valid! Use default 2 MHz clock."
SysClock_EnableClock(CLOCK_SOURCE_INT2MHZ);
SysClock_SetClockSource(CLOCK_SOURCE_INT2MHZ);
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment