mirror of https://github.com/ARMmbed/mbed-os.git
HAL: Drops unused variable
parent
dad7d851db
commit
4278de1f54
|
@ -78,7 +78,6 @@ MBED_WEAK void spi_get_capabilities(PinName ssel, bool slave, spi_capabilities_t
|
||||||
|
|
||||||
// check if given ssel pin is in the cs pinmap
|
// check if given ssel pin is in the cs pinmap
|
||||||
const PinMap *cs_pins = spi_master_cs_pinmap();
|
const PinMap *cs_pins = spi_master_cs_pinmap();
|
||||||
PinName pin = NC;
|
|
||||||
while (cs_pins->pin != NC) {
|
while (cs_pins->pin != NC) {
|
||||||
if (cs_pins->pin == ssel) {
|
if (cs_pins->pin == ssel) {
|
||||||
#if DEVICE_SPISLAVE
|
#if DEVICE_SPISLAVE
|
||||||
|
|
Loading…
Reference in New Issue