bcm: fix patchram download

This commit is contained in:
Matthias Ringwald 2018-07-24 11:07:38 +02:00
parent 55e8029cd9
commit 8db5aeed23

View File

@ -166,7 +166,7 @@ static btstack_chipset_result_t chipset_next_command(uint8_t * hci_cmd_buffer){
} }
init_script_offset += param_len; init_script_offset += param_len;
} while (memcmp(hci_cmd_buffer, download_command, sizeof(download_command)) == 1); } while (memcmp(hci_cmd_buffer, download_command, sizeof(download_command)) == 0);
return BTSTACK_CHIPSET_VALID_COMMAND; return BTSTACK_CHIPSET_VALID_COMMAND;
} }
@ -314,4 +314,4 @@ void btstack_chipset_bcm_enable_init_script(int enabled){
} else { } else {
btstack_chipset_bcm.next_command = NULL; btstack_chipset_bcm.next_command = NULL;
} }
} }