mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
Remove wiringpi and use already included libgpiod (#59)
This commit is contained in:
parent
9aadb78ebc
commit
9b4622b498
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user