Skip to content

Commit db409b9

Browse files
authored
fixing beginTransaction()
1 parent 957f818 commit db409b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/esp32/esp32-hal-spi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ void spiTransferBits(spi_t * spi, uint32_t data, uint32_t * out, uint8_t bits);
114114
/*
115115
* New (EXPERIMENTAL) Transaction lock based API (lock once until endTransaction)
116116
* */
117+
void spiLock(spi_t * spi);
118+
void spiUnlock(spi_t * spi);
117119
void spiTransaction(spi_t * spi, uint32_t clockDiv, uint8_t dataMode, uint8_t bitOrder);
118120
void spiSimpleTransaction(spi_t * spi);
119121
void spiEndTransaction(spi_t * spi);

0 commit comments

Comments
 (0)