Skip to content

error: redefinition of 'void indication(indication_t) in BinarySwitchSensorIndication #36

@mfalkvidd

Description

@mfalkvidd

I'm getting this error message when trying to compile BinarySwitchSensorIndication:

R:\Dropbox\ArduinoSketches\libraries\MySensorsArduinoExamples\examples\BinarySwitchSensorIndication\BinarySwitchSensorIndication.ino: In function 'void indication(indication_t)':

BinarySwitchSensorIndication:106:6: error: redefinition of 'void indication(indication_t)'

 void indication( const indication_t ind )

      ^

In file included from R:\Documents\Arduino\libraries\MySensors/MySensors.h:125:0,

                 from R:\Dropbox\ArduinoSketches\libraries\MySensorsArduinoExamples\examples\BinarySwitchSensorIndication\BinarySwitchSensorIndication.ino:40:

R:\Documents\Arduino\libraries\MySensors/core/MyIndication.cpp:47:6: note: 'void indication(indication_t)' previously defined here

 void indication(indication_t)

      ^

Using library Adafruit_NeoPixel at version 1.1.7 in folder: R:\Documents\Arduino\libraries\Adafruit_NeoPixel 
Using library MsTimer2 at version 1.1 in folder: R:\Documents\Arduino\libraries\MsTimer2 
Using library MySensors at version 2.3.2-beta in folder: R:\Documents\Arduino\libraries\MySensors 
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI 
Using library Bounce2 at version 2.52 in folder: R:\Documents\Arduino\libraries\Bounce2 
exit status 1
redefinition of 'void indication(indication_t)'

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