Skip to content

Create ANTARES_ATOMIC() {} and ANTARES_NONATOMIC() {} blocks like in avr-libc #48

Description

@webconn

I think that these blocks should be very useful, because use of ANTARES_ENABLE/DISABLE_IRQS for atomic and non-atomic blocks forces enabling or disabling interrupts but not saves the state.

See http://www.nongnu.org/avr-libc/user-manual/group__util__atomic.html for example of what I mean.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions