Skip to content

Commit 13333d2

Browse files
ci(pre-commit): Apply automatic fixes
1 parent d6a0fef commit 13333d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cores/esp32/esp32-hal-spi.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,15 +662,14 @@ spi_t *spiStartBus(uint8_t spi_num, uint32_t clockDiv, uint8_t dataMode, uint8_t
662662
}
663663
#elif CONFIG_IDF_TARGET_ESP32P4
664664
#pragma GCC diagnostic push
665-
#pragma GCC diagnostic ignored "-Wunused-variable"
665+
#pragma GCC diagnostic ignored "-Wunused-variable"
666666
if (spi_num == FSPI) {
667667
PERIPH_RCC_ACQUIRE_ATOMIC(PERIPH_GPSPI2_MODULE, ref_count) {
668668
if (ref_count == 0) {
669669
PERIPH_RCC_ATOMIC() {
670670
spi_ll_enable_bus_clock(SPI2_HOST, true);
671671
spi_ll_reset_register(SPI2_HOST);
672672
spi_ll_enable_clock(SPI2_HOST, true);
673-
674673
}
675674
}
676675
}

0 commit comments

Comments
 (0)