Skip to content

Commit

Permalink
Fix for SoftSPI
Browse files Browse the repository at this point in the history
  • Loading branch information
greiman committed Sep 28, 2017
1 parent c95f1d4 commit 49cc348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/SpiDriver/DigitalPin.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ inline void fastDigitalToggle(uint8_t pin) {
fastDigitalWrite(pin, !fastDigitalRead(pin));
}
//------------------------------------------------------------------------------
inline void fastPinMode(pin, mode) {
inline void fastPinMode(uint8_t pin, uint8_t mode) {
pinMode(pin, mode);
}
#endif // __AVR__
Expand Down
2 changes: 1 addition & 1 deletion src/SpiDriver/SdSpiSTM32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#if defined(__STM32F1__)
#define USE_STM32_DMA 1
#elif defined(__STM32F4__)
#define USE_STM32_DMA 0
#define USE_STM32_DMA 1
#else // defined(__STM32F1__)
#error Unknown STM32 type
#endif // defined(__STM32F1__)
Expand Down

0 comments on commit 49cc348

Please sign in to comment.