mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
Merge branch 'main' of github.com:tillitis/tillitis-key1
This commit is contained in:
commit
dbd4094991
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -271,6 +271,7 @@ volatile int touch_cyc = 0;
|
||||
|
||||
void sighandler(int)
|
||||
{
|
||||
printf("touched!\n");
|
||||
touch_cyc = 1000;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user