Skip to content

ino does not support default values properly. #2158

Closed
@jantje

Description

@jantje

This may be accepted as a limitation of the system but following code does not compile in the arduino ide 1.5.5 (and I assume all others)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:
 beep(1);
}

void beep(int numberOfBeeps, boolean shortbeep = false){
//no code here as it is irrelevant
}

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