Skip to content

Commit 62e1fe3

Browse files
GuEe-GUIRbb666
authored andcommitted
[Drivers/phy] Fixup header include for v2
Signed-off-by: GuEe-GUI <2991707448@qq.com>
1 parent 798c846 commit 62e1fe3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/drivers/include/rtdevice.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ extern "C" {
170170
#endif /* RT_USING_DM */
171171
#endif /* RT_USING_I2C */
172172

173-
#ifdef RT_USING_PHY
173+
#if defined(RT_USING_PHY) || defined(RT_USING_PHY_V2)
174174
#include "drivers/phy.h"
175-
#endif /* RT_USING_PHY */
175+
#endif /* RT_USING_PHY || RT_USING_PHY_V2 */
176176

177177
#ifdef RT_USING_SDIO
178178
#include "drivers/dev_mmcsd_core.h"

0 commit comments

Comments
 (0)