auto-detect accelerometer sensor (and don't fail build for lack of a temperature sensor)

This commit is contained in:
Joey Castillo
2025-05-16 00:07:15 -04:00
parent 55df80c3d9
commit c5bda0faeb
12 changed files with 63 additions and 92 deletions

View File

@@ -35,8 +35,6 @@
#include "movement.h"
#include "watch.h"
#ifdef HAS_ACCELEROMETER
typedef struct {
uint8_t new_threshold;
uint8_t threshold;
@@ -56,5 +54,3 @@ movement_watch_face_advisory_t accel_interrupt_count_face_advise(void *context);
accel_interrupt_count_face_resign, \
accel_interrupt_count_face_advise, \
})
#endif // HAS_ACCELEROMETER