FASTPWM
Diff: Device/FastPWM_STM_TIM_PinOut.cpp
- Revision:
- 24:1f451660d8c0
- Parent:
- 21:aa2884be5496
- Child:
- 25:8b1bf34c72aa
diff -r ed690a19dc55 -r 1f451660d8c0 Device/FastPWM_STM_TIM_PinOut.cpp --- a/Device/FastPWM_STM_TIM_PinOut.cpp Sun Apr 19 19:35:50 2015 +0000 +++ b/Device/FastPWM_STM_TIM_PinOut.cpp Sat Jun 20 20:03:16 2015 +0000 @@ -47,7 +47,7 @@ #endif #if defined TARGET_NUCLEO_F103RB -__IO uint16_t* getChannel(TIM_TypeDef* pwm, PinName pin) { +__IO uint32_t* getChannel(TIM_TypeDef* pwm, PinName pin) { switch (pin) { // Channels 1 : PWMx/1 case PA_6: case PA_8: case PA_15: case PB_4: case PC_6: case PB_13: