X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cpu%2Favr%2Fdrv%2Fflash_avr.c;h=8a4c15093096cbf916d03542c0f0cb8a7522dc74;hb=35ae4275d8730a376ca61a92f08fb447eb2935b3;hp=a42136c3f8c6ea8002d28ee0dccd7f2369601e83;hpb=9c6545aacf8bb77445e7c19e41117d2318d752cc;p=bertos.git diff --git a/cpu/avr/drv/flash_avr.c b/cpu/avr/drv/flash_avr.c index a42136c3..8a4c1509 100644 --- a/cpu/avr/drv/flash_avr.c +++ b/cpu/avr/drv/flash_avr.c @@ -51,7 +51,7 @@ #include // MIN() #include #include -#include +#include #include @@ -210,7 +210,7 @@ static bool flash_avr_close(UNUSED_ARG(struct _KFile *,fd)) * Move \a fd file seek position of \a offset bytes * from current position. */ -static int32_t flash_avr_seek(struct _KFile *fd, int32_t offset, KSeekMode whence) +static int32_t flash_avr_seek(struct _KFile *fd, kfile_off_t offset, KSeekMode whence) { uint32_t seek_pos;