Enable SPI

This commit is contained in:
Yossi 2017-07-28 20:59:28 +03:00
parent 7d17456de1
commit 59b98184bd

View File

@ -131,6 +131,7 @@ echo "" >> /boot/config.txt
echo "#enable piCaera" >> /boot/config.txt echo "#enable piCaera" >> /boot/config.txt
echo "start_x=1" >> /boot/config.txt echo "start_x=1" >> /boot/config.txt
echo "gpu_mem=128" >> /boot/config.txt echo "gpu_mem=128" >> /boot/config.txt
echo "dtparam=spi=on" >> /boot/config.txt
if [ ${OS_TYPE} == "drideOS" ]; then if [ ${OS_TYPE} == "drideOS" ]; then