From 7a9d53d7bdc19297b8420bc02f123d2db3b18b8c Mon Sep 17 00:00:00 2001 From: asterix Date: Tue, 11 May 2010 12:44:37 +0000 Subject: [PATCH] Comply to new api. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3651 38d2e660-2303-0410-9eaa-f027e97ec537 --- examples/develgps/develgps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/develgps/develgps.c b/examples/develgps/develgps.c index 8a46e183..c0be6800 100644 --- a/examples/develgps/develgps.c +++ b/examples/develgps/develgps.c @@ -43,7 +43,7 @@ #include #include #include -#include +#include #include #include @@ -84,7 +84,7 @@ static long target_lat, target_lon; /* Storage stuff */ #define GPS_POS_MAGIC 0xdeadbeef -static FlashLM3S flash; +static Flash flash; static void flash_load_target(void) { @@ -550,7 +550,7 @@ static void init(void) scrsvr_timestamp = ticks_to_ms(timer_clock_unlocked()); led_init(); - flash_lm3sInit(&flash); + flash_init(&flash); flash_load_target(); ser_init(&ser_port, SER_UART1); -- 2.25.1