mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Add ENC28J60 Interrupt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2651 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1981,7 +1981,7 @@ static int enc_reset(FAR struct enc_driver_s *priv)
|
||||
regval = enc_rdbreg(priv, ENC_EREVID);
|
||||
if (regval == 0x00 || regval == 0xff)
|
||||
{
|
||||
nlldbg("Bad Rev ID: %0x\n", regval);
|
||||
nlldbg("Bad Rev ID: %02x\n", regval);
|
||||
return -ENODEV;
|
||||
}
|
||||
nllvdbg("Rev ID: %02x\n", regval);
|
||||
|
||||
Reference in New Issue
Block a user