From 64cd9479ccc0a8e98a6066c3b89791c532b3c162 Mon Sep 17 00:00:00 2001 From: Larry Bernstone Date: Mon, 31 Aug 2020 06:35:31 -0600 Subject: [PATCH] mismatched parameter names. Fixes #4310 --- 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 1317f38b239..65d56b2e018 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