copy of PR #8991 code

Formatting tweaks

correct array initialization & remove test code
This commit is contained in:
Bob-the-Kuhn committed 2018-01-02 11:17:46 -06:00
1 parent d190c702de
commit 5574fad69c
3 files changed
+309 -318

No files matched your search

+5
View File
@@ -66,6 +66,11 @@ typedef uint32_t hal_timer_t;
#define HAL_STEP_TIMER_ISR extern "C" void TIMER0_IRQHandler(void)
#define HAL_TEMP_TIMER_ISR extern "C" void TIMER1_IRQHandler(void)
// PWM timer
#define HAL_PWM_TIMER LPC_TIM3
#define HAL_PWM_TIMER_ISR extern "C" void TIMER3_IRQHandler(void)
#define HAL_PWM_TIMER_IRQn TIMER3_IRQn
// --------------------------------------------------------------------------
// Types
// --------------------------------------------------------------------------