forked from len0rd/rockbox
firmware/ : use lcd_putsf() (only in debug code)
ata-meg-fx: use unsigned line number, so % (modulo) is optimized tcc7*: use proper printf format and remove casting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27935 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
71b2d2811b
commit
bc4b5366cd
5 changed files with 19 additions and 43 deletions
|
|
@ -988,10 +988,7 @@ static void serial_restart_output(int ep)
|
|||
if (blen)
|
||||
{
|
||||
#ifdef LCD_DEBUG
|
||||
char s[20];
|
||||
snprintf(s, sizeof(s), "o%03lx/%03x", block - serial_out_fifo.buf,
|
||||
blen);
|
||||
lcd_puts(0, 2, s);
|
||||
lcd_putsf(0, 2, "o%03lx/%03x", block - serial_out_fifo.buf, blen);
|
||||
lcd_update();
|
||||
#endif
|
||||
usb_send_block(block, blen, serial_free_out_fifo, ep);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue