summaryrefslogtreecommitdiffstats
path: root/movement
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 /movement
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 'movement')
-rw-r--r--movement/movement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/movement/movement.c b/movement/movement.c
index 1c8e641c..aa95f2f1 100644
--- a/movement/movement.c
+++ b/movement/movement.c
@@ -155,7 +155,7 @@ void movement_request_tick_frequency(uint8_t freq) {
if (freq == 128) return; // Movement uses the 128 Hz tick internally
// disable all callbacks except the 128 Hz one
- watch_rtc_disable_matching_periodic_callbacks(0b01111111);
+ watch_rtc_disable_matching_periodic_callbacks(0xFE);
movement_state.subsecond = 0;
movement_state.tick_frequency = freq;