Explorar el Código

Finally got second sensor. Someday I will make serial numbers a command-line option, but not today.

Zachary Kotlarek hace 14 años
padre
commit
c3545b558a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      motion/main.c

+ 2 - 2
motion/main.c

@@ -4,8 +4,8 @@
 
 
 #define DATA_DIR "plexMonitor/"
 #define DATA_DIR "plexMonitor/"
 #define OUT_FILE "MOTION"
 #define OUT_FILE "MOTION"
-#define NUM_DEVICES 1
-#define SERIALS { "101128160542" }
+#define NUM_DEVICES 2
+#define SERIALS { "101128160542", "101128155210" }
 #define SLEEP_DELAY 250000
 #define SLEEP_DELAY 250000
 #define TIMEOUT 2
 #define TIMEOUT 2