diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-01 12:22:44 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-01 12:22:44 +0000 |
commit | f7e838b2a215afb0e16257edd98fa6e9bbb5352a (patch) | |
tree | 2d244a7d06250855c08009c89d06ee153f7478e4 /nuttx | |
parent | 4e7823c4eb81a37bbc7ffa373020e886e34aa1b5 (diff) | |
download | px4-nuttx-f7e838b2a215afb0e16257edd98fa6e9bbb5352a.tar.gz px4-nuttx-f7e838b2a215afb0e16257edd98fa6e9bbb5352a.tar.bz2 px4-nuttx-f7e838b2a215afb0e16257edd98fa6e9bbb5352a.zip |
Fix register name
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2641 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rwxr-xr-x | nuttx/drivers/net/enc28j60.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/net/enc28j60.c b/nuttx/drivers/net/enc28j60.c index 607c9213f..70a9ad937 100755 --- a/nuttx/drivers/net/enc28j60.c +++ b/nuttx/drivers/net/enc28j60.c @@ -985,7 +985,7 @@ static int enc_uiptxpoll(struct uip_driver_s *dev) static void enc_linkstatus(FAR struct enc_driver_s *priv) { #if 0 - uint16_t regval = enc_rdphy(priv, PHSTAT2); + uint16_t regval = enc_rdphy(priv, ENC_PHSTAT2); priv->duplex = ((regval & PHSTAT2_DPXSTAT) != 0); priv->carrier = ((regval & PHSTAT2_LSTAT) != 0); #endif |