mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
drivers/rpmsg: add slash check for sepical rpmsg dev
rpmsgdev match name too long, so add prefix Signed-off-by: rongyichang <rongyichang@xiaomi.com>
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
* Pre-processor definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define RPMSGDEV_NAME_PREFIX "rpdev-"
|
||||
#define RPMSGDEV_NAME_PREFIX_LEN 6
|
||||
#define RPMSGDEV_NAME_PREFIX "rpdev"
|
||||
#define RPMSGDEV_NAME_PREFIX_LEN 5
|
||||
|
||||
#define RPMSGDEV_OPEN 1
|
||||
#define RPMSGDEV_CLOSE 2
|
||||
|
||||
Reference in New Issue
Block a user