Skip to content

Commit

Permalink
[N64] Switch data line config from open drain to push-pull
Browse files Browse the repository at this point in the history
This fix an interoperability issue with N64 Digital.
We shouldn't need to do this...

Closes #264
  • Loading branch information
darthcloud committed May 23, 2022
1 parent 3ae97ac commit afe124a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/wired/nsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ void nsi_init(void) {
RMT.conf_ch[rmt_ch[i][system]].conf1.rx_filter_en = 0;

PIN_FUNC_SELECT(GPIO_PIN_MUX_REG_IRAM[gpio_pin[i]], PIN_FUNC_GPIO);
gpio_set_direction_iram(gpio_pin[i], GPIO_MODE_INPUT_OUTPUT_OD); /* Bidirectional open-drain */
gpio_set_direction_iram(gpio_pin[i], GPIO_MODE_INPUT_OUTPUT); /* Bidirectional open-drain */
gpio_matrix_out(gpio_pin[i], RMT_SIG_OUT0_IDX + rmt_ch[i][system], 0, 0);
gpio_matrix_in(gpio_pin[i], RMT_SIG_IN0_IDX + rmt_ch[i][system], 0);

Expand Down

0 comments on commit afe124a

Please sign in to comment.