fix(template) prototype error (#2755)
This commit is contained in:
@@ -25,15 +25,15 @@
|
|||||||
**********************/
|
**********************/
|
||||||
static void fs_init(void);
|
static void fs_init(void);
|
||||||
|
|
||||||
static lv_fs_res_t fs_open(lv_fs_drv_t * drv, void * file_p, const char * path, lv_fs_mode_t mode);
|
static void * fs_open(lv_fs_drv_t * drv, void * file_p, const char * path, lv_fs_mode_t mode);
|
||||||
static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p);
|
static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p);
|
||||||
static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * br);
|
static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * br);
|
||||||
static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint32_t * bw);
|
static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint32_t * bw);
|
||||||
static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence););
|
static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
|
||||||
static lv_fs_res_t fs_size(lv_fs_drv_t * drv, void * file_p, uint32_t * size_p);
|
static lv_fs_res_t fs_size(lv_fs_drv_t * drv, void * file_p, uint32_t * size_p);
|
||||||
static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
|
static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
|
||||||
|
|
||||||
static lv_fs_res_t fs_dir_open(lv_fs_drv_t * drv, void * rddir_p, const char *path);
|
static void * fs_dir_open(lv_fs_drv_t * drv, const char *path);
|
||||||
static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * rddir_p, char * fn);
|
static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * rddir_p, char * fn);
|
||||||
static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * rddir_p);
|
static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * rddir_p);
|
||||||
|
|
||||||
@@ -217,7 +217,7 @@ static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p)
|
|||||||
* @param path path to a directory
|
* @param path path to a directory
|
||||||
* @return pointer to the directory read descriptor or NULL on error
|
* @return pointer to the directory read descriptor or NULL on error
|
||||||
*/
|
*/
|
||||||
static void * fs_dir_open(lv_fs_drv_t * drv, void * rddir_p, const char *path)
|
static void * fs_dir_open(lv_fs_drv_t * drv, const char *path)
|
||||||
{
|
{
|
||||||
void * dir = NULL;
|
void * dir = NULL;
|
||||||
/*Add your code here*/
|
/*Add your code here*/
|
||||||
|
|||||||
Reference in New Issue
Block a user