Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsEmpty #2

Open
lgLindstrom opened this issue Nov 19, 2015 · 2 comments
Open

IsEmpty #2

lgLindstrom opened this issue Nov 19, 2015 · 2 comments

Comments

@lgLindstrom
Copy link

Is it possible to add a function:

bool isEmpty()

in a interrupt safe way?

//lg

@rambo
Copy link
Owner

rambo commented Nov 19, 2015

Sure, just wrap cli(); sei(); around a check if numberofelements is larger than 0

@lgLindstrom
Copy link
Author

ok, thanks
//lg

/mvh
/lg


Lars-Göran Lindström
Consius AB
+46 70 190 23 30
[email protected]

2015-11-19 18:46 GMT+01:00 Eero af Heurlin [email protected]:

Sure, just wrap cli(); sei(); around a check if numberofelements is larger
than 0


Reply to this email directly or view it on GitHub
#2 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants