forked from len0rd/rockbox
misc: Fix some compile warnings when logf is enabled
Change-Id: I67b611cbbbe33113853f36da5047ba799f1dda5d
This commit is contained in:
parent
3d1dcebebb
commit
461704f803
2 changed files with 13 additions and 13 deletions
|
|
@ -348,7 +348,7 @@ static int syn_read_data(char *data, int data_len)
|
|||
syn_wait_clk_change(HI);
|
||||
|
||||
/* 4. If the guest is still driving DATA low, the transfer is commited
|
||||
to occur. Otherwise, the transfer is aborted. In either case,
|
||||
to occur. Otherwise, the transfer is aborted. In either case,
|
||||
the host raises ACK. */
|
||||
if (syn_get_data() == HI)
|
||||
{
|
||||
|
|
@ -439,7 +439,7 @@ static int syn_read_data(char *data, int data_len)
|
|||
/* 7d. The host lowers ACK */
|
||||
syn_set_ack(LO);
|
||||
|
||||
/* 7e. The host waits for the guest to raise CLK indicating
|
||||
/* 7e. The host waits for the guest to raise CLK indicating
|
||||
that the stop bit is ready */
|
||||
syn_wait_clk_change(HI);
|
||||
|
||||
|
|
@ -690,7 +690,7 @@ int touchpad_set_buttonlights(unsigned int led_mask, char brightness)
|
|||
void syn_info(void)
|
||||
{
|
||||
int i, val;
|
||||
int data[8];
|
||||
char data[8];
|
||||
|
||||
logf("syn_info...");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue