Skip to content

Commit a9cb7c6

Browse files
authored
mismatched parameter names. Fixes #4310 (#4313)
1 parent 45d47e2 commit a9cb7c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/esp32-hal-spi.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ extern "C" {
5454
struct spi_struct_t;
5555
typedef struct spi_struct_t spi_t;
5656

57-
spi_t * spiStartBus(uint8_t spi_num, uint32_t freq, uint8_t dataMode, uint8_t bitOrder);
57+
spi_t * spiStartBus(uint8_t spi_num, uint32_t clockDiv, uint8_t dataMode, uint8_t bitOrder);
5858
void spiStopBus(spi_t * spi);
5959

6060
//Attach/Detach Signal Pins

0 commit comments

Comments
 (0)