Make the counter silent by spawning another shell

This commit is contained in:
Rodrigo Arias 2024-07-05 12:56:33 +02:00
parent 48688594bf
commit 504c4aca3c

View File

@ -86,7 +86,7 @@
# -l 4 /dev/qdma34000-MM-1; sleep 0.2; done # -l 4 /dev/qdma34000-MM-1; sleep 0.2; done
preDeviceCommands = '' preDeviceCommands = ''
echo "Creating a heartbeat counter at 0x1bfff0000" echo "Creating a heartbeat counter at 0x1bfff0000"
hb=0; while [ 1 ]; do let hb=$hb+1; devmem 0x1bfff0000 32 $hb; done & sh -c 'hb=0; while [ 1 ]; do let hb=$hb+1; devmem 0x1bfff0000 32 $hb; done' &
''; '';
}; };