File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3997,7 +3997,7 @@ void Vehicle::startTimerRevertAllowTakeover()
3997
3997
// Disconnect any previous connections to avoid multiple handlers
3998
3998
disconnect (&_timerRevertAllowTakeover, &QTimer::timeout, nullptr , nullptr );
3999
3999
4000
- connect (&_timerRevertAllowTakeover, &QTimer::timeout, [this ](){
4000
+ connect (&_timerRevertAllowTakeover, &QTimer::timeout, this , [this ](){
4001
4001
if (MAVLinkProtocol::instance ()->getSystemId () == _sysid_in_control) {
4002
4002
this ->requestOperatorControl (false );
4003
4003
}
@@ -4041,7 +4041,7 @@ void Vehicle::requestOperatorControlStartTimer(int requestTimeoutMsecs)
4041
4041
_timerRequestOperatorControl.setInterval (requestTimeoutMsecs);
4042
4042
// Disconnect any previous connections to avoid multiple handlers
4043
4043
disconnect (&_timerRequestOperatorControl, &QTimer::timeout, nullptr , nullptr );
4044
- connect (&_timerRequestOperatorControl, &QTimer::timeout, [this ](){
4044
+ connect (&_timerRequestOperatorControl, &QTimer::timeout, this , [this ](){
4045
4045
_sendControlRequestAllowed = true ;
4046
4046
emit sendControlRequestAllowedChanged (true );
4047
4047
});
You can’t perform that action at this time.
0 commit comments