xxAtrain223 / EmbMessenger

Command based communication library for embedded devices.
MIT License
2 stars 1 forks source link

Teensy Ambiguous Function Calls #3

Closed ilumsden closed 5 years ago

ilumsden commented 5 years ago

In EmbMessenger.hpp for the device, there are several instances of write(0). Because a Teensy 3.5 is more picky than a Mega, platformio errors during upload because the function call is ambiguous (there are multiple versions that 0 could correspond to). The fix is simple: just replace write(0) with write((uint8_t)0). I'll make the changes and open a PR.