diff options
author | Avamander <avamander@gmail.com> | 2021-12-01 18:41:01 +0200 |
---|---|---|
committer | Avamander <avamander@gmail.com> | 2021-12-04 22:03:40 +0200 |
commit | 75cf5324baf760b3f463ba84126c317471266b32 (patch) | |
tree | 081242158edc2bdd5c46dc83b9c5ede4fd436032 /src/components/ble/weather/WeatherService.cpp | |
parent | cccec6e1abc8b7180d9e69c22c50fe9244b48ebc (diff) |
Fixed an incorrect decode in Humidity
Diffstat (limited to 'src/components/ble/weather/WeatherService.cpp')
-rw-r--r-- | src/components/ble/weather/WeatherService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/weather/WeatherService.cpp b/src/components/ble/weather/WeatherService.cpp index c60e0f09..c2a1cec0 100644 --- a/src/components/ble/weather/WeatherService.cpp +++ b/src/components/ble/weather/WeatherService.cpp @@ -312,7 +312,7 @@ namespace Pinetime { humidity->expires = tmpExpires; int64_t tmpType = 0; - QCBORDecode_GetInt64InMapSZ(&decodeContext, "DewPoint", &tmpType); + QCBORDecode_GetInt64InMapSZ(&decodeContext, "Humidity", &tmpType); if (tmpType < 0 || tmpType >= 255) { return BLE_ATT_ERR_INVALID_ATTR_VALUE_LEN; } |