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

The code reports an error in the editor #137

Open
yuta-sakata opened this issue Jun 17, 2021 · 1 comment
Open

The code reports an error in the editor #137

yuta-sakata opened this issue Jun 17, 2021 · 1 comment

Comments

@yuta-sakata
Copy link

yuta-sakata commented Jun 17, 2021

in the ajax.ino's line 101

deviceSettings.broadcast = deviceSettings.ip | (~deviceSettings.subnet);

espArtnetNode_2.0.0_b5g\ajax.ino: In function 'bool ajaxSave(uint8_t, ArduinoJson::JsonObject&)':
ajax:101:55: error: ambiguous overload for 'operator~' (operand type is 'IPAddress')
espArtnetNode_2.0.0_b5g\ajax.ino:101:55: note: candidates are:
espArtnetNode_2.0.0_b5g\ajax.ino:101:55: note: operator~(uint32_t {aka unsigned int})
espArtnetNode_2.0.0_b5g\ajax.ino:101:55: note: operator~(u32_t {aka long unsigned int})
espArtnetNode_2.0.0_b5g\ajax.ino:101:55: note: operator~(int)

exit status 1

ambiguous overload for 'operator~' (operand type is 'IPAddress')

@stanelie
Copy link

Duplicate : #113

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