Skip to content

Commit 6c90a7a

Browse files
Update components/drivers/core/device.c
Co-authored-by: Meco Man <[email protected]>
1 parent 007896a commit 6c90a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/drivers/core/device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ rt_err_t rt_device_register(rt_device_t dev,
8484
rt_wqueue_init(&(dev->wait_queue));
8585
#endif /* RT_USING_POSIX_DEVIO */
8686

87-
#if((defined RT_USING_DFS_V2) && (defined RT_USING_DFS_DEVFS))
87+
#if defined (RT_USING_DFS_V2) && defined (RT_USING_DFS_DEVFS)
8888
dfs_devfs_device_add(dev);
8989
#endif /* RT_USING_DFS_V2 */
9090

0 commit comments

Comments
 (0)