From 8ea735ebacc4f4cd1b254bffb9bc29b31c303f81 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Wed, 11 Nov 2020 18:32:43 +0100 Subject: [PATCH] tcpTest continued --- cube/User/Src/tcpTest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cube/User/Src/tcpTest.c b/cube/User/Src/tcpTest.c index b8e1a1d..d355246 100644 --- a/cube/User/Src/tcpTest.c +++ b/cube/User/Src/tcpTest.c @@ -77,10 +77,9 @@ void tcpTestHandler(void *handle) { case 4: coloredMsg(LOG_YELLOW, "tth, now waiting for some input"); - uint16_t s = getSn_RxMAX(TCPTEST_SOCK); + uint16_t s = getSn_RX_RSR(TCPTEST_SOCK); coloredMsg(LOG_YELLOW, "tth, getSn_RxMAX returns %d", s); - state = 255; break; case 255: