From: qwert Date: Tue, 29 Jul 2008 08:49:26 +0000 (+0000) Subject: Sorry, this file should be updated in the previously commit but i've forget it. This... X-Git-Tag: 2.0.0~409 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=6acf7b65104664f5cf5a3faca94ebd3d72781725;hp=8ec6bf2e3bb3d87588ce76f0d6d9e83b98838d99;p=bertos.git 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 --- 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); }