diff options
| author | Avamander <avamander@gmail.com> | 2021-12-01 16:41:01 (GMT) |
|---|---|---|
| committer | Avamander <avamander@gmail.com> | 2021-12-04 20:03:40 (GMT) |
| commit | 75cf5324baf760b3f463ba84126c317471266b32 (patch) | |
| tree | 081242158edc2bdd5c46dc83b9c5ede4fd436032 /src/components | |
| parent | cccec6e1abc8b7180d9e69c22c50fe9244b48ebc (diff) | |
Fixed an incorrect decode in Humidity
Diffstat (limited to 'src/components')
| -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 c60e0f0..c2a1cec 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; } |
