Skip to content

Commit

Permalink
[DC/GC] Fix DC detection
Browse files Browse the repository at this point in the history
We should detect falling edge on D0 first but I always observe
it on D1. Swap it for now.

Maybe HW dont see D0 falling edge and trig on D1 rising edge
even if we set any edge??
  • Loading branch information
darthcloud committed May 21, 2020
1 parent 54f0f96 commit 33d5cf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/wired/detect.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static const uint8_t detect_pin_high[] = {
};

static const uint8_t system_id_low[] = {
N64, DC, GC, WII_EXT
N64, GC, DC, WII_EXT
};

static const uint8_t system_id_high[] = {
Expand Down
2 changes: 1 addition & 1 deletion main/wired/nsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ enum {
};

static const uint8_t gpio_pin[4][2] = {
{19, 22},
{19, 21},
{ 3, 3},
{26, 26},
{27, 27},
Expand Down

0 comments on commit 33d5cf0

Please sign in to comment.