diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/main.c | 5 |
3 files changed, 5 insertions, 3 deletions
@@ -1,3 +1,4 @@ *~ build/ +builder/ .vscode/ @@ -13,7 +13,7 @@ x86: $(CC) $(CFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors geode: - $(CC) $(CFLAGS) -m32 -mtune=geode -march=geode src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors + $(CC) $(CFLAGS) -m32 -march=geode src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors copy: scp -r build/i2sensors-armhf root@cb2:/tmp/i2sensors @@ -11,6 +11,7 @@ #include <linux/i2c-dev.h> +#include <linux/i2c.h> #include <sys/ioctl.h> #include "deftypes.h" @@ -18,8 +19,8 @@ #include "hih61xx.h" #include "hmc5883.h" -#define VERSION 1.24 - +#define VERSION 1.25 + // extern void lm75_print_help(void); // extern void lm75_read_all(const char *opts); // extern void lm75_read_one(const char *opts); |