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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user