mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
fix SIM sensor rpmsg runtime error by asan report.
Signed-off-by: likun17 <likun17@xiaomi.com>
This commit is contained in:
@@ -303,8 +303,8 @@
|
||||
|
||||
/* The additional sensor open flags */
|
||||
|
||||
#define SENSOR_REMOTE (1 << 31)
|
||||
#define SENSOR_PERSIST (1 << 30)
|
||||
#define SENSOR_REMOTE (1u << 31)
|
||||
#define SENSOR_PERSIST (1u << 30)
|
||||
|
||||
/****************************************************************************
|
||||
* Inline Functions
|
||||
|
||||
Reference in New Issue
Block a user