阅读oem部分代码 添加一些注释

This commit is contained in:
2024-10-22 14:20:46 +08:00
parent e8adba1df2
commit 29e987e536
4 changed files with 12 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ const uint8_t g_iot_sec_root_sm2_pub_v1[IOT_SEC_ROOT_SM2_PUB_LEN] = {
const uint8_t bcast_mac[IOT_MAC_ADDR_LEN] = { 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF };
// 在偏移 offset 字节之后读取
uint32_t iot_oem_read_mtd(uint8_t *buf, uint32_t size, uint32_t offset)
{
uint32_t ret = ERR_FAIL;