Fix compile errors with debug on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3111 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
3bbbecd347
commit
99e6693dc4
@ -1970,8 +1970,8 @@ static inline int lpc17_phyinit(struct lpc17_driver_s *priv)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
ndbg("%dBase-T %s duplex\n",
|
ndbg("%dBase-T %s duplex\n",
|
||||||
priv->lp_mode & LPC17_SPEED_MASK == LPC17_SPEED_100 ? 100 : 10,
|
(priv->lp_mode & LPC17_SPEED_MASK) == LPC17_SPEED_100 ? 100 : 10,
|
||||||
priv->lp_mode & LPC17_DUPLEX_MASK == LPC17_DUPLEX_FULL ?"full" : "half");
|
(priv->lp_mode & LPC17_DUPLEX_MASK) == LPC17_DUPLEX_FULL ?"full" : "half");
|
||||||
|
|
||||||
/* Disable auto-configuration. Set the fixed speed/duplex mode.
|
/* Disable auto-configuration. Set the fixed speed/duplex mode.
|
||||||
* (probably more than little redundant).
|
* (probably more than little redundant).
|
||||||
@ -2281,7 +2281,7 @@ static inline int lpc17_ethinitialize(int intf)
|
|||||||
int ret;
|
int ret;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
DEBUGASSERT(inf < LPC17_NETHCONTROLLERS);
|
DEBUGASSERT(intf < LPC17_NETHCONTROLLERS);
|
||||||
priv = &g_ethdrvr[intf];
|
priv = &g_ethdrvr[intf];
|
||||||
|
|
||||||
/* Turn on the ethernet MAC clock */
|
/* Turn on the ethernet MAC clock */
|
||||||
|
Loading…
Reference in New Issue
Block a user