summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>2017-02-17 21:19:07 +0530
committerStefan Agner <stefan.agner@toradex.com>2017-02-17 12:58:16 -0800
commit3ff48feae1e83761563a554a6b10faa8ebcc6356 (patch)
tree69b303d673f64cf465f64b1eebeda828f87fd1d9 /examples
parent2f818b5e1b05ee0ce5cb7073ea312bb216ec591b (diff)
vf6xx: gpio_vf6xx: correct the GPIO toggle control
Drop unnecessary parameter gpio_pin_action_t and use the port toggle register to toggle the pin. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/vf6xx_colibri_m4/demo_apps/gpio_sample/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vf6xx_colibri_m4/demo_apps/gpio_sample/main.c b/examples/vf6xx_colibri_m4/demo_apps/gpio_sample/main.c
index 8b29c54..8a78759 100644
--- a/examples/vf6xx_colibri_m4/demo_apps/gpio_sample/main.c
+++ b/examples/vf6xx_colibri_m4/demo_apps/gpio_sample/main.c
@@ -62,7 +62,7 @@ void switch_task(void *p)
void led_toggle_task(void *p)
{
for (;;) {
- GPIO_TogglePinOutput(GPIO(39), 39, gpioPinSet);
+ GPIO_TogglePinOutput(GPIO(39), 39);
vTaskDelay(500);
}