Skip to content

Commit

Permalink
Reduce EXI speed
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed May 27, 2024
1 parent 92d4d35 commit ac10f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lwip/netif/enc28j60if.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static vu32 *const _piReg = (u32 *)0xCC003000;
#define ENC28J60_CMD_BFC(x) ((0xA0 | ((x) & 0x1F)) << 24) // Bit Field Clear
#define ENC28J60_CMD_SRC ((0xFF) << 24) // System Reset Command

#define ENC28J60_EXI_SPEED(cmd) (((cmd) == ENC28J60_CMD_SRC) ? EXI_SPEED1MHZ : EXI_SPEED32MHZ)
#define ENC28J60_EXI_SPEED(cmd) (((cmd) == ENC28J60_CMD_SRC) ? EXI_SPEED1MHZ : EXI_SPEED16MHZ)
#define ENC28J60_EXI_DUMMY(cmd) ((((cmd) >> 24) & 0x1F) < 0x1A)

#define ENC28J60_INIT_ERXST (0)
Expand Down

0 comments on commit ac10f01

Please sign in to comment.