mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-16 10:20:47 -04:00
Let verilator print when touched by kill -USR1
This commit is contained in:
parent
8066c1092e
commit
10b7951933
1 changed files with 1 additions and 0 deletions
|
@ -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