17
rt-thread/components/utilities/ymodem/ry_sy.h
Normal file
17
rt-thread/components/utilities/ymodem/ry_sy.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef __RY_SY_H__
|
||||
#define __RY_SY_H__
|
||||
|
||||
#include "dfs.h"
|
||||
#include "ymodem.h"
|
||||
|
||||
struct rym_file_ctx
|
||||
{
|
||||
struct rym_ctx parent;
|
||||
int fd;
|
||||
int flen;
|
||||
char fpath[DFS_PATH_MAX];
|
||||
};
|
||||
|
||||
rt_err_t rym_download_file(rt_device_t idev, struct rym_file_ctx *ctx, rt_bool_t v5_adapt);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user