forked from len0rd/rockbox
Fix a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10688 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
89ed855b89
commit
38a5aa1133
3 changed files with 5 additions and 4 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
char version[] = APPSVERSION;
|
char version[] = APPSVERSION;
|
||||||
|
|
||||||
void go_usb_mode() {
|
void go_usb_mode(void) {
|
||||||
/* Drop into USB mode. This does not check for disconnection. */
|
/* Drop into USB mode. This does not check for disconnection. */
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "kernel.h"
|
#include "kernel.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "string.h"
|
||||||
|
|
||||||
void lcd_init_device(void);
|
void lcd_init_device(void);
|
||||||
void lcd_update_rec(int, int, int, int);
|
void lcd_update_rec(int, int, int, int);
|
||||||
|
|
|
@ -55,7 +55,7 @@ void sc606_i2c_stop(void)
|
||||||
DELAY;
|
DELAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
void sc606_i2c_ack()
|
void sc606_i2c_ack(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
SDA_LO;
|
SDA_LO;
|
||||||
|
@ -106,7 +106,7 @@ int sc606_i2c_outb(unsigned char byte)
|
||||||
return sc606_i2c_getack();
|
return sc606_i2c_getack();
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned char sc606_i2c_inb()
|
unsigned char sc606_i2c_inb(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
unsigned char byte = 0;
|
unsigned char byte = 0;
|
||||||
|
@ -159,7 +159,7 @@ int sc606_read(unsigned char reg, unsigned char* data)
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
|
|
||||||
void sc606_init()
|
void sc606_init(void)
|
||||||
{
|
{
|
||||||
/* Set GPB2 (EN) to 1 */
|
/* Set GPB2 (EN) to 1 */
|
||||||
GPBCON = (GPBCON & ~(3<<4)) | 1<<4;
|
GPBCON = (GPBCON & ~(3<<4)) | 1<<4;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue