projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for the new MEGA B series devices.
[pub/lufa.git]
/
LUFA
/
Platform
/
XMEGA
/
ClockManagement.h
diff --git
a/LUFA/Platform/XMEGA/ClockManagement.h
b/LUFA/Platform/XMEGA/ClockManagement.h
index
357ed7b
..
1305d0e
100644
(file)
--- a/
LUFA/Platform/XMEGA/ClockManagement.h
+++ b/
LUFA/Platform/XMEGA/ClockManagement.h
@@
-282,8
+282,8
@@
{
NVM.CMD = NVM_CMD_READ_CALIB_ROW_gc;
DFLLRC32M.CALA = pgm_read_byte(offsetof(NVM_PROD_SIGNATURES_t, USBRCOSCA));
{
NVM.CMD = NVM_CMD_READ_CALIB_ROW_gc;
DFLLRC32M.CALA = pgm_read_byte(offsetof(NVM_PROD_SIGNATURES_t, USBRCOSCA));
- NVM.CMD = NVM_CMD_READ_CALIB_ROW_gc;
DFLLRC32M.CALB = pgm_read_byte(offsetof(NVM_PROD_SIGNATURES_t, USBRCOSC));
DFLLRC32M.CALB = pgm_read_byte(offsetof(NVM_PROD_SIGNATURES_t, USBRCOSC));
+ NVM.CMD = 0;
}
DFLLRC32M.CTRL = DFLL_ENABLE_bm;
}
DFLLRC32M.CTRL = DFLL_ENABLE_bm;
@@
-359,7
+359,7
@@
GlobalInterruptDisable();
CCP = CCP_IOREG_gc;
GlobalInterruptDisable();
CCP = CCP_IOREG_gc;
- CLK
.
CTRL = ClockSourceMask;
+ CLK
_
CTRL = ClockSourceMask;
SetGlobalInterruptMask(CurrentGlobalInt);
SetGlobalInterruptMask(CurrentGlobalInt);