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.
Diff: include/motor.hpp
- Revision:
- 44:3566c5699ba6
- Parent:
- 43:68faf056ed5c
- Child:
- 49:3aaa790800ad
--- a/include/motor.hpp Tue Nov 26 21:26:44 2013 +0000
+++ b/include/motor.hpp Wed Nov 27 02:51:39 2013 +0000
@@ -37,11 +37,11 @@
float pos;
float angle;
float voltage;
- int mode;
+ volatile int mode;
- float dAngularVelocity;
- float dAngle;
- float dTorque;
+ volatile float dAngularVelocity;
+ volatile float dAngle;
+ volatile float dTorque;
};
#endif
\ No newline at end of file
