diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdef.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index da2610cb97..d392f84050 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -1390,6 +1390,9 @@ struct rt_device rt_uint16_t open_flag; /**< device open flag */ rt_uint8_t ref_count; /**< reference count */ +#ifdef RT_USING_DM + rt_uint8_t master_id; /**< 0 - 255 */ +#endif rt_uint8_t device_id; /**< 0 - 255 */ /* device call back */ |
