fixed decoder build error in CC26XX example

This commit is contained in:
strawmanbobi
2019-07-25 11:00:13 +08:00
parent 7998c1dc0b
commit 6239044717

View File

@@ -1137,7 +1137,7 @@ INT8 parse_swing_info(struct tag_head *tag, t_swing_info *si)
// count how many swing types are there
si->type = SWING_TYPE_NORMAL;
si->mode_count = 1;
for (i = 0; i < tag->len; i++)
for (int i = 0; i < tag->len; i++)
{
if (tag->p_data[i] == ',')
{