Skip to content

w_nop2 might do 1-cycle delay in case interrupt handling is disabled #112

@besteinm

Description

@besteinm

#if (ws2812_interrupt_handling)
" clt \n\t"
#endif

the condition should be negated: #if (!ws2812_interrupt_handling)

otherwise the macro w_nop2 might do a 1 cycle delay in case T happens to be set.

#if (ws2812_interrupt_handling)
#define w_nop2  "brid .+0 \n\t"
#else
#define w_nop2  "brtc .+0 \n\t"
#endif

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