Specified how values should be interpreted better

This commit is contained in:
Avamander 2021-12-01 20:54:13 +02:00
parent b998d5e2a8
commit 9525fc4273

View file

@ -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;
};