-/*
+/**
* Private avr flush funtion.
*
* Write current buffered page in flash memory (if modified).
typedef struct KFileFlashAvr
{
/**
- * File descriptor.
- */
+ * File descriptor.
+ */
KFile fd;
/**
- * Current buffered page.
- */
+ * Current buffered page.
+ */
avr_page_t curr_page;
/**
- * Flag for checking if current page is modified.
- */
+ * Flag for checking if current page is modified.
+ */
bool page_dirty;
/**
- * Temporary buffer cointaing data block to
- * write on flash.
- */
+ * Temporary buffer cointaing data block to
+ * write on flash.
+ */
uint8_t page_buf[SPM_PAGESIZE];