This commit is contained in:
J. Nick Koston 2023-06-05 17:14:06 -05:00
parent c22ab99931
commit d30f9f2f92
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ namespace ratgdo {
void RATGDOComponent::printRollingCode() void RATGDOComponent::printRollingCode()
{ {
char code[CODE_LENGTH]; char code[40];
snprintf(code, sizeof(code), snprintf(code, sizeof(code),
"%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X", "%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X%01X",
this->rollingCode[0], this->rollingCode[0],