From 0e2228fae626ec617a6a1f042ceb6dbdbd774558 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 22 Nov 2018 23:23:38 +0100 Subject: o Compiling everything again. --- include/ble/misc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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(value & 0x80); } + + explicit operator uint16_t() { + return value; + } }; } // namespace bluetooth -- cgit v1.2.3