Browse Source

Suggested change to fix Due compile problem

Roxy-3D 6 years ago
parent
commit
7c469c0712
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/HAL/HAL_DUE/HAL_timers_Due.cpp

+ 1
- 1
Marlin/src/HAL/HAL_DUE/HAL_timers_Due.cpp View File

@@ -121,7 +121,7 @@ void HAL_timer_disable_interrupt(const uint8_t timer_num) {
121 121
   pConfig->pTimerRegs->TC_CHANNEL[pConfig->channel].TC_IDR = TC_IDR_CPCS;
122 122
 }
123 123
 
124
-void HAL_timer_interrupt_enabled(const uint8_t timer_num) {
124
+bool HAL_timer_interrupt_enabled(const uint8_t timer_num) {
125 125
   const tTimerConfig * const pConfig = &TimerConfig[timer_num];
126 126
   return pConfig->pTimerRegs->TC_CHANNEL[pConfig->channel].TC_IER == TC_IER_CPCS;
127 127
 }

Loading…
Cancel
Save