Skip to content

Commit

Permalink
Update components/drivers/core/device.c
Browse files Browse the repository at this point in the history
Co-authored-by: Meco Man <[email protected]>
  • Loading branch information
yuqingli05 and mysterywolf authored Dec 20, 2024
1 parent 14de595 commit ab7bf90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/drivers/core/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ rt_err_t rt_device_register(rt_device_t dev,
rt_wqueue_init(&(dev->wait_queue));
#endif /* RT_USING_POSIX_DEVIO */

#if((defined RT_USING_DFS_V2) && (defined RT_USING_DFS_DEVFS))
#if defined (RT_USING_DFS_V2) && defined (RT_USING_DFS_DEVFS)
dfs_devfs_device_add(dev);
#endif /* RT_USING_DFS_V2 */

Expand Down

0 comments on commit ab7bf90

Please sign in to comment.