From: asterix Date: Tue, 11 May 2010 10:14:51 +0000 (+0000) Subject: Comply to new flash module. X-Git-Tag: 2.5.0~269 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=efbc2906f4766d7ac1bbd5ebe49a667ec20ecea7;hp=cb5ac008ef47b00966b573c2df2c1eeacf452b98;p=bertos.git Comply to new flash module. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3648 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/examples/triface/boot/main.c b/examples/triface/boot/main.c index 7af08126..d84dc255 100644 --- a/examples/triface/boot/main.c +++ b/examples/triface/boot/main.c @@ -57,7 +57,7 @@ #include #include -#include +#include #include @@ -89,12 +89,12 @@ void wdt_init(void) int main(void) { - FlashAvr flash; + Flash flash; Serial ser; // Set up flash programming functions. - flash_avr_init(&flash); + flash_init(&flash); IRQ_ENABLE;