Changeset 269 in flair-src for trunk/tools/FlairGCS/src/DataRemote.cpp


Ignore:
Timestamp:
10/04/18 13:53:11 (3 years ago)
Author:
Sanahuja Guillaume
Message:

flairgcs:
speed up processing time when receiving datas from uav
triger watchdog while receiving datas from uav
(avoids connection lost in uav)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/DataRemote.cpp

    r234 r269  
    8888int DataRemote::ReceiveSize(void) { return receivesize; }
    8989
    90 void DataRemote::XmlSetup(QDomElement dom) {
    91   refresh_rate = dom.attribute("period").toInt() / 1000.;
    92   if (dom.attribute("enabled") == "1")
     90void DataRemote::XmlSetup(QDomElement *dom) {
     91  refresh_rate = dom->attribute("period").toInt() / 1000.;
     92  if (dom->attribute("enabled") == "1")
    9393    auto_refresh = true;
    9494  else
Note: See TracChangeset for help on using the changeset viewer.