#1 Problem with serial initialization (solved)

open
nobody
None
5
2006-09-01
2006-09-01
Eddi De Pieri
No

By using a WRT54GL1.1 with your program (openwrt+uLibC)
I discovered a bug in initialization routine.

cfmakeraw(cfg); is called without initializing cfg with
OS settings.
tcgetattr(s,cfg);

Eddi De Pieri <dpeddi@users.sourceforge.net>

Discussion

  • Eddi De Pieri
    Eddi De Pieri
    2006-09-01

    added tcgetattr before tts initialization