net-enc28j60: fix PHY read unreliable due to missing dummy byte.

This commit is contained in:
Dario Nieuwenhuis
2023-08-12 03:07:13 +02:00
parent 4af1cf88d2
commit 253b28deba
2 changed files with 13 additions and 9 deletions

View File

@ -30,7 +30,6 @@ register!(PHCON2, 0, u16, {
});
register!(PHSTAT2, 0, u16, {
// Datasheet says it's bit 10, but it's actually bit 2 ?!?!
#[doc = "Link Status bit"]
lstat @ 2,
lstat @ 10,
});