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.cpp
- Revision:
- 82:0981b9ada820
- Parent:
- 80:4e5d306d695b
- Child:
- 85:dd8176285b6e
--- a/System/StaticDefs.cpp Thu Nov 08 22:30:32 2018 +0000
+++ b/System/StaticDefs.cpp Fri Feb 15 16:00:17 2019 +0000
@@ -19,7 +19,7 @@
//}
MODSERIAL & xbee() {
- static MODSERIAL xb(p9, p10); //XBee tx, rx pins
+ static MODSERIAL xb(p9, p10); //XBee tx, rx pins
//static MODSERIAL xb(USBTX, USBRX); //XBee tx, rx pins
return xb;
}
@@ -94,6 +94,10 @@
static SequenceController sequenceController;
return sequenceController;
}
+LegController & legController() {
+ static LegController legController;
+ return legController;
+}
Sensors & sensors() {
static Sensors sensors;