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++;