Skip to content

Commit

Permalink
Fix setting default PIGPIO_ADDR
Browse files Browse the repository at this point in the history
Also set PIGPIO_ADDR to usb0 on x86_64 kernel
  • Loading branch information
maxnet committed Dec 17, 2017
1 parent 47bf86d commit 3354d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -e

case "$1" in
configure)
if [ `uname -m` = "i686" ]; then
if [ `uname -m` = "i686" ] || [ `uname -m` = "x86_64" ]; then
echo "export PIGPIO_ADDR=fe80::1%usb0" > /etc/profile.d/pigpio_default_address.sh
fi
;;
Expand Down

0 comments on commit 3354d0a

Please sign in to comment.