J1850-VPW-Arduino-Transceiver-Library
J1850-VPW-Arduino-Transceiver-Library copied to clipboard
j1850vpw.cpp line 339 won't cast as written
Not sure if this is my IDE doing this... Don't think so, but if so I'm working with Platform IO in Visual Studio Code. Receive build error as follows:
Changing code as follows let me build the code.
FROM: return handleErrorsInternal(J1850_Write, result); CHANGED TO: return handleErrorsInternal(J1850_Write, static_cast<J1850_ERRORS>(result));
I noticed my IDE doesn't like to cast to enums. Not exactly sure what build tools are inside of Platform IO. Maybe a none issue in other toolsets.