Skip to content

Incorrect implementatios of portENABLE_INTERRUPTS.  #13

Description

@vmpru

This port use incorrect implementatios of portENABLE_INTERRUPTS. Two consecutive calls of portENABLE_INTERRUPTS make interrupts disabled:

#define portENABLE_INTERRUPTS()		enh_alt_irq_enable_all()
void enh_alt_irq_enable_all()
{
	alt_irq_context restore = lastContext;
	lastContext = 0;
	alt_irq_enable_all(restore);
}

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