diff options
author | Shantur Rathore <[email protected]> | 2021-08-25 15:37:27 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-25 17:37:27 +0300 |
commit | 9b4622b49822b10beba309c6d686d704fa9fea9f (patch) | |
tree | 463f950e8f63fa0173429e7077adada446ae90af | |
parent | 9aadb78ebc53fe394887f1c8fdb756db9f678180 (diff) |
Remove wiringpi and use already included libgpiod (#59)
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | hid/Makefile | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -65,7 +65,6 @@ depends=( openssl platformio avrdude-svn - wiringpi make patch sudo 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 |