fix: syscap_codec

Signed-off-by: cuican <cuican23@h-partners.com>
This commit is contained in:
cuican
2026-05-13 11:50:55 +08:00
parent 4623cf8e6d
commit b5f0fb165a
+3 -1
View File
@@ -110,7 +110,9 @@ static char* CalculateAllStringLength(char osCapArray[PCID_MAIN_U32][U32_TO_STR_
static char* GetSystemCapability()
{
bool retBool;
int retError, priOutputLen, priCapArrayCnt;
int retError;
int priOutputLen = 0;
int priCapArrayCnt = 0;
char osOutput[SINGLE_SYSCAP_LEN] = {};
uint32_t *osCapU32 = nullptr;