Fixed a few compilation errors, fixed UUID.

This commit is contained in:
Avamander
2021-11-28 15:33:06 +02:00
parent ed6f0aade4
commit ffb17357e7
5 changed files with 25 additions and 14 deletions

View File

@@ -88,7 +88,7 @@ namespace Pinetime {
// 0003yyxx-78fc-48fe-8e23-433b3a1942d0
static constexpr ble_uuid128_t CharUuid(uint8_t x, uint8_t y) {
return ble_uuid128_t {.u = {.type = BLE_UUID_TYPE_128},
.value = {0xd0, 0x42, 0x19, 0x3a, 0x3b, 0x43, 0x23, 0x8e, 0xfe, 0x48, 0xfc, 0x78, x, y, 0x03, 0x00}};
.value = {0xd0, 0x42, 0x19, 0x3a, 0x3b, 0x43, 0x23, 0x8e, 0xfe, 0x48, 0xfc, 0x78, y, x, 0x03, 0x00}};
}
ble_uuid128_t weatherUuid {BaseUuid()};