bugAVR C Runtime Library - Bugs: bug #49447, Example code for uart_putchar()...

 
 

bug #49447: Example code for uart_putchar() has error in recursive call

Submitted by:  Norman Dunbar <normandunbar>
Submitted on:  Wed 26 Oct 2016 11:57:57 AM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: FixedPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Closed
Release: 2.0.0Fixed Release: 2.0.1

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 27 Oct 2016 10:21:56 PM UTC, comment #2:

No worries. Thanks for all the hard work.

Cheers,
Norm.

Norman Dunbar <normandunbar>
Thu 27 Oct 2016 08:42:10 PM UTC, comment #1:

Thanks for catching this. Fixing it was simple. ;-)

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Wed 26 Oct 2016 11:57:57 AM UTC, original submission:

Good Afternoon All,

I have checked the bug database for anything relating to uart_putchar() and found two references that do not cover the following.

In the example code given in Note 2 for "Running stdio without malloc()" in the section covering the "<stdio.h>" header features, the recursive call to uart_putchar() is missing the second "stream" parameter.

The example given is:

And I'm sure it should be:

The example given just prior to the above section is correct in that it does pass the second parameter.

Cheers,
Norm.

Norman Dunbar <normandunbar>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by normandunbar (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 27 Oct 2016 08:42:10 PM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>2.0.1

    Back to the top


    Powered by Savane 3.1-cleanup1