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 = {
|
||||
tftp_open,
|
||||
tftp_close,
|
||||
tftp_read,
|
||||
tftp_write
|
||||
.open = tftp_open,
|
||||
.close = tftp_close,
|
||||
.read = tftp_read,
|
||||
.write = tftp_write
|
||||
};
|
||||
|
||||
void tftp_server_init(void) {
|
||||
|
||||
Reference in New Issue
Block a user