File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ void TelnetSpy::setDebugOutput(bool en) {
403
403
if (debugOutput) {
404
404
actualObject = this ;
405
405
#ifdef ESP8266
406
- os_install_putc1 (( void *) TelnetSpy_putc); // Set system printing (os_printf) to TelnetSpy
406
+ os_install_putc1 (TelnetSpy_putc); // Set system printing (os_printf) to TelnetSpy
407
407
system_set_os_print (true );
408
408
#else // ESP32
409
409
// ToDo: How can be done this for ESP32 ?
@@ -412,7 +412,7 @@ void TelnetSpy::setDebugOutput(bool en) {
412
412
if (actualObject == this ) {
413
413
#ifdef ESP8266
414
414
system_set_os_print (false );
415
- os_install_putc1 (( void *) TelnetSpy_ignore_putc); // Ignore system printing
415
+ os_install_putc1 (TelnetSpy_ignore_putc); // Ignore system printing
416
416
#else // ESP32
417
417
// ToDo: How can be done this for ESP32 ?
418
418
#endif
You can’t perform that action at this time.
0 commit comments