Skip to content

Commit c538919

Browse files
committed
MIMXRT1050: Update the ENET driver to use wait_us
Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent d75d9a6 commit c538919

File tree

1 file changed

+1
-1
lines changed
  • features/netsocket/emac-drivers/TARGET_NXP_EMAC/TARGET_IMX/TARGET_MIMXRT1050_EVK

1 file changed

+1
-1
lines changed

features/netsocket/emac-drivers/TARGET_NXP_EMAC/TARGET_IMX/TARGET_MIMXRT1050_EVK/hardware_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ void kinetis_init_eth_hardware(void)
215215
/* pull up the ENET_INT before RESET. */
216216
GPIO_WritePinOutput(GPIO1, 10, 1);
217217
GPIO_WritePinOutput(GPIO1, 9, 0);
218-
wait_ms(1);
218+
wait_us(1 * 1000);
219219
GPIO_WritePinOutput(GPIO1, 9, 1);
220220
}
221221

0 commit comments

Comments
 (0)