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.
Dependencies: mbed MODSERIAL FATFileSystem
Diff: System/StaticDefs.hpp
- Revision:
- 16:3363b9f14913
- Parent:
- 11:3b241ecb75ed
- Child:
- 17:7c16b5671d0e
diff -r 2a8cfd3f1cf5 -r 3363b9f14913 System/StaticDefs.hpp --- a/System/StaticDefs.hpp Tue Oct 31 22:19:20 2017 +0000 +++ b/System/StaticDefs.hpp Mon Nov 06 22:57:56 2017 +0000 @@ -9,6 +9,7 @@ #include "omegaPX209.hpp" #include "PosVelFilter.hpp" #include "OuterLoop.hpp" +#include "StateMachine.hpp" //Declare static global variables using 'construct on use' idiom to ensure they are always constructed correctly // and avoid "static initialization order fiasco". @@ -31,6 +32,8 @@ IMU & imu(); OuterLoop & pitchLoop(); +StateMachine & stateMachine(); + // leds for debugging, global for use in any function DigitalOut & led1(); DigitalOut & led2();