mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-02-23 08:09:55 -05: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
|
.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…
x
Reference in New Issue
Block a user