mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
Remove wiringpi and use already included libgpiod (#59)
This commit is contained in:
1
PKGBUILD
1
PKGBUILD
@@ -65,7 +65,6 @@ depends=(
|
|||||||
openssl
|
openssl
|
||||||
platformio
|
platformio
|
||||||
avrdude-svn
|
avrdude-svn
|
||||||
wiringpi
|
|
||||||
make
|
make
|
||||||
patch
|
patch
|
||||||
sudo
|
sudo
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ upload:
|
|||||||
bash -ex -c " \
|
bash -ex -c " \
|
||||||
current=`cat .current`; \
|
current=`cat .current`; \
|
||||||
if [ '$($@_CURRENT)' == 'spi' ] || [ '$($@_CURRENT)' == 'aum' ]; then \
|
if [ '$($@_CURRENT)' == 'spi' ] || [ '$($@_CURRENT)' == 'aum' ]; then \
|
||||||
gpio -g write 25 1; \
|
gpioset 0 25=1; \
|
||||||
gpio -g write 25 0; \
|
gpioset 0 25=0; \
|
||||||
fi \
|
fi \
|
||||||
"
|
"
|
||||||
platformio run --environment '$($@_CURRENT)' --target upload
|
platformio run --environment '$($@_CURRENT)' --target upload
|
||||||
|
|||||||
Reference in New Issue
Block a user