Skip to content

Commit

Permalink
Fix the last fix
Browse files Browse the repository at this point in the history
Revert to BBB defaults instead of RPi
  • Loading branch information
TMRh20 committed Sep 23, 2015
1 parent ded2157 commit 869a2c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/BBB/spi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 869a2c2

Please sign in to comment.