From 2a21e3887de5c465ec3e132ae321150413427b05 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 17 Feb 2017 19:21:52 +0100 Subject: [PATCH] [Fixed] dtparam instead of device_tree_param --- clone/utility/sats-boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clone/utility/sats-boot b/clone/utility/sats-boot index 4897c34..3bf9f99 100644 --- a/clone/utility/sats-boot +++ b/clone/utility/sats-boot @@ -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 #