FastPWM test using NUCLEO_F411RE

Dependencies:   FastPWM mbed

Files at this revision

API Documentation at this revision

Comitter:
mimi3
Date:
Fri Oct 31 22:42:26 2014 +0900
Parent:
1:bb2f2609cbb2
Child:
3:ef79afa7b87d
Commit message:
fixed: compile error

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Oct 31 22:22:23 2014 +0900
+++ b/main.cpp	Fri Oct 31 22:42:26 2014 +0900
@@ -25,6 +25,7 @@
 
 #define DELAY_MS        1
 
+static TIM_HandleTypeDef TimHandle;
 
 /* PWM Timer Interrupt routine */
 void IntrPwmPeriod( void ){
@@ -40,7 +41,6 @@
     led = 0;
 }
 
-static TIM_HandleTypeDef TimHandle;
 
 int main() {