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],