summaryrefslogtreecommitdiff
path: root/hid/Makefile
diff options
context:
space:
mode:
authorShantur Rathore <[email protected]>2021-08-25 15:37:27 +0100
committerGitHub <[email protected]>2021-08-25 17:37:27 +0300
commit9b4622b49822b10beba309c6d686d704fa9fea9f (patch)
tree463f950e8f63fa0173429e7077adada446ae90af /hid/Makefile
parent9aadb78ebc53fe394887f1c8fdb756db9f678180 (diff)
Remove wiringpi and use already included libgpiod (#59)
Diffstat (limited to 'hid/Makefile')
-rw-r--r--hid/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/hid/Makefile b/hid/Makefile
index 6987ef52..05c21f75 100644
--- a/hid/Makefile
+++ b/hid/Makefile
@@ -16,8 +16,8 @@ upload:
bash -ex -c " \
current=`cat .current`; \
if [ '$($@_CURRENT)' == 'spi' ] || [ '$($@_CURRENT)' == 'aum' ]; then \
- gpio -g write 25 1; \
- gpio -g write 25 0; \
+ gpioset 0 25=1; \
+ gpioset 0 25=0; \
fi \
"
platformio run --environment '$($@_CURRENT)' --target upload