Skip to content

Commit 77209a1

Browse files
Update SPISlave.cpp (#2021)
Fixes #2019
1 parent c670f66 commit 77209a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SPISlave/src/SPISlave.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void SPISlaveClass::setData(const uint8_t *data, size_t len) {
206206

207207

208208
void SPISlaveClass::begin(SPISettings spis) {
209-
DEBUGSPI("SPISlave::begin(%d), rx=%d, cs=%d, sck=%d, tx=%d\n", hwCS, _RX, _CS, _SCK, _TX);
209+
DEBUGSPI("SPISlave::begin(), rx=%d, cs=%d, sck=%d, tx=%d\n", _RX, _CS, _SCK, _TX);
210210
gpio_set_function(_RX, GPIO_FUNC_SPI);
211211
gpio_set_function(_CS, GPIO_FUNC_SPI);
212212
gpio_set_function(_SCK, GPIO_FUNC_SPI);

0 commit comments

Comments
 (0)