Closed florian-guillemard closed 5 years ago
Hi,
I would like to disable serial debug on compilation with a flag like NODEBUG_SOCKETIOCLIENT
Is it possible to change this :
#define SOCKETIOCLIENT_DEBUG(...) Serial.printf(__VA_ARGS__); //#define SOCKETIOCLIENT_DEBUG(...)
By :
#ifndef NODEBUG_SOCKETIOCLIENT #define SOCKETIOCLIENT_DEBUG(...) Serial.printf(__VA_ARGS__); #else #define SOCKETIOCLIENT_DEBUG(...) #endif
Thanks,
sure, sounds reasonable. Would you mind making a pullrequest or shoud I just commit it for you? cheers!
Could you commit it for me, please ?
done!
Hi,
I would like to disable serial debug on compilation with a flag like NODEBUG_SOCKETIOCLIENT
Is it possible to change this :
By :
Thanks,