mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
bcm: fix patchram download
This commit is contained in:
parent
55e8029cd9
commit
8db5aeed23
@ -166,7 +166,7 @@ static btstack_chipset_result_t chipset_next_command(uint8_t * hci_cmd_buffer){
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
@ -314,4 +314,4 @@ void btstack_chipset_bcm_enable_init_script(int enabled){
|
||||
} else {
|
||||
btstack_chipset_bcm.next_command = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user