diff --git a/crazyflie_groundstation/src/crazyflieGroundStation.cpp b/crazyflie_groundstation/src/crazyflieGroundStation.cpp index f0754b35ab28874da6902b47e496201ef52ac67a..c83fdcfb1618e02bcf5d309f5942c5fc378bb8c7 100644 --- a/crazyflie_groundstation/src/crazyflieGroundStation.cpp +++ b/crazyflie_groundstation/src/crazyflieGroundStation.cpp @@ -203,10 +203,10 @@ int main(int argc, char** argv) { if(selectedPort.compare("n/a")) { serial::Serial * test_stand_ptr = new serial::Serial(selectedPort, 9600); test_stand_ptr->setTimeout(0, 200, 0, 200, 0); - crazyflie_info[i].cflieCopter->setTestStand(test_stand_ptr); + crazyflie_info[i].cflieCopter->testStand.setSerialInterface(test_stand_ptr); } else { - crazyflie_info[i].cflieCopter->setTestStand(NULL); + crazyflie_info[i].cflieCopter->testStand.setSerialInterface(NULL); } // Check the controller type