diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-12-29 17:09:35 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-01-07 19:34:31 -0500 |
commit | 02c558652f4f5a34655635d56e581ae03d9f42b7 (patch) | |
tree | 73fc26c7d45315da2b8aa72ed474b66ed3ec2ffc /src/sam3/sam4s_timer.c | |
parent | 75ad16ea1a3ffcb7026c69f6f1ea78197b055779 (diff) | |
download | kutter-02c558652f4f5a34655635d56e581ae03d9f42b7.tar.gz kutter-02c558652f4f5a34655635d56e581ae03d9f42b7.tar.xz kutter-02c558652f4f5a34655635d56e581ae03d9f42b7.zip |
sam3: Add USB support for the SAM4 "UDP" hardware
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sam3/sam4s_timer.c')
-rw-r--r-- | src/sam3/sam4s_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sam3/sam4s_timer.c b/src/sam3/sam4s_timer.c index a586dd64..a051f08c 100644 --- a/src/sam3/sam4s_timer.c +++ b/src/sam3/sam4s_timer.c @@ -93,7 +93,7 @@ timer_init(void) enable_pclock(ID_TC0); tc->TC_CMR = TC_CMR_WAVE | TC_CMR_WAVSEL_UP | TC_CMR_TCCLKS_TIMER_CLOCK2; tc->TC_IER = TC_IER_CPAS; - NVIC_SetPriority(TC0_IRQn, 1); + NVIC_SetPriority(TC0_IRQn, 2); NVIC_EnableIRQ(TC0_IRQn); timer_kick(); timer_reset(); |