Skip to content

Commit

Permalink
piolib: examples: dpi_csync: Bug fix
Browse files Browse the repository at this point in the history
Was not initializing correct output pin in interlaced mode
  • Loading branch information
njhollinghurst authored and pelwell committed Dec 12, 2024
1 parent bf27369 commit 9d884c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piolib/examples/dpi_csync.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ static int setup_pio_for_csync_ilace(PIO pio)
pio_gpio_init(pio, opt_gpio);
sm_config_set_jmp_pin(&cfg, 2); /* DPI VSync "helper" signal is GPIO 2 */
pio_sm_init(pio, sm, offset, &cfg);
pio_sm_set_consecutive_pindirs(pio, sm, i, 1, true);
pio_sm_set_consecutive_pindirs(pio, sm, opt_gpio, 1, true);
pio_sm_put(pio, sm, opt_vsw - 1);
pio_sm_set_enabled(pio, sm, true);

Expand Down

0 comments on commit 9d884c7

Please sign in to comment.