[lkml]   [2011]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Uartlite - ulite_transmit
>>>>> "Michal" == Michal Simek <> writes:


>> /* flush input and output queues, important for modems! */
>> tcflush(0, TCIOFLUSH);
>> You could change that to a tcdrain() if that's not what you want.

Michal> Great that's work. Just for the record it is tcdrain(STDOUT_FILENO);

Yes. Notice that the code has changed a bit in busybox git (but same

Michal> Patch against busybox 1.14.3 version is below. Maybe worth to
Michal> added it mainline busybox.

Yes, please bring it up with the busybox devs.

Michal> Thanks for your big help.

You're welcome.

Bye, Peter Korsgaard

 \ /
  Last update: 2011-01-20 09:09    [W:0.049 / U:14.928 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site