Diaoul / arduino-ESP8266

An Arduino library to manage the ESP8266.
MIT License
68 stars 46 forks source link

Calcuate string/char array size correctly #13

Closed jonathanchristison closed 9 years ago

jonathanchristison commented 9 years ago

Fix for issues brought up in https://github.com/Diaoul/arduino-ESP8266/pull/11

jonathanchristison commented 9 years ago

You're right its pointless, I thought it might be necessary to also send the null terminator but after a few quick tests it seems fine without.

lasselukkari commented 9 years ago

I only ran one test with a char * but it seems that the problem is fixed now. Good work!

lasselukkari commented 9 years ago

I ran some more tests. Everything is working again as it should. Thanks again!

Diaoul commented 9 years ago

Thanks for the fix :+1: