accel: count orientation changes with TC2 instead of waking up

This commit is contained in:
joeycastillo
2024-11-18 23:50:21 -05:00
parent 548260b13e
commit c6af677b79
4 changed files with 46 additions and 35 deletions

View File

@@ -145,11 +145,8 @@ typedef enum {
EVENT_ALARM_LONG_UP, // The alarm button was held for over half a second, and released.
EVENT_ACCELEROMETER_WAKE, // The accelerometer has detected motion and woken up.
EVENT_ACCELEROMETER_SLEEP, // The accelerometer has returned to sleep.
EVENT_ORIENTATION_CHANGE, // The orientation of the watch has changed. Available in low energy mode.
EVENT_SINGLE_TAP, // Accelerometer detected a single tap. This event is not yet implemented.
EVENT_DOUBLE_TAP, // Accelerometer detected a double tap. This event is not yet implemented.
EVENT_FREE_FALL, // Accelerometer detected the watch in free fall. This event is not yet implemented.
} movement_event_type_t;
typedef struct {