AlphaLima / ESP32-Serial-Bridge

Wifi to 3x Serial bridge based on a ESP32
http://www.postfrontal.com/forum/topic.asp?TOPIC_ID=8467
MIT License
407 stars 137 forks source link

invalid use of void #12

Closed Poggibonsi1948 closed 2 years ago

Poggibonsi1948 commented 4 years ago

compiling the sketch in Arduino the compiler returns with the following message:

ESP32-Serial-Bridge:101:5: error: invalid use of 'void' .onEnd([]() { <--- here it stops

I have no clue to solve this. Can anybody show me a way?

sdrshnptl commented 3 years ago

I'm pretty much sure you have mistake in syntax.

https://github.com/AlphaLima/ESP32-Serial-Bridge/blob/f6c6ada6aa9a437e4c4a2436d45f98551cd9d6fe/ESP32-Serial-Bridge.ino#L104