mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 12:08:16 +08:00
improve file receiver
This commit is contained in:
parent
7201d2586e
commit
5942a77391
@ -38,6 +38,7 @@ file_receiver_t* file_receiver_create(uint32_t block_size, const char* productid
|
||||
if (productid != NULL) {
|
||||
tk_strncpy(receiver->productid, productid, TK_NAME_LEN);
|
||||
}
|
||||
emitter_init(&(receiver->emitter));
|
||||
|
||||
return receiver;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user