Skip to content

Commit

Permalink
chore: replaced constexpr static with constexpr inline in Gatt.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
daantimmer authored and magi-arun committed Nov 21, 2023
1 parent 31b408a commit 5f8644a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions services/ble/Gatt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ namespace services

namespace uuid
{
constexpr static AttAttribute::Uuid16 deviceInformationService{ 0x180A };
constexpr static AttAttribute::Uuid16 systemId{ 0x2A23 };
constexpr static AttAttribute::Uuid16 modelNumber{ 0x2A24 };
constexpr static AttAttribute::Uuid16 serialNumber{ 0x2A25 };
constexpr static AttAttribute::Uuid16 firmwareRevision{ 0x2A26 };
constexpr static AttAttribute::Uuid16 hardwareRevision{ 0x2A27 };
constexpr static AttAttribute::Uuid16 softwareRevision{ 0x2A28 };
constexpr static AttAttribute::Uuid16 manufacturerName{ 0x2A29 };
constexpr static AttAttribute::Uuid16 ieeeCertification{ 0x2A2A };
constexpr static AttAttribute::Uuid16 pnpId{ 0x2A50 };
constexpr inline AttAttribute::Uuid16 deviceInformationService{ 0x180A };
constexpr inline AttAttribute::Uuid16 systemId{ 0x2A23 };
constexpr inline AttAttribute::Uuid16 modelNumber{ 0x2A24 };
constexpr inline AttAttribute::Uuid16 serialNumber{ 0x2A25 };
constexpr inline AttAttribute::Uuid16 firmwareRevision{ 0x2A26 };
constexpr inline AttAttribute::Uuid16 hardwareRevision{ 0x2A27 };
constexpr inline AttAttribute::Uuid16 softwareRevision{ 0x2A28 };
constexpr inline AttAttribute::Uuid16 manufacturerName{ 0x2A29 };
constexpr inline AttAttribute::Uuid16 ieeeCertification{ 0x2A2A };
constexpr inline AttAttribute::Uuid16 pnpId{ 0x2A50 };
}

class GattCharacteristic
Expand Down

0 comments on commit 5f8644a

Please sign in to comment.