mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
arch/sim: initialize 'rxbuf_size' and 'txbuf_size' instead of 'buf_size'.
Change-Id: I5442f022cafef6c0f636614ba739e11249713134 Signed-off-by: zhongan <zhongan@xiaomi.com>
This commit is contained in:
@@ -218,7 +218,8 @@ int up_rptun_init(void)
|
||||
rsc->rpmsg_vring0.num = 8;
|
||||
rsc->rpmsg_vring1.align = 8;
|
||||
rsc->rpmsg_vring1.num = 8;
|
||||
rsc->buf_size = 0x800;
|
||||
rsc->config.rxbuf_size = 0x800;
|
||||
rsc->config.txbuf_size = 0x800;
|
||||
|
||||
g_dev.shmem->base = (uintptr_t)g_dev.shmem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user