Skip to content

Conflicting definitions #47

@fdrobnic

Description

@fdrobnic

In the libraries/SensorXtr/WaspSensorXtr.h, there is a conflicting definition:

#define MCP_GP1 1 // Unconneted MCP GPIO
#define MCP_GP1 0 // Unconneted MCP GPIO

Possibly, this is due to copy-paste error and the second definition should define MCP_GP0. Additionally, in the corresponding WaspSensorXtr.cpp, there are two identical lines:

mcp.pinMode(MCP_GP1, INPUT);
mcp.pinMode(MCP_GP1, INPUT);

The second line should probably refer to MCP_GP0.

These conflicts do not cause any serious problems, only some warnings during compilation.

There is another warning caused by some headers reorganization:

c:\libelium\waspmote-pro-ide-v06.21\hardware\tools\avr\avr\include\avr\parity.h:36:2: warning: #warning "This file has been moved to <util/parity.h>." [-Wcpp]

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