![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: prompt.cpp
- Revision:
- 75:bd3c647b860b
- Parent:
- 74:81c47fff88a5
- Child:
- 76:9f5f99dd895a
diff -r 81c47fff88a5 -r bd3c647b860b prompt.cpp --- a/prompt.cpp Mon Nov 24 16:43:16 2014 +0000 +++ b/prompt.cpp Mon Nov 24 18:57:54 2014 +0000 @@ -12,7 +12,6 @@ char last_debug_buf[ DEBUGBUFSIZE ] = "help"; FILE *fip, *fmask, *fgate, *fport, *fsip, *fsport, *fext, *fserext, *fudpport, *ftcpport, *ftip, *ftport; -uint8_t debug_prompt = 0; uint8_t bufptr = 0; uint8_t last_bufptr = 0; @@ -1095,7 +1094,7 @@ //cmd[ tmp ] = 0x0D; //cmd[ tmp + 1 ] = 0x00; strcpy( promptcb_last_cmd, cmd ); - //strcat( cmd, "\r\r\r" ); + strcat( cmd, "\r\r\r" ); pc.printf("\r\next=%d port=%d\r\ncmd=%s\r\n", ext, port, cmd ); send2callboxes( __build_cb_package__( ext, port, __PROMPT__, cmd, id_msg++, __CB_BUFFER_SIZE__ - __VZ_HEADER_OFFSET__, write_buffer ) );