most functionality to splashdwon, find neutral and start mission. short timeouts still in code for testing, will adjust to go directly to sit_idle after splashdown
Dependencies: mbed MODSERIAL FATFileSystem
Diff: System/StaticDefs.cpp
- Revision:
- 74:d281aaef9766
- Parent:
- 73:f6f378311c8d
- Child:
- 76:c802e1da4179
--- a/System/StaticDefs.cpp Mon Jul 30 16:48:48 2018 +0000 +++ b/System/StaticDefs.cpp Tue Aug 14 21:06:48 2018 +0000 @@ -13,17 +13,17 @@ return pulse; } -MODSERIAL & pc() { - //static MODSERIAL pc(USBTX, USBRX); - static MODSERIAL pc(p9, p10); //XBee tx, rx pins - return pc; +//MODSERIAL & pc() { +// //static MODSERIAL pc(USBTX, USBRX); +// return pc; +//} + +MODSERIAL & xbee() { + static MODSERIAL xb(p9, p10); //XBee tx, rx pins + //static MODSERIAL xb(USBTX, USBRX); //XBee tx, rx pins + return xb; } -//MODSERIAL & xb() { -// static MODSERIAL xb(p9, p10); //XBee tx, rx pins -// return xb; -//} - LocalFileSystem & local() { static LocalFileSystem local("local"); return local;