diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-28 15:09:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-28 15:09:21 +0000 |
commit | b501edd4c0f7b4fffc6d187ee5e0bd862d381a79 (patch) | |
tree | 07710d24a89adbcbad9a5640a2ca1ea606534fd7 /apps | |
parent | f71ae9420678e0aea0e985a0dc7ae7ac4707b624 (diff) | |
download | nuttx-b501edd4c0f7b4fffc6d187ee5e0bd862d381a79.tar.gz nuttx-b501edd4c0f7b4fffc6d187ee5e0bd862d381a79.tar.bz2 nuttx-b501edd4c0f7b4fffc6d187ee5e0bd862d381a79.zip |
Add GCC 4.5.2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3535 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/vsn/ramtron/ramtron.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/vsn/ramtron/ramtron.c b/apps/vsn/ramtron/ramtron.c index 323a42247..2f0479e13 100644 --- a/apps/vsn/ramtron/ramtron.c +++ b/apps/vsn/ramtron/ramtron.c @@ -42,6 +42,7 @@ #include <stdio.h> #include <debug.h> #include <errno.h> +#include <string.h> #include <nuttx/spi.h> #include <nuttx/mtd.h> @@ -72,7 +73,7 @@ int ramtron_start(int spino) printf("RAMTRON: FM25V10 of size 128 kB\n"); //printf("RAMTRON: %s of size %d B\n", ramtron_getpart(mtd), ramtron_getsize(mtd) ); - retval = ftl_initialize(0, NULL, mtd); + retval = ftl_initialize(0, mtd); printf("RAMTRON: FTL Initialized (returns with %d)\n", retval); return OK; |