mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
AVR: Make setting of XDIV optional for platforms that support it
Put setting of XDIV into ifdef since not AVR platforms support it.
This commit is contained in:
parent
462307f4b7
commit
99aab135b2
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ void up_lowinit(void)
|
|||
#ifdef CONFIG_ARCH_CHIP_ATMEGA1284P
|
||||
CLKPR = 0x80;
|
||||
CLKPR = 0;
|
||||
#else
|
||||
#elif defined(XDIV)
|
||||
XDIV = 0;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue