Changeset 254 in flair-src for trunk/tools/FlairGCS/src/UdtSocket.cpp


Ignore:
Timestamp:
Jul 16, 2018, 3:36:47 PM (3 years ago)
Author:
Sanahuja Guillaume
Message:

change watchdog timeout with gcs
remove unnecessary messages on bldc

File:
1 edited

Legend:

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

    r253 r254  
    6767void UdtSocket::heartbeat(void) {
    6868  char data = WATCHDOG_HEADER;
    69   quint64 sent=write(&data, 1,HEARTBEAT_TIMER,false);
     69  quint64 sent=write(&data, 1,HEARTBEAT_TIMER,true);
    7070  if (sent != 1 && UDT::getlasterror().getErrorCode() == 2001) {
    7171    heartbeat_timer->stop();
Note: See TracChangeset for help on using the changeset viewer.