enc28j60: Do not initialize MAIPGH for full duplex

MAIPGH should be programmed only if half duplex is used.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
This commit is contained in:
Benoît Thébaudeau 2015-07-14 21:22:19 +02:00
parent 121b066f04
commit 31e0c87a6f

View file

@ -411,7 +411,6 @@ reset(void)
/* Set non-back-to-back packet gap */ /* Set non-back-to-back packet gap */
writereg(MAIPGL, 0x12); writereg(MAIPGL, 0x12);
writereg(MAIPGH, 0x0c);
/* Set MAC address */ /* Set MAC address */
setregbank(MAADRX_BANK); setregbank(MAADRX_BANK);