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: oldheating gps motorhome heating
Diff: tcp/tcpsend.c
- Revision:
- 165:29a9e5f2eaef
- Parent:
- 164:84b20bcd0941
- Child:
- 166:89e3ce39b31b
--- a/tcp/tcpsend.c Tue Mar 31 10:52:21 2020 +0000
+++ b/tcp/tcpsend.c Wed Apr 01 13:36:27 2020 +0000
@@ -20,22 +20,6 @@
#define MAX_RETRANSMISSIONS 5
#define TIMEOUT_BROKEN_LINK_MS 600000
-
-static void led(int number)
-{
- switch (number)
- {
- case 0: Led1Set(0); Led2Set(0); Led3Set(0); break;
- case 1: Led1Set(1); Led2Set(0); Led3Set(0); break;
- case 2: Led1Set(0); Led2Set(1); Led3Set(0); break;
- case 3: Led1Set(1); Led2Set(1); Led3Set(0); break;
- case 4: Led1Set(0); Led2Set(0); Led3Set(1); break;
- case 5: Led1Set(1); Led2Set(0); Led3Set(1); break;
- case 6: Led1Set(0); Led2Set(1); Led3Set(1); break;
- case 7: Led1Set(1); Led2Set(1); Led3Set(1); break;
- }
-}
-
static void log(uint16_t remPort, char* fmt, ...)
{
if (TcpTrace)