Tobi's ubw test branch
Dependencies: mavlink_bridge mbed
Fork of AIT_UWB_Range by
Diff: main.cpp
- Revision:
- 51:e9391d04af00
- Parent:
- 50:50b8aea54a51
- Child:
- 52:94688f414dcd
--- a/main.cpp Thu Nov 26 21:42:51 2015 +0000 +++ b/main.cpp Thu Nov 26 22:24:17 2015 +0000 @@ -25,12 +25,10 @@ const int NUM_OF_DW_UNITS = 1; const PinName DW_CS_PINS[NUM_OF_DW_UNITS] = {D10}; #else -// const bool MAVLINK_COMM = true; - const bool MAVLINK_COMM = false; + const bool MAVLINK_COMM = true; +// const bool MAVLINK_COMM = false; const int NUM_OF_DW_UNITS = 2; const PinName DW_CS_PINS[2] = {D10, D9}; - //const int NUM_OF_DW_UNITS = 1; - //const PinName DW_CS_PINS[NUM_OF_DW_UNITS] = {D10}; #endif PC pc(USBTX, USBRX, 115200); // USB UART Terminal @@ -258,6 +256,7 @@ if (!MAVLINK_COMM) pc.printf("Entering main loop\r\n"); + while (true) { //for (int i = 0; i < 10; ++i) { if (ANCHOR) {