From 9767b202516e528f01ea5c88dd9be85b039928ca Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 3 Mar 2025 15:54:30 +0800 Subject: [PATCH] rptun: Align command value with rpmsg_virtio_lite so we can mix rptun and rpmsg_virtio_lite in the same system. Signed-off-by: Xiang Xiao --- include/nuttx/rptun/rptun.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/nuttx/rptun/rptun.h b/include/nuttx/rptun/rptun.h index 80970dc5212..9e84eaf7300 100644 --- a/include/nuttx/rptun/rptun.h +++ b/include/nuttx/rptun/rptun.h @@ -51,10 +51,10 @@ #define RPTUN_NOTIFY_ALL (UINT32_MAX - 0) #define RPTUN_CMD_DONE 0x0 -#define RPTUN_CMD_RESET 0x1 +#define RPTUN_CMD_READY 0x1 #define RPTUN_CMD_PANIC 0x2 -#define RPTUN_CMD_STOP 0x3 -#define RPTUN_CMD_READY 0x4 +#define RPTUN_CMD_RESET 0x3 +#define RPTUN_CMD_STOP 0x4 #define RPTUN_CMD_ACK 0xffff #define RPTUN_CMD_MASK 0xffff #define RPTUN_CMD_SHIFT 16