Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lufa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
lufa
Commits
accadba2
Commit
accadba2
authored
14 years ago
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Fixed SPI driver not explicitly setting /SS and MISO pins as inputs when SPI_Init() is called.
parent
3ae9e604
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
LUFA/Drivers/Peripheral/SPI.h
+1
-0
1 addition, 0 deletions
LUFA/Drivers/Peripheral/SPI.h
LUFA/ManPages/ChangeLog.txt
+1
-0
1 addition, 0 deletions
LUFA/ManPages/ChangeLog.txt
with
2 additions
and
0 deletions
LUFA/Drivers/Peripheral/SPI.h
+
1
−
0
View file @
accadba2
...
@@ -122,6 +122,7 @@
...
@@ -122,6 +122,7 @@
static
inline
void
SPI_Init
(
const
uint8_t
SPIOptions
)
static
inline
void
SPI_Init
(
const
uint8_t
SPIOptions
)
{
{
DDRB
|=
((
1
<<
1
)
|
(
1
<<
2
));
DDRB
|=
((
1
<<
1
)
|
(
1
<<
2
));
DDRB
&=
((
1
<<
0
)
|
(
1
<<
3
));
PORTB
|=
((
1
<<
0
)
|
(
1
<<
3
));
PORTB
|=
((
1
<<
0
)
|
(
1
<<
3
));
SPCR
=
((
1
<<
SPE
)
|
SPIOptions
);
SPCR
=
((
1
<<
SPE
)
|
SPIOptions
);
...
...
This diff is collapsed.
Click to expand it.
LUFA/ManPages/ChangeLog.txt
+
1
−
0
View file @
accadba2
...
@@ -68,6 +68,7 @@
...
@@ -68,6 +68,7 @@
* - Fixed incorrect LEDs_ChangeLEDs() function in the Benito board LED driver
* - Fixed incorrect LEDs_ChangeLEDs() function in the Benito board LED driver
* - Fixed incorrect USB_DeviceState value when unconfiguring the device without an address set
* - Fixed incorrect USB_DeviceState value when unconfiguring the device without an address set
* - Fixed broken FLASH/EEPROM programming in the AVRISP-MKII clone project when writing in non-paged mode and the polling byte cannot be used
* - Fixed broken FLASH/EEPROM programming in the AVRISP-MKII clone project when writing in non-paged mode and the polling byte cannot be used
* - Fixed SPI driver not explicitly setting /SS and MISO pins as inputs when SPI_Init() is called
*
*
* \section Sec_ChangeLog100807 Version 100807
* \section Sec_ChangeLog100807 Version 100807
* <b>New:</b>
* <b>New:</b>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment