Commit 869a2c2f authored by TMRh20's avatar TMRh20

Fix the last fix

Revert to BBB defaults instead of RPi
parent ded2157c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment