Skip to content

Warning converting to non-pointer type #17

@Peemouse

Description

@Peemouse

Hi,

I made a fresh install on another computer than the usual one that don't have any issue while compiling.
Arduino IDE 1.8.5
VescUartControl VESC6 branch library (latest version on Github).

Compiler window of Arduino IDE :

xxxxxx\Documents\Arduino\libraries\VescUartControl\VescUart.cpp: In function 'int PackSendPayload(uint8_t*, int, int)':

xxxxxx\Documents\Arduino\libraries\VescUartControl\VescUart.cpp:188:21: warning: converting to non-pointer type 'uint8_t {aka unsigned char}' from NULL [-Wconversion-null]

messageSend[count] = NULL;

                 ^

Sketch uses 11462 bytes (37%) of program storage space. Maximum is 30720 bytes.
Global variables use 981 bytes (47%) of dynamic memory, leaving 1067 bytes for local variables. Maximum is 2048 bytes.

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