diff packages/redboot/current/src/net/net_io.c @ 128:0c2b7be0d798 ecos-sw-2000-10-12

Merge from eCos master repository on 2000-10-12-08:46:24-BST
author jlarmour
date Thu, 12 Oct 2000 20:31:43 +0000
parents bd1a71e3e476
children 0ae0bc38e387
line wrap: on
line diff
--- a/packages/redboot/current/src/net/net_io.c
+++ b/packages/redboot/current/src/net/net_io.c
@@ -370,6 +370,7 @@ net_io_revert_console(void)
 #endif
     CYGACC_CALL_IF_SET_CONSOLE_COMM(orig_console);
     CYGACC_CALL_IF_SET_DEBUG_COMM(orig_debug);
+    console_echo = true;
 }
 
 static void
@@ -378,6 +379,7 @@ net_io_assume_console(void)
 #ifdef CYGPKG_REDBOOT_ANY_CONSOLE
     console_selected = true;
 #endif
+    console_echo = false;
     orig_console = CYGACC_CALL_IF_SET_CONSOLE_COMM(CYGNUM_CALL_IF_SET_COMM_ID_QUERY_CURRENT);
     CYGACC_CALL_IF_SET_CONSOLE_COMM(TCP_CHANNEL);
     orig_debug = CYGACC_CALL_IF_SET_DEBUG_COMM(CYGNUM_CALL_IF_SET_COMM_ID_QUERY_CURRENT);