New sprintf.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@386 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-05-02 21:23:04 +00:00
parent 9376d05a3b
commit 8307cfd1c1
2 changed files with 4 additions and 3 deletions

View file

@ -6,10 +6,11 @@ OC = sh-elf-objcopy
INCLUDES=-I../.. -I../../drivers
CFLAGS = -g -Wall -m1 -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES)
CFLAGS = -g -Wall -m1 -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) -DDEBUG
AFLAGS += -small -relax
OBJS= crt0.o main.o ../../drivers/i2c.o ../../drivers/mas.o ../../debug.o
OBJS= crt0.o main.o ../../drivers/i2c.o ../../drivers/mas.o ../../debug.o \
../../common/sprintf.o
%.o: %.S
$(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $<

View file

@ -39,7 +39,7 @@ int main(void)
debugf("Olle: %d\n", 7);
i2c_init();
debug("I2C Init done\n");
debugf("I2C Init done\n");
i=mas_readmem(MAS_BANK_D1,0xff6,(unsigned long*)buf,2);
if (i) {
debugf("Error - mas_readmem() returned %d\n", i);