Skip to content

No return statement in writePort() #31

Closed
@mmurdoch

Description

@mmurdoch

On compiling Firmata (e.g. when used within a sketch in the Arduino IDE) the following warning is generated:

...\Firmata/Boards.h: In function 'unsigned char writePort(byte, byte, byte)':
...\Firmata/Boards.h:371: warning: no return statement in function returning non-void

This will likely lead to unexpected behavior if writePort() is called and the return value manipulated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions