From 86291cbec41ca4b9f53a73a6212d21fa9198c239 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sat, 11 May 2024 07:45:28 +0200 Subject: [PATCH] signal id of 0 does not work --- EXRAIL2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EXRAIL2.cpp b/EXRAIL2.cpp index f401eba..6980f03 100644 --- a/EXRAIL2.cpp +++ b/EXRAIL2.cpp @@ -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