mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-27 06:35:20 +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
|
// bring bluetooth module into defined state
|
||||||
uint8_t reset[] = { 0x01, 0x03, 0x0c, 0x00};
|
uint8_t reset[] = { 0x01, 0x03, 0x0c, 0x00};
|
||||||
write(fd, &reset, sizeof(reset));
|
write(fd, reset, sizeof(reset));
|
||||||
usleep(100000); // 100 ms
|
usleep(100000); // 100 ms
|
||||||
write(fd, &reset, sizeof(reset));
|
write(fd, reset, sizeof(reset));
|
||||||
usleep(100000); // 100 ms
|
usleep(100000); // 100 ms
|
||||||
tcflush(fd, TCIOFLUSH);
|
tcflush(fd, TCIOFLUSH);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user