mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-07-14 10:49:35 -04:00
Merge branch 'main' of github.com:tillitis/tillitis-key1
This commit is contained in:
commit
dbd4094991
3 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
|
FMTFILES=main.c lib.h lib.c proto.h proto.c types.h
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
fmt:
|
fmt:
|
||||||
# Uses ../.clang-format
|
# 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
|
.PHONY: fmt
|
||||||
fmt:
|
fmt:
|
||||||
# Uses ../.clang-format
|
# 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)
|
void sighandler(int)
|
||||||
{
|
{
|
||||||
|
printf("touched!\n");
|
||||||
touch_cyc = 1000;
|
touch_cyc = 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue