Skip to content

Commit

Permalink
signal id of 0 does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
habazut committed May 11, 2024
1 parent 66791b1 commit 86291cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXRAIL2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ void RMFT2::kill(const FSH * reason, int operand) {

int16_t RMFT2::getSignalSlot(int16_t id) {

if (id >= 0) {
if (id > 0) {
int sigslot = 0;
int16_t sighandle = 0;
// Trundle down the signal list until we reach the end
Expand Down

0 comments on commit 86291cb

Please sign in to comment.