Skip to content
Permalink
Browse files

correct PINMODE assignment for CIC data lines

This doesn't fix anything because the lines' modes are always switched
both at a time. But the assignment was still vice versa.
  • Loading branch information...
mrehkopf committed Apr 4, 2019
1 parent b2f88ad commit 0ed0d294113df2eab8e6cff9b3164f38227b58bf
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/config.h
@@ -79,10 +79,10 @@
#define SNES_CIC_PAIR_BIT 25

#define SNES_CIC_D0_MODEREG LPC_PINCON->PINMODE0
#define SNES_CIC_D0_MODEBIT 1
#define SNES_CIC_D0_MODEBIT 3

#define SNES_CIC_D1_MODEREG LPC_PINCON->PINMODE0
#define SNES_CIC_D1_MODEBIT 3
#define SNES_CIC_D1_MODEBIT 1

/*
FPGA pin mapping

0 comments on commit 0ed0d29

Please sign in to comment.
You can’t perform that action at this time.