Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RF24
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
RF24
Commits
869a2c2f
Commit
869a2c2f
authored
Sep 23, 2015
by
TMRh20
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the last fix
Revert to BBB defaults instead of RPi
parent
ded2157c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
arch/BBB/spi.cpp
arch/BBB/spi.cpp
+4
-4
No files found.
arch/BBB/spi.cpp
View file @
869a2c2f
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment