altos: Eliminate 'pin' field from GPIO functions
[fw/altos] / src / lpc / ao_boot_pin.c
index e3c7d0c16d3d19e292fe8c1386f8af22c534e5d9..a51c7f8d45414d59eb9a47b47adeb54714ebefdd 100644 (file)
@@ -36,7 +36,7 @@ ao_boot_check_pin(void)
                ao_arch_nop();
 
        /* Read the value */
-       v = ao_gpio_get(AO_BOOT_APPLICATION_GPIO, AO_BOOT_APPLICATION_PIN, AO_BOOT_APPLICATION);
+       v = ao_gpio_get(AO_BOOT_APPLICATION_GPIO, AO_BOOT_APPLICATION_PIN);
 
        /* Reset the chip to turn off the port and the power interface clock */
        ao_gpio_set_mode(AO_BOOT_APPLICATION_GPIO, AO_BOOT_APPLICATION_PIN, 0);