[Fixed] dtparam instead of device_tree_param

This commit is contained in:
xdrm-brackets 2017-02-17 19:21:52 +01:00
parent 10a40321e1
commit 2a21e3887d
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ if [ -e /home/pi/first_boot ]; then
# (2) Enable SPI device #
echo "device_tree_param=spi=on" | sudo tee -a /boot/config.txt > /dev/null;
echo "dtparam=spi=on" | sudo tee -a /boot/config.txt > /dev/null;
echo "dtoverlay=spi-bcm2708" | sudo tee -a /boot/config.txt > /dev/null;
# (3) Clone SPI python library #