Skip to content

minor typo in example code block #2509

Open
@hipsterindie

Description

@hipsterindie

Perhaps unnecessary to mention, but there is a typo inside the sketch link, at line 117 in the ota-getting-started.md file:

<iframe src="https://create.arduino.cc/editor/FT-CONTENT/f6aa7be6-ae9c-40b9-a369-fc6e0d034514/preview?embed&snippet#L47-L54" style="height:510px;width:100%;margin:10px 0" frameborder="0"></iframe>

Actual sketch link with typo:

https://create.arduino.cc/editor/FT-CONTENT/f6aa7be6-ae9c-40b9-a369-fc6e0d034514/preview?embed&snippet#L47-L54

The typo in the sketch is on line 58 within the onLightChange function, below the highlighted code; it reads:

'led_satus = ! led_satus;'

when it should read:

'led_status = ! led_status;'

it's minor, but i figured i'd point it out.

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