Skip to content

Commit 644001e

Browse files
authored
Merge pull request #114 from iysheng/master
【完善】bt_module.c 代码格式
2 parents 20929bc + d3f0987 commit 644001e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/art_pi_factory/modules/bt_module/bt_module.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ int bluetooth_firmware_check(void)
3636
LOG_E("%s partition is not exist, please check your configuration!", BT_FIRMWARE_PARTITION_NAME);
3737
return -1;
3838
}
39-
{ //update the bt_image
39+
else
40+
{ //try to update the bt_image
4041
int result = 0;
4142
/* verify OTA download partition */
4243
if (rt_ota_init() >= 0 && rt_ota_part_fw_verify(fal_partition_find(RT_OTA_DL_PART_NAME)) >= 0)

0 commit comments

Comments
 (0)