Changeset 238 in flair-src for trunk/lib/FlairSensorActuator/src/HostEthController.cpp
- Timestamp:
- May 15, 2018, 4:41:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/HostEthController.cpp
r230 r238 142 142 } 143 143 144 bool HostEthController::Connect edWithTarget() {144 bool HostEthController::ConnectWithTarget() { 145 145 char message[1024]; 146 146 ssize_t sent, received; … … 181 181 GetButtonData(); 182 182 183 if (Connect edWithTarget()) {183 if (ConnectWithTarget()) { 184 184 // read for commands from the target (remote control state change 185 185 // requests such as rumble or led on/off) … … 201 201 } 202 202 } else { // try to connect even if host is not sending anything 203 Connect edWithTarget();203 ConnectWithTarget(); 204 204 } 205 205 // Thread::Info("Debug: exiting acquisition loop\n"); … … 291 291 WaitPeriod(); 292 292 if (hostEthController->meaningfulDataAvailable && 293 hostEthController->Connect edWithTarget()) {293 hostEthController->ConnectWithTarget()) { 294 294 // send the data 295 295 hostEthController->BuildDataFrame();
Note:
See TracChangeset
for help on using the changeset viewer.