From a9cb7c6d6fbd8c6b1f71506c08b8f474f301b7b1 Mon Sep 17 00:00:00 2001 From: lbernstone Date: Thu, 1 Oct 2020 06:35:40 -0600 Subject: [PATCH] mismatched parameter names. Fixes #4310 (#4313) --- cores/esp32/esp32-hal-spi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp32/esp32-hal-spi.h b/cores/esp32/esp32-hal-spi.h index 1317f38b..65d56b2e 100644 --- a/cores/esp32/esp32-hal-spi.h +++ b/cores/esp32/esp32-hal-spi.h @@ -54,7 +54,7 @@ extern "C" { struct spi_struct_t; typedef struct spi_struct_t spi_t; -spi_t * spiStartBus(uint8_t spi_num, uint32_t freq, uint8_t dataMode, uint8_t bitOrder); +spi_t * spiStartBus(uint8_t spi_num, uint32_t clockDiv, uint8_t dataMode, uint8_t bitOrder); void spiStopBus(spi_t * spi); //Attach/Detach Signal Pins