comment fixed.
authorNathael Pajani <nathael.pajani@ed3l.fr>
Mon, 11 Mar 2013 16:30:33 +0000 (17:30 +0100)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:04 +0000 (17:03 +0100)
drivers/i2c.c

index 5e0f456..e629857 100644 (file)
@@ -452,7 +452,7 @@ void set_i2c_pins(void)
 
        /* Make sure IO_Config is clocked */
        sys_ctrl->sys_AHB_clk_ctrl |= LPC_SYS_ABH_CLK_CTRL_IO_CONFIG;
-       ioctrl->pio0_10 = LPC_IO_FUNC_ALT(2) | LPC_IO_OPEN_DRAIN_ENABLE; /* True open drai */
+       ioctrl->pio0_10 = LPC_IO_FUNC_ALT(2) | LPC_IO_OPEN_DRAIN_ENABLE; /* True open drain */
        ioctrl->pio0_11 = LPC_IO_FUNC_ALT(2) | LPC_IO_OPEN_DRAIN_ENABLE;
        /* Config done, power off IO_CONFIG block */
        sys_ctrl->sys_AHB_clk_ctrl &= ~LPC_SYS_ABH_CLK_CTRL_IO_CONFIG;