summaryrefslogtreecommitdiff
path: root/src/components/ble
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2021-12-01 20:54:13 +0200
committerAvamander <avamander@gmail.com>2021-12-04 22:03:40 +0200
commit9525fc427321ad209de657e837c47db5237912b9 (patch)
tree06673725e01f6de243eceed3f9f5d1ea21622855 /src/components/ble
parentb998d5e2a85415e86ac47fd60198bf46ae54e424 (diff)
Specified how values should be interpreted better
Diffstat (limited to 'src/components/ble')
-rw-r--r--src/components/ble/weather/WeatherData.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/ble/weather/WeatherData.h b/src/components/ble/weather/WeatherData.h
index 8f5ef8ea..195e5021 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;
};