Skip to content

Commit 555c23b

Browse files
committed
Jira-501: CurieTimer.resume() did not re-enable interrupt at the controller.
1 parent 0eca3b3 commit 555c23b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/CurieTimerOne/CurieTimer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ void CurieTimer::resume(void)
139139
aux_reg_write(timerCountAddr, pauseCount);
140140
aux_reg_write(timerControlAddr, pauseCntrl);
141141
currState = RUNNING;
142+
143+
// Re-enable timer interrupt once timer is reloaded with previous stop values.
144+
interrupt_enable(timerIrqNum);
142145
}
143146

144147

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy