Fix docs issues.

Update scripts to match latest rubocop.
Fix hex length of unity printf feature.
This commit is contained in:
Mark VanderVoord
2023-11-07 23:48:48 -05:00
parent a7639eeb54
commit 88069f045c
3 changed files with 19 additions and 16 deletions

View File

@@ -2029,7 +2029,7 @@ static void UnityPrintFVA(const char* format, va_list va)
UNITY_EXTRACT_ARG(UNITY_UINT, number, length_mod, va, unsigned int);
UNITY_OUTPUT_CHAR('0');
UNITY_OUTPUT_CHAR('x');
UnityPrintNumberHex(number, 8);
UnityPrintNumberHex(number, UNITY_MAX_NIBBLES);
break;
}
case 'p':
@@ -2037,7 +2037,7 @@ static void UnityPrintFVA(const char* format, va_list va)
const unsigned int number = va_arg(va, unsigned int);
UNITY_OUTPUT_CHAR('0');
UNITY_OUTPUT_CHAR('x');
UnityPrintNumberHex((UNITY_UINT)number, 8);
UnityPrintNumberHex((UNITY_UINT)number, UNITY_MAX_NIBBLES);
break;
}
case 'c':