Menu

#1086 Printf not calling putchar function

closed-fixed
5
2013-05-25
2006-04-06
Anonymous
No

1)written putchar routine to send a character to
serial port.

2)when using puts function string is send to serial
port.

3)when using printf function no data is send to serial
(printf not calling putchar function)

above problem is there when using ds390 target
when using MSC51 problem does not . printf send data
to the serial port according to format specifier

Discussion

  • Nobody/Anonymous

    Printf not calling puchar function

     
  • Maarten Brock

    Maarten Brock - 2006-12-10
    • milestone: --> fixed
    • assigned_to: nobody --> maartenbrock
    • summary: Printf not calling puchar function --> Printf not calling putchar function
    • status: open --> closed-fixed
     
  • Maarten Brock

    Maarten Brock - 2006-12-10

    Logged In: YES
    user_id=888171
    Originator: NO

    putchar was already defined in tinibios.c to send data to SBUF0. Factored out together with getchar in putchar.c in SDCC 2.6.2 #4509.

     

Log in to post a comment.