added sanity check of GPIO expander values after a real interrupt or a timeout

This commit is contained in:
Vincent-FK
2019-08-21 14:11:09 +02:00
parent 4c3f0eca57
commit 0cfcca07cc
6 changed files with 401 additions and 373 deletions

View File

@@ -1,21 +1,21 @@
TOOLS_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
-Wcast-align -Wwrite-strings -Wnested-externs -Winline \
-W -Wundef -Wmissing-prototypes
#
# Programs
#
all: funkey_gpio_management
funkey_gpio_management: funkey_gpio_management.o gpio-utils.o uinput.o gpio_mapping.o read_conf_file.o keydefs.o driver_pcal6416a.o
$(CC) $(LDFLAGS) -o $@ $^
#
# Objects
#
%.o: %.c
$(CC) $(CFLAGS) $(TOOLS_CFLAGS) -c $< -o $@
clean:
rm *.o funkey_gpio_management
TOOLS_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
-Wcast-align -Wwrite-strings -Wnested-externs -Winline \
-W -Wundef -Wmissing-prototypes
#
# Programs
#
all: funkey_gpio_management
funkey_gpio_management: funkey_gpio_management.o gpio-utils.o uinput.o gpio_mapping.o read_conf_file.o keydefs.o driver_pcal6416a.o
$(CC) $(LDFLAGS) -o $@ $^
#
# Objects
#
%.o: %.c
$(CC) $(CFLAGS) $(TOOLS_CFLAGS) -c $< -o $@
clean:
rm *.o funkey_gpio_management