Skip to content

Commit 13d1e88

Browse files
committed
Fix improper attribute placement.
1 parent 9627b8e commit 13d1e88

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/NimBLECharacteristic.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,7 @@ class NimBLECharacteristic : public NimBLELocalValueAttribute {
298298
private:
299299
uint16_t m_connHandle{BLE_HS_CONN_HANDLE_NONE};
300300
uint8_t m_flags{0};
301-
};
302-
__attribute__((packed));
301+
} __attribute__((packed));
303302

304303
using SubPeerArray = std::array<SubPeerEntry, MYNEWT_VAL(BLE_MAX_CONNECTIONS)>;
305304
SubPeerArray getSubscribers() const { return m_subPeers; }

0 commit comments

Comments
 (0)