Skip to content

Commit

Permalink
prevent write contamination for I2C expander 0 #798
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Gardner-Stephen committed Apr 6, 2024
1 parent f1a836d commit e349f08
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 104 deletions.
2 changes: 2 additions & 0 deletions src/tools/i2cstatemapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ struct entry e[] = {
// so we have to schedule multiple jobs.

#ifdef KEYPAD
{ 0x02, 0x00, 0x01, 0x40, "Dummy to prevent writes messing with reads of IO Expander #0"},

{ 0x40, 0x00, 0x01, 0x00, "IO Expander #0 regs 0-1" },
{ 0x40, 0x02, 0x03, 0x02, "IO Expander #0 regs 2-3" },
{ 0x40, 0x04, 0x05, 0x04, "IO Expander #0 regs 4-5" },
Expand Down
Loading

0 comments on commit e349f08

Please sign in to comment.