mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-18 19:21:54 +00:00
use correct addressing for local array
This commit is contained in:
parent
33c51d36da
commit
03c9080d80
@ -162,9 +162,9 @@ static int h4_open(void *transport_config){
|
||||
|
||||
// bring bluetooth module into defined state
|
||||
uint8_t reset[] = { 0x01, 0x03, 0x0c, 0x00};
|
||||
write(fd, &reset, sizeof(reset));
|
||||
write(fd, reset, sizeof(reset));
|
||||
usleep(100000); // 100 ms
|
||||
write(fd, &reset, sizeof(reset));
|
||||
write(fd, reset, sizeof(reset));
|
||||
usleep(100000); // 100 ms
|
||||
tcflush(fd, TCIOFLUSH);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user