Merge branch 'main' of github.com:tillitis/tillitis-key1

This commit is contained in:
Joachim Strömbergson 2022-09-21 14:32:52 +02:00
commit dbd4094991
3 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,6 @@
FMTFILES=main.c lib.h lib.c proto.h proto.c types.h
.PHONY: fmt
fmt:
# Uses ../.clang-format
clang-format --verbose -i main.c lib.h lib.c proto.h proto.c types.h
clang-format --dry-run --ferror-limit=0 $(FMTFILES)
clang-format --verbose -i $(FMTFILES)

View File

@ -1,4 +1,6 @@
FMTFILES=main.c
.PHONY: fmt
fmt:
# Uses ../.clang-format
clang-format --verbose -i main.c
clang-format --dry-run --ferror-limit=0 $(FMTFILES)
clang-format --verbose -i $(FMTFILES)

View File

@ -271,6 +271,7 @@ volatile int touch_cyc = 0;
void sighandler(int)
{
printf("touched!\n");
touch_cyc = 1000;
}