enc28j60: Fix the MAC address configuration comment

The MAADRx register numbering was wrong.

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

View file

@ -386,8 +386,7 @@ reset(void)
the network is spread over exceptionally long cables, the default the network is spread over exceptionally long cables, the default
value of MACLCON2 may need to be increased. value of MACLCON2 may need to be increased.
9. Program the local MAC address into the 9. Program the local MAC address into the MAADR1:MAADR6 registers.
MAADR0:MAADR5 registers.
*/ */
setregbank(MACONX_BANK); setregbank(MACONX_BANK);