fixed typo

This commit is contained in:
Markus Fröschle
2015-01-15 15:16:51 +00:00
parent 102876cdf6
commit f8c5b12ec4
3 changed files with 5 additions and 4 deletions

View File

@@ -197,3 +197,4 @@ util/printf_helper.S
util/wait.c util/wait.c
bas.lk.in bas.lk.in
i2c/i2c.c i2c/i2c.c
Makefile

View File

@@ -1,4 +1,4 @@
# # Makefile for Firebee BaS # Makefile for Firebee BaS
# #
# This Makefile is meant for cross compiling the BaS with Vincent Riviere's cross compilers. # This Makefile is meant for cross compiling the BaS with Vincent Riviere's cross compilers.
# If you want to compile native on an Atari (you will need at least GCC 4.6.3), set # If you want to compile native on an Atari (you will need at least GCC 4.6.3), set
@@ -9,7 +9,7 @@
# can be either "Y" or "N" (without quotes). "Y" for using the m68k-elf-, "N" for using the m68k-atari-mint # can be either "Y" or "N" (without quotes). "Y" for using the m68k-elf-, "N" for using the m68k-atari-mint
# toolchain # toolchain
COMPILE_ELF=N COMPILE_ELF=Y
ifeq (Y,$(COMPILE_ELF)) ifeq (Y,$(COMPILE_ELF))
TCPREFIX=m68k-elf- TCPREFIX=m68k-elf-
@@ -41,7 +41,7 @@ CFLAGS=-mcpu=5474 \
CFLAGS_OPTIMIZED = -mcpu=5474 \ CFLAGS_OPTIMIZED = -mcpu=5474 \
-Wall \ -Wall \
-O2 \ -O2 \
-g \ -g \
-fomit-frame-pointer \ -fomit-frame-pointer \
-ffreestanding \ -ffreestanding \
-fleading-underscore \ -fleading-underscore \

View File

@@ -10,7 +10,7 @@ void i2c_set_frequency(int hz)
{ {
} }
int i2c_read(int address, char *data, int lengt, bool repeated) int i2c_read(int address, char *data, int length, bool repeated)
{ {
return 0; return 0;
} }