copy of PR #8991 code

Formatting tweaks

correct array initialization & remove test code
This commit is contained in:
Bob-the-Kuhn
2018-01-01 16:27:19 -06:00
parent d190c702de
commit 5574fad69c
3 changed files with 309 additions and 318 deletions

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
// --------------------------------------------------------------------------