提交 3bf5c3b6 编写于 作者: M mculover666

fix ota bug

上级 142d3ebf
......@@ -109,12 +109,12 @@ typedef struct ota_ping_pong_partitions_st {
} ota_pp_pts_t;
typedef union ip_un {
ota_pt_t pts[3];
ota_pt_t pts[sizeof(ota_ip_pts_t) / sizeof(ota_pt_t)];
ota_ip_pts_t ip_pts;
} ip_u;
typedef union pp_un {
ota_pt_t pts[4];
ota_pt_t pts[sizeof(ota_pp_pts_t) / sizeof(ota_pt_t)];
ota_pp_pts_t pp_pts;
} pp_u;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册