diff options
author | JF <jf@codingfield.com> | 2020-08-17 16:31:00 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-08-17 16:31:00 +0200 |
commit | 83f6d7d81b80809de0bc850a0b445bc035098dba (patch) | |
tree | 1e0187c2f622f17fafe15dad709089d5d04180cb /src/Components/Ble/DeviceInformationService.h | |
parent | 18686ac2cbf6b97dd0250234ce128bd9ad350d6e (diff) |
Fix most of the warnings. Remaining warnings come from nimble source code.
Diffstat (limited to 'src/Components/Ble/DeviceInformationService.h')
-rw-r--r-- | src/Components/Ble/DeviceInformationService.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Components/Ble/DeviceInformationService.h b/src/Components/Ble/DeviceInformationService.h index d768da8e..7d7cea96 100644 --- a/src/Components/Ble/DeviceInformationService.h +++ b/src/Components/Ble/DeviceInformationService.h @@ -22,11 +22,11 @@ namespace Pinetime { static constexpr uint16_t fwRevisionId {0x2a26}; static constexpr uint16_t hwRevisionId {0x2a27}; - static constexpr char* manufacturerName = "Codingfield"; - static constexpr char* modelNumber = "1"; - static constexpr char* serialNumber = "9.8.7.6.5.4"; - static constexpr char* fwRevision = "0.7.0"; - static constexpr char* hwRevision = "1.0.0"; + static constexpr const char* manufacturerName = "Codingfield"; + static constexpr const char* modelNumber = "1"; + static constexpr const char* serialNumber = "9.8.7.6.5.4"; + static constexpr const char* fwRevision = "0.7.0"; + static constexpr const char* hwRevision = "1.0.0"; static constexpr ble_uuid16_t deviceInfoUuid { .u { .type = BLE_UUID_TYPE_16 }, |