summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD1
-rw-r--r--hid/Makefile4
2 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a970b005..9860d638 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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