Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
2.49k
stars
1.25k
forks
source link
Fix "call to overloaded transfer() is ambiguous" issue #924
Closed
board707 closed 2 months ago
Two overloaded
SPI.transfer()
methods in fileSTM32F1/libraries/SPI/src/SPI.h
:produces a "call is ambiguous" error if called as:
spi.transfer(uint8*, size_t);
Making the type of second parameter the same in both methods eliminates the error.