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:
patacongo
2010-05-06 00:08:02 +00:00
parent a7b7d5695d
commit c69660315d
6 changed files with 170 additions and 89 deletions
+1 -1
View File
@@ -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);