comparison pwplib/tty.c @ 56:5d819ba6891c

More cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 27 May 2010 22:48:37 +0300
parents 77f40a3c0095
children 7d4f6c33a6ac
comparison
equal deleted inserted replaced
55:77f40a3c0095 56:5d819ba6891c
49 49
50 pwp_tty.height=24; 50 pwp_tty.height=24;
51 pwp_tty.width=80; 51 pwp_tty.width=80;
52 } 52 }
53 53
54 void tty_write(u8*data,int lgt) 54 void tty_write(char *data, int lgt)
55 { 55 {
56 if(lgt<0)lgt=strlen(data); 56 if(lgt<0)lgt=strlen(data);
57 57
58 write(pwp_tty.fd,data,lgt); 58 write(pwp_tty.fd,data,lgt);
59 pwplib.timer_counter+=lgt; 59 pwplib.timer_counter+=lgt;