Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nall-chan committed Dec 13, 2023
1 parent 54e6fc4 commit 8088ef6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DHCPSniffer/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@ protected function SendEvent()
$this->SetValue('EVENT', true);
break;
case 1: // IMPULSE
$this->SetValue('EVENT', true);
$this->SetValue('IMPULSE', true);
IPS_Sleep(1);
$this->SetValue('EVENT', false);
$this->SetValue('IMPULSE', false);
break;
case 2: // Toggle
$this->SetValue('EVENT', !$this->GetValue('EVENT'));
$this->SetValue('TOGGLE', !$this->GetValue('TOGGLE'));
break;
}
}
Expand Down

0 comments on commit 8088ef6

Please sign in to comment.