Skip to content

all functions must be outlined #8

@nerdralph

Description

@nerdralph

delay() should not be defined as inline

inline void delay(uint32_t msec)

Inline functions in ArduinoShrink.h can cause a bug when the sketch code does not call delay() but a 3rd-party library used by the sketch does. As an inline function, delay() does not get compiled into ArduinoShrink.a as intended.

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