Browse Source
Suggested change to fix Due compile problem
pull/1/head
Roxy-3D
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Marlin/src/HAL/HAL_DUE/HAL_timers_Due.cpp
|
|
@ -121,7 +121,7 @@ void HAL_timer_disable_interrupt(const uint8_t timer_num) { |
|
|
|
pConfig->pTimerRegs->TC_CHANNEL[pConfig->channel].TC_IDR = TC_IDR_CPCS; |
|
|
|
} |
|
|
|
|
|
|
|
void HAL_timer_interrupt_enabled(const uint8_t timer_num) { |
|
|
|
bool HAL_timer_interrupt_enabled(const uint8_t timer_num) { |
|
|
|
const tTimerConfig * const pConfig = &TimerConfig[timer_num]; |
|
|
|
return pConfig->pTimerRegs->TC_CHANNEL[pConfig->channel].TC_IER == TC_IER_CPCS; |
|
|
|
} |
|
|
|