mtongnz / ESP8266_ArtNetNode_v2

ESP8266 based WiFi ArtNet to DMX, RDM and LED Pixels
GNU General Public License v3.0
606 stars 158 forks source link

The code reports an error in the editor #137

Open yuta-sakata opened 3 years ago

yuta-sakata commented 3 years ago

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 commented 1 year ago

Duplicate : https://github.com/mtongnz/ESP8266_ArtNetNode_v2/issues/113