-
Notifications
You must be signed in to change notification settings - Fork 312
Description
Since the release two days ago I am getting the following error when compiling for esp32 dev module
C:\Users\NASA\Documents\Arduino\libraries\autowp-mcp2515\mcp2515.cpp:182:41: error: invalid conversion from 'int' to 'MCP2515::CANCTRL_REQOP_MODE' [-fpermissive]
182 | return setMode(CANCTRL_REQOP_NORMAL | CANCTRL_OSM);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
| |
| int
In file included from C:\Users\NASA\Documents\Arduino\libraries\autowp-mcp2515\mcp2515.cpp:2:
C:\Users\NASA\Documents\Arduino\libraries\autowp-mcp2515\mcp2515.h:458:48: note: initializing argument 1 of 'MCP2515::ERROR MCP2515::setMode(CANCTRL_REQOP_MODE)'
458 | ERROR setMode(const CANCTRL_REQOP_MODE mode);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
exit status 1
Compilation error: exit status 1