summaryrefslogtreecommitdiffstats
path: root/watch-library/shared
diff options
context:
space:
mode:
authorAlexsander Akers <me@a2.io>2022-01-27 11:23:27 -0500
committerAlexsander Akers <me@a2.io>2022-01-27 12:06:06 -0500
commita4cb3c8594729224003e32fb1ea11307caa832d2 (patch)
tree91f558838b91e52d53c90080080377c48c7d7d30 /watch-library/shared
parenta559d089f1845fb23434739f66b7bb5288191139 (diff)
downloadSensor-Watch-a4cb3c8594729224003e32fb1ea11307caa832d2.tar.gz
Sensor-Watch-a4cb3c8594729224003e32fb1ea11307caa832d2.tar.bz2
Sensor-Watch-a4cb3c8594729224003e32fb1ea11307caa832d2.zip
Adjust function semantics by "flipping" bit order
Diffstat (limited to 'watch-library/shared')
-rw-r--r--watch-library/shared/watch/watch_rtc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/watch-library/shared/watch/watch_rtc.h b/watch-library/shared/watch/watch_rtc.h
index b51d6c48..183e6dd0 100644
--- a/watch-library/shared/watch/watch_rtc.h
+++ b/watch-library/shared/watch/watch_rtc.h
@@ -138,7 +138,8 @@ void watch_rtc_register_periodic_callback(ext_irq_cb_t callback, uint8_t frequen
void watch_rtc_disable_periodic_callback(uint8_t frequency);
/** @brief Disables tick callbacks for the given periods (as a bitmask).
- * @param mask The frequencies of tick callbacks you wish to disable, in Hz. To disable the 2 and 4 Hz callbacks, pass 0b00000110;
+ * @param mask The frequencies of tick callbacks you wish to disable, in Hz.
+ * The 128 Hz callback is 0b1, the 64 Hz callback is 0b10, the 32 Hz callback is 0b100, etc.
*/
void watch_rtc_disable_matching_periodic_callbacks(uint8_t mask);