Oops - when adding a sequence header to the SDP response, the size value needs to...
[pub/USBasp.git] / Demos / Host / Incomplete / BluetoothHost / Lib / ServiceDiscoveryProtocol.h
index 58f7d87..50d15ad 100644 (file)
                        *BufferPos += 1;
 
                        uint16_t* SizePos = (uint16_t*)*BufferPos;                              
-                       *SizePos = 0;
-
-                       **BufferPos += 2;
+                       *BufferPos += 2;
                        
+                       *SizePos = 0;
                        return SizePos;
                }