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>
ico
Benoît Thébaudeau 2015-07-14 22:00:46 +02:00
parent 31e0c87a6f
commit 8a20e7c05c
1 changed files with 1 additions and 2 deletions

View File

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