Skip to content

I am getting these errors on new version. What changes I have to do ? #129

@ZuchiniNap

Description

@ZuchiniNap

Arduino\libraries\autowp-mcp2515\mcp2515.cpp: In member function 'MCP2515::ERROR MCP2515::setNormalOneShotMode()': 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 \Arduino\libraries\autowp-mcp2515\mcp2515.cpp:2: 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions