avr-libc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-commit] [2244] 2011-05-11 Eric B.


From: Eric Weddington
Subject: [avr-libc-commit] [2244] 2011-05-11 Eric B.
Date: Thu, 12 May 2011 03:33:43 +0000

Revision: 2244
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2244
Author:   arcanum
Date:     2011-05-12 03:33:42 +0000 (Thu, 12 May 2011)
Log Message:
-----------
2011-05-11  Eric B. Weddington  <address@hidden>

        Fix for bug #33130. Thanks to Antoine Mercier-Linteau for the patch.
        * doc/examples/twitest/twitest.c: Check for reception of NAK.

Ticket Links:
------------
    http://savannah.gnu.org/bugs/?33130

Modified Paths:
--------------
    trunk/avr-libc/ChangeLog
    trunk/avr-libc/NEWS
    trunk/avr-libc/doc/examples/twitest/twitest.c

Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog    2011-05-12 02:43:58 UTC (rev 2243)
+++ trunk/avr-libc/ChangeLog    2011-05-12 03:33:42 UTC (rev 2244)
@@ -1,5 +1,10 @@
 2011-05-11  Eric B. Weddington  <address@hidden>
 
+       Fix for bug #33130. Thanks to Antoine Mercier-Linteau for the patch.
+       * doc/examples/twitest/twitest.c: Check for reception of NAK.
+
+2011-05-11  Eric B. Weddington  <address@hidden>
+
        Fix for bug #32650.
        * include/util/delay.h.in: Add math.h to list of includes.
        * NEWS: Add to fixed bug list.

Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2011-05-12 02:43:58 UTC (rev 2243)
+++ trunk/avr-libc/NEWS 2011-05-12 03:33:42 UTC (rev 2244)
@@ -11,6 +11,7 @@
   [#32675] power_all_enable/disable does not affect timer1 on ATmega164P
   [#32698] power.h has additional endif that will break the build
   [#32988] Internal compiler error: build_unary_op
+  [#33130] twitest.c source code is broken
   [#33230] Sleep modes have incorrect names for ATtiny261/461/861
   [#33238] Wrong _VECTORS_SIZE for mega8U2 et al
   system when power_all_disable() is used

Modified: trunk/avr-libc/doc/examples/twitest/twitest.c
===================================================================
--- trunk/avr-libc/doc/examples/twitest/twitest.c       2011-05-12 02:43:58 UTC 
(rev 2243)
+++ trunk/avr-libc/doc/examples/twitest/twitest.c       2011-05-12 03:33:42 UTC 
(rev 2244)
@@ -325,6 +325,7 @@
        case TW_MR_DATA_ACK:
          *buf++ = TWDR;
          rv++;
+         if(twst == TW_MR_DATA_NACK) goto quit;
          break;
 
        default:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]