[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-commit] [2187] Fix bug30735
From: |
Anitha Boyapati |
Subject: |
[avr-libc-commit] [2187] Fix bug30735 |
Date: |
Wed, 22 Sep 2010 11:34:28 +0000 |
Revision: 2187
http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2187
Author: aboyapati
Date: 2010-09-22 11:34:27 +0000 (Wed, 22 Sep 2010)
Log Message:
-----------
Fix bug30735
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 2010-09-22 10:25:15 UTC (rev 2186)
+++ trunk/avr-libc/ChangeLog 2010-09-22 11:34:27 UTC (rev 2187)
@@ -1,8 +1,13 @@
-2010-09-22 Anitha Boyapti <address@hidden>
+2010-09-22 Anitha Boyapati <address@hidden>
+ * doc/examples/twitest/twitest.c: Fix endaddr calculation
+ in ee24xx_write_page function.
+
+2010-09-22 Anitha Boyapati <address@hidden>
+
* doc/examples/stdiodemo/defines.h: Modify comment
-2010-09-22 Anitha Boyapti <address@hidden>
+2010-09-22 Anitha Boyapati <address@hidden>
Fix for bugs #30552 and #30569.
Thanks to Frederic Nadeau for the patch.
Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2010-09-22 10:25:15 UTC (rev 2186)
+++ trunk/avr-libc/NEWS 2010-09-22 11:34:27 UTC (rev 2187)
@@ -145,6 +145,7 @@
[#30552] Missing definition ADCW
[#30569] ATmega16U4/32U4 wrong bit definition
[#30669] Improve comment in stdiodemo
+ [#30735] bug in example twitest
* Other changes:
Modified: trunk/avr-libc/doc/examples/twitest/twitest.c
===================================================================
--- trunk/avr-libc/doc/examples/twitest/twitest.c 2010-09-22 10:25:15 UTC
(rev 2186)
+++ trunk/avr-libc/doc/examples/twitest/twitest.c 2010-09-22 11:34:27 UTC
(rev 2187)
@@ -368,7 +368,7 @@
int rv = 0;
uint16_t endaddr;
- if (eeaddr + len < (eeaddr | (PAGE_SIZE - 1)))
+ if (eeaddr + len <= (eeaddr | (PAGE_SIZE - 1)))
endaddr = eeaddr + len;
else
endaddr = (eeaddr | (PAGE_SIZE - 1)) + 1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-commit] [2187] Fix bug30735,
Anitha Boyapati <=