My forked repository. DISCO_F407VG, DISCO_F303VC, DISCO_F051R8 and DISCO_F100RB maybe added.

Dependents:   FastPWM-DISCO-test

Fork of FastPWM by Erik -

Revision:
24:3467fafa8a21
Parent:
22:db9c0cf445e2
diff -r ed690a19dc55 -r 3467fafa8a21 Device/FastPWM_STM_TIM.cpp
--- a/Device/FastPWM_STM_TIM.cpp	Sun Apr 19 19:35:50 2015 +0000
+++ b/Device/FastPWM_STM_TIM.cpp	Thu Feb 11 03:35:05 2016 +0900
@@ -4,11 +4,7 @@
 
 #include "FastPWM.h"
 
-#if defined TARGET_NUCLEO_F103RB
-typedef __IO uint16_t* CHANNEL_P_T;
-#else
 typedef __IO uint32_t* CHANNEL_P_T;
-#endif
 
 #define PWM_CHANNEL     (**(CHANNEL_P_T*)fast_obj)
 #define PWM_TIMER       ((TIM_TypeDef*)_pwm.pwm)
@@ -49,4 +45,4 @@
     return reqScale;
 }
 
-#endif
\ No newline at end of file
+#endif