Skip to content

Commit 8017ab7

Browse files
committed
update to get in line with latest Arduino Framework
see commit esp8266/Arduino#6550
1 parent 90cf231 commit 8017ab7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TelnetSpy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ void TelnetSpy::setDebugOutput(bool en) {
403403
if (debugOutput) {
404404
actualObject = this;
405405
#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
407407
system_set_os_print(true);
408408
#else // ESP32
409409
// ToDo: How can be done this for ESP32 ?
@@ -412,7 +412,7 @@ void TelnetSpy::setDebugOutput(bool en) {
412412
if (actualObject == this) {
413413
#ifdef ESP8266
414414
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
416416
#else // ESP32
417417
// ToDo: How can be done this for ESP32 ?
418418
#endif

0 commit comments

Comments
 (0)