diff options
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | 2017-02-17 21:19:07 +0530 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-02-17 12:58:16 -0800 |
commit | 3ff48feae1e83761563a554a6b10faa8ebcc6356 (patch) | |
tree | 69b303d673f64cf465f64b1eebeda828f87fd1d9 /examples | |
parent | 2f818b5e1b05ee0ce5cb7073ea312bb216ec591b (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.c | 2 |
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); } |