Ignore:
Timestamp:
05/15/18 16:41:02 (4 years ago)
Author:
Bayard Gildas
Message:

correction sémaphore. bloquant tout ça...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/HostEthController.cpp

    r230 r238  
    142142}
    143143
    144 bool HostEthController::ConnectedWithTarget() {
     144bool HostEthController::ConnectWithTarget() {
    145145  char message[1024];
    146146  ssize_t sent, received;
     
    181181      GetButtonData();
    182182
    183       if (ConnectedWithTarget()) {
     183      if (ConnectWithTarget()) {
    184184        // read for commands from the target (remote control state change
    185185        // requests such as rumble or led on/off)
     
    201201      }
    202202    } else { // try to connect even if host is not sending anything
    203       ConnectedWithTarget();
     203      ConnectWithTarget();
    204204    }
    205205    // Thread::Info("Debug: exiting acquisition loop\n");
     
    291291    WaitPeriod();
    292292    if (hostEthController->meaningfulDataAvailable &&
    293         hostEthController->ConnectedWithTarget()) {
     293        hostEthController->ConnectWithTarget()) {
    294294      // send the data
    295295      hostEthController->BuildDataFrame();
Note: See TracChangeset for help on using the changeset viewer.