Ignore:
Timestamp:
07/16/18 15:36:47 (6 years ago)
Author:
Sanahuja Guillaume
Message:

change watchdog timeout with gcs
remove unnecessary messages on bldc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/FrameworkManager_impl.cpp

    r243 r254  
    139139}
    140140
    141 void FrameworkManager_impl::ConnectionLost(void) {
     141void FrameworkManager_impl::SetConnectionLost(void) {
    142142  Err("connection lost\n");
    143143  if(gcs_watchdog!=NULL) gcs_watchdog->SafeStop();
     
    241241  // watchdog for connection with ground station
    242242  connection_lost = false;
    243   gcs_watchdog = new Watchdog(this, std::bind(&FrameworkManager_impl::ConnectionLost, this),watchdogTimeout);
     243  gcs_watchdog = new Watchdog(this, std::bind(&FrameworkManager_impl::SetConnectionLost, this),watchdogTimeout);
    244244  gcs_watchdog->Start();
    245245}
Note: See TracChangeset for help on using the changeset viewer.