URL:
<http://savannah.nongnu.org/bugs/?33130>
Summary: twitest.c source code is broken
Project: AVR C Runtime Library
Submitted by: tinss
Submitted on: Wed 20 Apr 2011 05:05:15 AM GMT
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: Any
Fixed Release: None
_______________________________________________________
Details:
The loop at line never exits, because len is reset to 0 when a NAK is received
and thus wraps around at the next iteration.
See attached for a fix.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 20 Apr 2011 05:05:15 AM GMT Name: twitest.c Size: 14kB By: tinss
<http://savannah.nongnu.org/bugs/download.php?file_id=23279>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?33130>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev