Closed shenghaoyang closed 6 years ago
Hi @shenghaoyang, well spotted!
I just confirmed that indeed this is a bug, much appreciated.
I got a bit messed with the logic in e131_get_option()
and I fixed it now.
Thanks again!
Awesome, thanks for the quick fix!
Made a new release just now. Thanks again for your help.
Hello,
Not sure if this is a known bug (or an user error :(), but, when compiling from a fresh clone of the master branch,
e131_get_option()
seems to return the opposite of what was previously set usinge131_set_option()
.If it isn't caused by an EBKAC, I think the problem seems to lie in this if statement condition of
e131_get_option()
:If the relevant bit is set this statement:
Evaluates to true, which causes the
statement to be executed.
Was going to put in a pull request with a fix, but I just wanted to make sure I was using it correctly.
Thanks for giving this a look through.
I ran this little snippet to test:
And it gave me this result: