use correct addressing for local array

This commit is contained in:
matthias.ringwald@gmail.com 2015-02-12 09:29:32 +00:00
parent 33c51d36da
commit 03c9080d80

View File

@ -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);