gpioset: new mode of operation
authorBartosz Golaszewski <bartekgola@gmail.com>
Tue, 17 Jan 2017 14:29:43 +0000 (15:29 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Tue, 17 Jan 2017 14:29:43 +0000 (15:29 +0100)
commit3407de398a34bbbf79ee47654e64e467ad0306d5
tree0e822d7ff8d0320fdc65350991495de9a7587a2c
parent70f489b80b230c4afd0f89656a5c2997ce6eff4c
gpioset: new mode of operation

Add a new mode: 'signal', which makes the program set GPIO values and
then wait until it receives SIGTERM or SIGINT.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/tools/gpioset.c