mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: movement
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
d755d296fc
commit
7898b0c0ed
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ bool activity_algorithm_deinit(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void activity_algorithm_handle_accel(AccelRawData *data, uint32_t num_samples, uint64_t timestamp) {
|
void activity_algorithm_handle_accel(AccelRawData *data, uint32_t num_samples, uint64_t timestamp) {
|
||||||
// For testing purposes, we'll use the x movment as the steps and y as the sleep state
|
// For testing purposes, we'll use the x movement as the steps and y as the sleep state
|
||||||
ActivitySleepState prior_state = s_test_alg_state.minute_data.sleep_state;
|
ActivitySleepState prior_state = s_test_alg_state.minute_data.sleep_state;
|
||||||
time_t now_secs = rtc_get_time();
|
time_t now_secs = rtc_get_time();
|
||||||
s_test_alg_state.minute_data.last_captured_utc = now_secs;
|
s_test_alg_state.minute_data.last_captured_utc = now_secs;
|
||||||
|
|
Loading…
Add table
Reference in a new issue