mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-09 21:45:54 +00:00
fix typo
This commit is contained in:
parent
5620298627
commit
667aa496c7
@ -123,7 +123,7 @@ static void packet_handler (uint8_t packet_type, uint8_t *packet, uint16_t size)
|
||||
int offset = 3;
|
||||
for (i=0; i<numResponses && deviceCount < MAX_DEVICES;i++){
|
||||
bt_flip_addr(addr, &packet[offset]);
|
||||
offset =+ 6;
|
||||
offset += 6;
|
||||
int index = getDeviceIndexForAddress(addr);
|
||||
if (index >= 0) continue; // already in our list
|
||||
memcpy(devices[deviceCount].address, addr, 6);
|
||||
@ -230,7 +230,7 @@ static void btstack_setup(void){
|
||||
|
||||
|
||||
// main == setup
|
||||
int main(void)
|
||||
int btstack_main(void)
|
||||
{
|
||||
hw_setup();
|
||||
btstack_setup();
|
||||
|
@ -119,7 +119,7 @@ static void packet_handler (uint8_t packet_type, uint8_t *packet, uint16_t size)
|
||||
int offset = 3;
|
||||
for (i=0; i<numResponses && deviceCount < MAX_DEVICES;i++){
|
||||
bt_flip_addr(addr, &packet[offset]);
|
||||
offset =+ 6;
|
||||
offset += 6;
|
||||
int index = getDeviceIndexForAddress(addr);
|
||||
if (index >= 0) continue; // already in our list
|
||||
memcpy(devices[deviceCount].address, addr, 6);
|
||||
|
Loading…
x
Reference in New Issue
Block a user