TFTP
make the context more readable
This commit is contained in:
@@ -24,10 +24,10 @@ int tftp_write(void* handle, struct pbuf* p) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct tftp_context tftpContext_s = {
|
struct tftp_context tftpContext_s = {
|
||||||
tftp_open,
|
.open = tftp_open,
|
||||||
tftp_close,
|
.close = tftp_close,
|
||||||
tftp_read,
|
.read = tftp_read,
|
||||||
tftp_write
|
.write = tftp_write
|
||||||
};
|
};
|
||||||
|
|
||||||
void tftp_server_init(void) {
|
void tftp_server_init(void) {
|
||||||
|
|||||||
Reference in New Issue
Block a user