/**
* FlashAvr KFile context structure.
*/
-typedef struct KFileFlashAvr
+typedef struct FlashAvrKFile
{
/**
* File descriptor.
uint8_t page_buf[SPM_PAGESIZE];
-} KFileFlashAvr;
+} FlashAvrKFile;
#define KFT_FLASHAVR MAKE_ID('F', 'L', 'A', 'V')
/**
- * Convert + ASSERT from generic KFile to KFileFlashAvr.
+ * Convert + ASSERT from generic KFile to FlashAvrKFile.
*/
-INLINE KFileFlashAvr * KFILEFLASHAVR(KFile *fd)
+INLINE FlashAvrKFile * FLASHAVRKFILE(KFile *fd)
{
ASSERT(fd->_type == KFT_FLASHAVR);
- return (KFileFlashAvr *)fd;
+ return (FlashAvrKFile *)fd;
}
-void flash_avr_init(struct KFileFlashAvr *fd);
+void flash_avr_init(struct FlashAvrKFile *fd);