Unverified Commit 77209a12 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Update SPISlave.cpp (#2021)

Fixes #2019
parent c670f661
...@@ -206,7 +206,7 @@ void SPISlaveClass::setData(const uint8_t *data, size_t len) { ...@@ -206,7 +206,7 @@ void SPISlaveClass::setData(const uint8_t *data, size_t len) {
void SPISlaveClass::begin(SPISettings spis) { void SPISlaveClass::begin(SPISettings spis) {
DEBUGSPI("SPISlave::begin(%d), rx=%d, cs=%d, sck=%d, tx=%d\n", hwCS, _RX, _CS, _SCK, _TX); DEBUGSPI("SPISlave::begin(), rx=%d, cs=%d, sck=%d, tx=%d\n", _RX, _CS, _SCK, _TX);
gpio_set_function(_RX, GPIO_FUNC_SPI); gpio_set_function(_RX, GPIO_FUNC_SPI);
gpio_set_function(_CS, GPIO_FUNC_SPI); gpio_set_function(_CS, GPIO_FUNC_SPI);
gpio_set_function(_SCK, GPIO_FUNC_SPI); gpio_set_function(_SCK, GPIO_FUNC_SPI);
......
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