Commit 298b6242 authored by Ian McInerney's avatar Ian McInerney

Moved controller query to be after console logfile opening

parent b8edac07
......@@ -64,8 +64,6 @@ CCrazyflie::CCrazyflie(CCrazyRadio *crRadio, int nRadioChannel, int quadNum, dou
m_bufferEnd = 0;
this->queryControllerType();
// Open the file
try {
char fileName[255];
......@@ -75,6 +73,8 @@ CCrazyflie::CCrazyflie(CCrazyRadio *crRadio, int nRadioChannel, int quadNum, dou
std::cout << "Error opening console file for " << +(m_quadNum+1);
exit(-1);
}
this->queryControllerType();
}
CCrazyflie::~CCrazyflie() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment