[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-commit] [2527] Fix for bug #49447: Example code for uart_putch
From: |
j |
Subject: |
[avr-libc-commit] [2527] Fix for bug #49447: Example code for uart_putchar() has error in recursive call |
Date: |
Thu, 27 Oct 2016 20:41:22 +0000 (UTC) |
Revision: 2527
http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2527
Author: joerg_wunsch
Date: 2016-10-27 20:41:22 +0000 (Thu, 27 Oct 2016)
Log Message:
-----------
Fix for bug #49447: Example code for uart_putchar() has error in recursive call
* include/stdio.h: Add 2nd "stream" parameter in example code
Ticket Links:
------------
http://savannah.gnu.org/bugs/?49447
Modified Paths:
--------------
trunk/avr-libc/ChangeLog
trunk/avr-libc/NEWS
trunk/avr-libc/include/stdio.h
Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog 2016-10-19 10:36:48 UTC (rev 2526)
+++ trunk/avr-libc/ChangeLog 2016-10-27 20:41:22 UTC (rev 2527)
@@ -1,3 +1,8 @@
+2016-10-27 Joerg Wunsch <address@hidden>
+
+ Fix for bug #49447: Example code for uart_putchar() has error in
recursive call
+ * include/stdio.h: Add 2nd "stream" parameter in example code
+
2016-10-19 azudem
Fix for bug #41689: add static_assert to assert.h
Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2016-10-19 10:36:48 UTC (rev 2526)
+++ trunk/avr-libc/NEWS 2016-10-27 20:41:22 UTC (rev 2527)
@@ -6,6 +6,7 @@
[#41689] add static_assert to assert.h
[#48898] power_usart3_* functions no more defined in power.h
[#49020] dtostre() flags documentation error
+ [#49447] Example code for uart_putchar() has error in recursive call
strings for storage in program memory
* New devices supported:
Modified: trunk/avr-libc/include/stdio.h
===================================================================
--- trunk/avr-libc/include/stdio.h 2016-10-19 10:36:48 UTC (rev 2526)
+++ trunk/avr-libc/include/stdio.h 2016-10-27 20:41:22 UTC (rev 2527)
@@ -214,7 +214,7 @@
{
if (c == '\n')
- uart_putchar('\r');
+ uart_putchar('\r', stream);
loop_until_bit_is_set(UCSRA, UDRE);
UDR = c;
return 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-commit] [2527] Fix for bug #49447: Example code for uart_putchar() has error in recursive call,
j <=