only build sensor features if sensor is available

This commit is contained in:
joeycastillo
2024-10-12 10:55:10 -04:00
parent 378ba85b58
commit 4795818098
15 changed files with 65 additions and 33 deletions

View File

@@ -24,6 +24,8 @@
#pragma once
#ifdef HAS_IR_SENSOR
#include "movement.h"
/*
@@ -50,3 +52,5 @@ void light_sensor_face_resign(void *context);
light_sensor_face_resign, \
NULL, \
})
#endif // HAS_IR_SENSOR