diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-11-22 23:23:38 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-11-22 23:23:38 +0100 |
commit | 0e2228fae626ec617a6a1f042ceb6dbdbd774558 (patch) | |
tree | af9ca3948b37538f474987ec7e0cda5d554e7e9d /include/ble | |
parent | b6c6fdf032ff76f31ae37e3f0f20895684f9e9f0 (diff) | |
download | ble-toys-0e2228fae626ec617a6a1f042ceb6dbdbd774558.tar.gz ble-toys-0e2228fae626ec617a6a1f042ceb6dbdbd774558.tar.bz2 ble-toys-0e2228fae626ec617a6a1f042ceb6dbdbd774558.tar.xz ble-toys-0e2228fae626ec617a6a1f042ceb6dbdbd774558.zip |
o Compiling everything again.
Diffstat (limited to 'include/ble')
-rw-r--r-- | include/ble/misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ble/misc.h b/include/ble/misc.h index 70a19f5..563d039 100644 --- a/include/ble/misc.h +++ b/include/ble/misc.h @@ -133,6 +133,10 @@ public: bool extendedProperties() { return static_cast<bool>(value & 0x80); } + + explicit operator uint16_t() { + return value; + } }; } // namespace bluetooth |