From 6acf7b65104664f5cf5a3faca94ebd3d72781725 Mon Sep 17 00:00:00 2001 From: qwert Date: Tue, 29 Jul 2008 08:49:26 +0000 Subject: [PATCH] Sorry, this file should be updated in the previously commit but i've forget it. This is the keytag module with the correct error check routine. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1525 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/net/keytag.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bertos/net/keytag.c b/bertos/net/keytag.c index de890de3..1f57fdfe 100644 --- a/bertos/net/keytag.c +++ b/bertos/net/keytag.c @@ -113,8 +113,7 @@ void keytag_poll(struct TagPacket *pkt) } if (kfile_error(pkt->tag) != 0) { - if (kfile_error(pkt->tag) != SERRF_RXTIMEOUT) - kprintf("Error %08x\n", kfile_error(pkt->tag)); + kprintf("Error %08x\n", kfile_error(pkt->tag)); kfile_clearerr(pkt->tag); } -- 2.25.1