Skip to content

Commit

Permalink
Fixed INDI watchdog logic after refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Schmitt committed Feb 24, 2024
1 parent 908e894 commit c96eeda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/indi-device-watchdog/indi_auto_connector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ void IndiAutoConnectorT::addIndiDevice(INDI::BaseDevice indiBaseDevice) {
}



void IndiAutoConnectorT::removeIndiDevice(INDI::BaseDevice indiBaseDevice) {
std::string indiDeviceName = indiBaseDevice.getDeviceName();

Expand Down Expand Up @@ -199,7 +200,7 @@ bool IndiAutoConnectorT::requestConnectionStateChange(INDI::BaseDevice indiBaseD

std::cerr << "Sending INDI device connect request for device ' '" << indiBaseDevice.getDeviceName() << "'..." << std::endl;

if (isDeviceValid(indiBaseDevice)) {
if (! isDeviceValid(indiBaseDevice)) {
return false;
}

Expand Down

0 comments on commit c96eeda

Please sign in to comment.