diff options
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h')
-rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h b/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h index 58f7d87660..50d15ad3a6 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/ServiceDiscoveryProtocol.h @@ -120,10 +120,9 @@ *BufferPos += 1; uint16_t* SizePos = (uint16_t*)*BufferPos; - *SizePos = 0; - - **BufferPos += 2; + *BufferPos += 2; + *SizePos = 0; return SizePos; } |