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:
- 80:4e5d306d695b
- Parent:
- 79:3688c3a0d7f4
- Child:
- 82:0981b9ada820
diff -r 3688c3a0d7f4 -r 4e5d306d695b System/StaticDefs.cpp --- a/System/StaticDefs.cpp Tue Oct 23 20:35:16 2018 +0000 +++ b/System/StaticDefs.cpp Wed Oct 24 16:07:10 2018 +0000 @@ -19,8 +19,8 @@ //} MODSERIAL & xbee() { - //static MODSERIAL xb(p9, p10); //XBee tx, rx pins - static MODSERIAL xb(USBTX, USBRX); //XBee tx, rx pins + static MODSERIAL xb(p9, p10); //XBee tx, rx pins + //static MODSERIAL xb(USBTX, USBRX); //XBee tx, rx pins return xb; } @@ -29,10 +29,10 @@ return local; } -SDFileSystem & sd_card() { - static SDFileSystem sd_card(p11, p12, p13, p14, "sd"); //SDFileSystem sd_card(MOSI, MISO, SCK, CS, "sd"); - return sd_card; -} +//SDFileSystem & sd_card() { +// static SDFileSystem sd_card(p11, p12, p13, p14, "sd"); //SDFileSystem sd_card(MOSI, MISO, SCK, CS, "sd"); +// return sd_card; +//} SpiADC & adc() { static SpiADC adc(p5,p6,p7,p8,LED2);