소스 검색

Suggested change to fix Due compile problem

Roxy-3D 6 년 전
부모
커밋
7c469c0712
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/src/HAL/HAL_DUE/HAL_timers_Due.cpp

+ 1
- 1
Marlin/src/HAL/HAL_DUE/HAL_timers_Due.cpp 파일 보기

@@ -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…
취소
저장