Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 51:f9a9508b7460, committed 2022-03-22
- Comitter:
- yezhong
- Date:
- Tue Mar 22 06:25:38 2022 +0000
- Parent:
- 50:3bda887997f0
- Commit message:
- 1
Changed in this revision
| FOC/foc.h | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 3bda887997f0 -r f9a9508b7460 FOC/foc.h --- a/FOC/foc.h Thu Nov 04 08:16:21 2021 +0000 +++ b/FOC/foc.h Tue Mar 22 06:25:38 2022 +0000 @@ -25,4 +25,5 @@ void velocity_control(ControllerStruct *controller); /*********WYC END 2021.11.04**********/ + #endif
diff -r 3bda887997f0 -r f9a9508b7460 main.cpp
--- a/main.cpp Thu Nov 04 08:16:21 2021 +0000
+++ b/main.cpp Tue Mar 22 06:25:38 2022 +0000
@@ -261,7 +261,7 @@
}
}
break;
-
+ /// wyc////
case SPEED_MODE: // Run SPEED control WYC 2021.11.04
if(state_change){
enter_speed_mode();
@@ -279,7 +279,7 @@
controller.timeout += 1;
}
break;
-
+ ////wyc////////
case SETUP_MODE:
if(state_change){
enter_setup_state();