Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
accadba2
Commit
accadba2
authored
Oct 06, 2010
by
Dean Camera
Browse files
Fixed SPI driver not explicitly setting /SS and MISO pins as inputs when SPI_Init() is called.
parent
3ae9e604
Changes
2
Hide whitespace changes
Inline
Side-by-side
LUFA/Drivers/Peripheral/SPI.h
View file @
accadba2
...
...
@@ -122,6 +122,7 @@
static
inline
void
SPI_Init
(
const
uint8_t
SPIOptions
)
{
DDRB
|=
((
1
<<
1
)
|
(
1
<<
2
));
DDRB
&=
((
1
<<
0
)
|
(
1
<<
3
));
PORTB
|=
((
1
<<
0
)
|
(
1
<<
3
));
SPCR
=
((
1
<<
SPE
)
|
SPIOptions
);
...
...
LUFA/ManPages/ChangeLog.txt
View file @
accadba2
...
...
@@ -68,6 +68,7 @@
* - 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 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
* <b>New:</b>
...
...
Write
Preview
Supports
Markdown
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