Add board description.
[bertos.git] / examples / triface / boot / main.c
index 7af08126b67853ac18bc46dc61d009941cf5df90..d84dc2552873aa478e89ea5dd857c18b7626a4de 100644 (file)
@@ -57,7 +57,7 @@
 
 #include <drv/ser.h>
 #include <drv/timer.h>
-#include <drv/flash_avr.h>
+#include <drv/flash.h>
 
 #include <string.h>
 
@@ -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;