Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MurataTypeYD_RPC_Sample
Fork of SNICInterface_mod by
Diff: SNIC/SNIC_Core.cpp
- Revision:
- 40:b6b10c22a121
- Parent:
- 39:a1233ca02edf
- Child:
- 41:1c1b5ad4d491
diff -r a1233ca02edf -r b6b10c22a121 SNIC/SNIC_Core.cpp
--- a/SNIC/SNIC_Core.cpp Tue Jul 15 02:08:42 2014 +0000
+++ b/SNIC/SNIC_Core.cpp Tue Jul 15 09:56:37 2014 +0000
@@ -109,7 +109,7 @@
mUartRecvDispatchThread_p = new Thread( C_SNIC_Core::uartRecvDispatchThread, NULL, osPriorityNormal, UART_THREAD_STACK_SIZE);
if( mUartRecvDispatchThread_p == NULL )
{
- printf("[C_SNIC_Core::initUart] thread create failed\r\n");
+ DEBUG_PRINT("[C_SNIC_Core::initUart] thread create failed\r\n");
return -1;
}
@@ -290,9 +290,9 @@
int i;
for(i=0;i<uartRecvBuf_p->size;i++)
{
- printf("%02x", uartRecvBuf_p->buf[i]);
+ DEBUG_PRINT("%02x", uartRecvBuf_p->buf[i]);
}
- printf("\r\n");
+ DEBUG_PRINT("\r\n");
}
#endif
unsigned char command_id;
@@ -340,7 +340,7 @@
}
else
{
- printf(" The received data is not expected.\r\n");
+ DEBUG_PRINT(" The received data is not expected.\r\n");
}
//
