Fix Wizard configuratino for module ser.
[bertos.git] / bertos / drv / flash25.c
index bb08907b36f9dacfb5503e2e49b8bfd5572443d1..0f67e3d443689b921ba14249dcd09b90bffbf32c 100644 (file)
@@ -56,7 +56,7 @@
 
 #include <cpu/power.h> /* cpu_relax() */
 
-#warning FIXME:This file was change, but is untest!
+#warning FIXME:This file was changed, but is untested!
 
 /**
  * Wait until flash memory is ready.
@@ -325,8 +325,7 @@ void flash25_sectorErase(Flash25 *fd, Flash25Sector sector)
         */
        flash25_waitReady(fd);
 
-       DB(kprintf("Erased sector [%ld] in %d ms\n", sector, ticks_to_ms(timer_clock() - start_time)));
-
+       DB(kprintf("Erased sector [%ld] in %ld ms\n", (unsigned long)sector, (unsigned long)ticks_to_ms(timer_clock() - start_time)));
 }
 
 /**