Skip to content

Commit 4278de1

Browse files
author
Veijo Pesonen
committed
HAL: Drops unused variable
1 parent dad7d85 commit 4278de1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hal/mbed_compat.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ MBED_WEAK void spi_get_capabilities(PinName ssel, bool slave, spi_capabilities_t
7878

7979
// check if given ssel pin is in the cs pinmap
8080
const PinMap *cs_pins = spi_master_cs_pinmap();
81-
PinName pin = NC;
8281
while (cs_pins->pin != NC) {
8382
if (cs_pins->pin == ssel) {
8483
#if DEVICE_SPISLAVE

0 commit comments

Comments
 (0)