From d30f9f2f92f55ae692a0cc5fcfa29d76f86916d9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 17:14:06 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 563111c..3dfb896 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -254,7 +254,7 @@ namespace ratgdo { void RATGDOComponent::printRollingCode() { - char code[CODE_LENGTH]; + char code[40]; snprintf(code, sizeof(code), "%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X", this->rollingCode[0],