diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-02-17 23:40:12 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-02-17 23:40:12 +0100 |
commit | dd6a36ea62b8c3e5f20f6d5fd432dec2275aac5a (patch) | |
tree | 40174dc2bd5ab8342da433eb4adea939c0df712f /ByteBuffer.h | |
parent | 08c735d7520e858868bc2c724572139998e39ada (diff) | |
download | ble-toys-dd6a36ea62b8c3e5f20f6d5fd432dec2275aac5a.tar.gz ble-toys-dd6a36ea62b8c3e5f20f6d5fd432dec2275aac5a.tar.bz2 ble-toys-dd6a36ea62b8c3e5f20f6d5fd432dec2275aac5a.tar.xz ble-toys-dd6a36ea62b8c3e5f20f6d5fd432dec2275aac5a.zip |
o Finally correct decoding of ATT response.
Diffstat (limited to 'ByteBuffer.h')
-rw-r--r-- | ByteBuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ByteBuffer.h b/ByteBuffer.h index d1d02bb..a572097 100644 --- a/ByteBuffer.h +++ b/ByteBuffer.h @@ -28,7 +28,7 @@ public: ByteBuffer(const uint8_t *bytes, size_t capacity, size_t zero, size_t size); inline size_t getSize() const { - DF << "end=" << (uint64_t)end << ", zero=" << (uint64_t)zero << ", size=" << (end - zero); +// DF << "end=" << (uint64_t)end << ", zero=" << (uint64_t)zero << ", size=" << (end - zero); return end - zero; } @@ -46,7 +46,7 @@ public: } inline void skip(size_t length) { - checkAndUpdateEnd(length); +// checkAndUpdateEnd(length); ptr += length; } |