前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
strncpy(version, ver, IOTX_FIRMWARE_VER_LEN) -> strncpy(version, ver, len);