From 0c3a3d0a4c6f8b157b852f307495e7f723aa72aa Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 9 Jun 2023 16:23:25 -0500 Subject: [PATCH] loop --- components/ratgdo/ratgdo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 60f196f..db198be 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -248,7 +248,8 @@ namespace ratgdo { reading = true; return; } - } else { + } + if (reading) { this->rxRollingCode[byteCount] = serData; byteCount++;