You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The abstraction (necessarily) exports cSerial::begin(unsigned long baudrate, uint16_t config). But STM32 UsbSerial doesn't have a two-parameter begin(). This results in a compile error when trying to create a cSerial<UsbSerial>.
Need to use template metaprogramming to detect the lack of a method and use UsbSerial::begin(baudrate) instead.
The text was updated successfully, but these errors were encountered:
The abstraction (necessarily) exports
cSerial::begin(unsigned long baudrate, uint16_t config)
. But STM32UsbSerial
doesn't have a two-parameter begin(). This results in a compile error when trying to create acSerial<UsbSerial>
.Need to use template metaprogramming to detect the lack of a method and use
UsbSerial::begin(baudrate)
instead.The text was updated successfully, but these errors were encountered: