From 8c94c40e1ff74fbc1cc5993aa5f4d9586b59abbf Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Wed, 6 Apr 2022 18:33:50 +0000 Subject: deploy: 1ec1f2e4207405d55c34c936e2c458cb4a7e8806 --- group__utility.html | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'group__utility.html') diff --git a/group__utility.html b/group__utility.html index 020f8eae..449e0337 100644 --- a/group__utility.html +++ b/group__utility.html @@ -105,6 +105,9 @@ Functions float watch_utility_thermistor_temperature (uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance)  Returns a temperature in degrees Celsius for a given thermistor voltage divider circuit. More...
  +uint32_t watch_utility_offset_timestamp (uint32_t now, int8_t hours, int8_t minutes, int8_t seconds) + Offset a timestamp by a given amount. More...
+  @@ -374,6 +377,57 @@ uint32_t 

Variables

watch_duration_t: + + + +

◆ watch_utility_offset_timestamp()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
uint32_t watch_utility_offset_timestamp (uint32_t now,
int8_t hours,
int8_t minutes,
int8_t seconds 
)
+
+ +

Offset a timestamp by a given amount.

+
Parameters
+ + + + + +
nowTimestamp to offset from
hoursNumber of hours to offset
minutesNmber of minutes to offset
secondsNumber of secodns to offset
+
+
+
-- cgit v1.2.3