From 869a2c2f7329967bc600e66d0b0422e959e22e2d Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Wed, 23 Sep 2015 06:45:10 -0600 Subject: [PATCH] Fix the last fix Revert to BBB defaults instead of RPi --- arch/BBB/spi.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/BBB/spi.cpp b/arch/BBB/spi.cpp index 53eb62862..da3ff76e1 100644 --- a/arch/BBB/spi.cpp +++ b/arch/BBB/spi.cpp @@ -18,18 +18,18 @@ void SPI::begin(int busNo){ //BBB: - /*if(!busNo){ + if(!busNo){ this->device = "/dev/spidev1.0";; }else{ this->device = "/dev/spidev1.1";; - }*/ + } //RPi: - if(!busNo){ + /*if(!busNo){ this->device = "/dev/spidev0.0";; }else{ this->device = "/dev/spidev0.1";; - } + }*/ this->bits = 8;