summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-12 10:09:37 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-12 10:09:37 -0600
commit3e8caf3af969b40b8088111ee77e5ccdc6c4980b (patch)
tree1245793cf62eb95d39c61949ff8d78c438c5c87c
parent17e994f544c2e4f5a4ed832231c46a1d9814bcc0 (diff)
downloadnuttx-3e8caf3af969b40b8088111ee77e5ccdc6c4980b.tar.gz
nuttx-3e8caf3af969b40b8088111ee77e5ccdc6c4980b.tar.bz2
nuttx-3e8caf3af969b40b8088111ee77e5ccdc6c4980b.zip
STM32 OTF FS host: Use of OTGFX_VTRACEn_ macros must match use of usbhost_tracen() interface
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_otgfshost.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c
index 4c53bb2ba..b7d39f93f 100644
--- a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c
+++ b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c
@@ -878,7 +878,7 @@ static void stm32_chan_halt(FAR struct stm32_usbhost_s *priv, int chidx,
* handling logic to know what to do next.
*/
- usbhost_trace2(OTGFS_VTRACE2_CHANHALT, chidx, chreason);
+ usbhost_vtrace2(OTGFS_VTRACE2_CHANHALT, chidx, chreason);
priv->chan[chidx].chreason = (uint8_t)chreason;
@@ -1484,7 +1484,7 @@ static int stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
{
/* Set up the IN data PID */
- usbhost_trace2(OTGFS_VTRACE2_ISOCIN, chidx, buflen);
+ usbhost_vtrace2(OTGFS_VTRACE2_ISOCIN, chidx, buflen);
chan->pid = OTGFS_PID_DATA0;
}
break;
@@ -1493,7 +1493,7 @@ static int stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
{
/* Setup the IN data PID */
- usbhost_trace2(OTGFS_VTRACE2_BULKIN, chidx, buflen);
+ usbhost_vtrace2(OTGFS_VTRACE2_BULKIN, chidx, buflen);
chan->pid = chan->indata1 ? OTGFS_PID_DATA1 : OTGFS_PID_DATA0;
}
break;
@@ -1502,7 +1502,7 @@ static int stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
{
/* Setup the IN data PID */
- usbhost_trace2(OTGFS_VTRACE2_INTRIN, chidx, buflen);
+ usbhost_vtrace2(OTGFS_VTRACE2_INTRIN, chidx, buflen);
chan->pid = chan->indata1 ? OTGFS_PID_DATA1 : OTGFS_PID_DATA0;
}
break;
@@ -1609,7 +1609,7 @@ static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
{
/* Set up the OUT data PID */
- usbhost_trace2(OTGFS_VTRACE2_ISOCOUT, chidx, buflen);
+ usbhost_vtrace2(OTGFS_VTRACE2_ISOCOUT, chidx, buflen);
chan->pid = OTGFS_PID_DATA0;
}
break;
@@ -1618,7 +1618,7 @@ static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
{
/* Setup the OUT data PID */
- usbhost_trace2(OTGFS_VTRACE2_BULKOUT, chidx, buflen);
+ usbhost_vtrace2(OTGFS_VTRACE2_BULKOUT, chidx, buflen);
chan->pid = chan->outdata1 ? OTGFS_PID_DATA1 : OTGFS_PID_DATA0;
}
break;
@@ -1627,7 +1627,7 @@ static int stm32_out_transfer(FAR struct stm32_usbhost_s *priv, int chidx,
{
/* Setup the OUT data PID */
- usbhost_trace2(OTGFS_VTRACE2_INTROUT, chidx, buflen);
+ usbhost_vtrace2(OTGFS_VTRACE2_INTROUT, chidx, buflen);
chan->pid = chan->outdata1 ? OTGFS_PID_DATA1 : OTGFS_PID_DATA0;
/* Toggle the OUT data PID for the next transfer */