mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
rm useless code
This commit is contained in:
parent
f0bfffda09
commit
93358ee4ae
@ -408,7 +408,7 @@ bool UAVTalk::receiveObject(quint8 type, quint32 objId, quint16 instId, quint8*
|
||||
|
||||
UAVObject* obj = NULL;
|
||||
bool error = false;
|
||||
bool allInstances = (instId == ALL_INSTANCES? true : false);
|
||||
bool allInstances = (instId == ALL_INSTANCES);
|
||||
|
||||
// Process message type
|
||||
switch (type) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user