Skip to content

Compile error in v4.0.4 #724

Closed
Closed
@zfields

Description

@zfields
~/.arduino15/packages/arduino/hardware/mbed_nano/4.0.4/cores/arduino/api/CanMsg.h:71:71: error: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t {aka long unsigned int}' [-Werror=format=]
     len = snprintf(buf, sizeof(buf), "[%08X] (%d) : ", id, data_length);

I was going to offer a patch, but I cannot find the path.
https://github.com/arduino/ArduinoCore-mbed/tree/4.0.4/cores/arduino/api/CanMsg.h returns a 404.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions