mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-30 07:21:20 +00:00
add missing argument
This commit is contained in:
parent
7dc59ca607
commit
2630d9191b
@ -446,9 +446,9 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe
|
||||
}
|
||||
device.pageScanRepetitionMode = packet [offset];
|
||||
offset += 2; // pageScanRepetitionMode + Reserved
|
||||
device.classOfDevice = READ_BT_24(offset);
|
||||
device.classOfDevice = READ_BT_24(packet, offset);
|
||||
offset += 3;
|
||||
device.clockOffset = READ_BT_16(offset) & 0x7fff;
|
||||
device.clockOffset = READ_BT_16(packet, offset) & 0x7fff;
|
||||
offset += 2;
|
||||
device.rssi = packet[offset];
|
||||
offset += 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user