Skip to content

Commit

Permalink
fixup! Timeout for reset hook phase correction response
Browse files Browse the repository at this point in the history
add missing changes in snes.h
  • Loading branch information
mrehkopf committed Nov 18, 2018
1 parent 8a0b79a commit 72e040c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/snes.h
Expand Up @@ -49,6 +49,7 @@
#define SNES_CMD_RESET_LOOP_FAIL (0x85)
#define SNES_CMD_RESET_LOOP_PASS (0x86)
#define SNES_CMD_GAMELOOP (0xff)
#define SNES_CMD_RESET_LOOP_TIMEOUT (0x87)

#define MCU_CMD_RDY (0x55)
#define MCU_CMD_ERR (0xaa)
Expand All @@ -61,6 +62,7 @@

#define SNES_RELEASE_RESET_DELAY_US (2)
#define SNES_RESET_PULSELEN_MS (5)
#define SNES_RESET_LOOP_TIMEOUT (10) // 10ms steps x10 = 100ms

#define SNES_BOOL_TRUE (0x01)
#define SNES_BOOL_FALSE (0x00)
Expand Down

0 comments on commit 72e040c

Please sign in to comment.