18 lines
288 B
C
18 lines
288 B
C
#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
|