]> git.earman.xyz Git - sensor-watch.git/commitdiff
fixup
authorjoeycastillo <joeycastillo@utexas.edu>
Sat, 12 Oct 2024 17:34:56 +0000 (13:34 -0400)
committerjoeycastillo <joeycastillo@utexas.edu>
Sat, 12 Oct 2024 17:34:56 +0000 (13:34 -0400)
watch-faces/demo/light_sensor_face.c
watch-faces/demo/light_sensor_face.h

index c0661193a71b1146100d4e4f9669456827ed76a2..96f74e160e92b3ec1746cccabc67b3fc733b5c49 100644 (file)
@@ -22,8 +22,6 @@
  * SOFTWARE.
  */
 
-#ifdef HAS_IR_SENSOR
-
 #include <stdlib.h>
 #include <string.h>
 #include "light_sensor_face.h"
@@ -31,6 +29,8 @@
 #include "eic.h"
 #include "usb.h"
 
+#ifdef HAS_IR_SENSOR
+
 void light_sensor_face_setup(uint8_t watch_face_index, void ** context_ptr) {
     (void) watch_face_index;
     if (*context_ptr == NULL) {
index 4e4bc608749afd0db1e58a7da6558847059c97c6..29ee4cb04c19cefc368ebb81085ec98e8bc75ede 100644 (file)
 
 #pragma once
 
-#ifdef HAS_IR_SENSOR
-
 #include "movement.h"
 
+#ifdef HAS_IR_SENSOR
+
 /*
  * LIGHT SENSOR PLAYGROUND
  *