From 6239044717f1b850e52f6a6f86380f4460e88649 Mon Sep 17 00:00:00 2001 From: strawmanbobi Date: Thu, 25 Jul 2019 11:00:13 +0800 Subject: [PATCH] fixed decoder build error in CC26XX example --- .../Source/Application/ir_decoder/src/ir_ac_parse_parameter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc26xx-example/ti/BLE-CC264x/ble_cc26xx/Projects/ble/SimpleBLEPeripheral-IREXT/CC26xx/Source/Application/ir_decoder/src/ir_ac_parse_parameter.c b/cc26xx-example/ti/BLE-CC264x/ble_cc26xx/Projects/ble/SimpleBLEPeripheral-IREXT/CC26xx/Source/Application/ir_decoder/src/ir_ac_parse_parameter.c index 77cc351..f88aae3 100644 --- a/cc26xx-example/ti/BLE-CC264x/ble_cc26xx/Projects/ble/SimpleBLEPeripheral-IREXT/CC26xx/Source/Application/ir_decoder/src/ir_ac_parse_parameter.c +++ b/cc26xx-example/ti/BLE-CC264x/ble_cc26xx/Projects/ble/SimpleBLEPeripheral-IREXT/CC26xx/Source/Application/ir_decoder/src/ir_ac_parse_parameter.c @@ -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] == ',') {