We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad7d85 commit 4278de1Copy full SHA for 4278de1
hal/mbed_compat.c
@@ -78,7 +78,6 @@ MBED_WEAK void spi_get_capabilities(PinName ssel, bool slave, spi_capabilities_t
78
79
// check if given ssel pin is in the cs pinmap
80
const PinMap *cs_pins = spi_master_cs_pinmap();
81
- PinName pin = NC;
82
while (cs_pins->pin != NC) {
83
if (cs_pins->pin == ssel) {
84
#if DEVICE_SPISLAVE
0 commit comments