diff options
| author | Avamander <avamander@gmail.com> | 2021-12-01 18:54:13 (GMT) |
|---|---|---|
| committer | Avamander <avamander@gmail.com> | 2021-12-04 20:03:40 (GMT) |
| commit | 9525fc427321ad209de657e837c47db5237912b9 (patch) | |
| tree | 06673725e01f6de243eceed3f9f5d1ea21622855 /src/components | |
| parent | b998d5e2a85415e86ac47fd60198bf46ae54e424 (diff) | |
Specified how values should be interpreted better
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/ble/weather/WeatherData.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/ble/weather/WeatherData.h b/src/components/ble/weather/WeatherData.h index 8f5ef8e..195e502 100644 --- a/src/components/ble/weather/WeatherData.h +++ b/src/components/ble/weather/WeatherData.h @@ -190,7 +190,10 @@ namespace Pinetime { public: /** Type */ obscurationtype type; - /** Visibility distance in meters */ + /** + * Visibility distance in meters + * 65535 is reserved for unspecified + */ uint16_t amount; }; @@ -199,7 +202,9 @@ namespace Pinetime { public: /** Type */ precipitationtype type; - /** How much is it going to rain? In millimeters */ + /** How much is it going to rain? In millimeters + * 255 is reserved for unspecified + **/ uint8_t amount; }; |
