diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-09-09 17:27:21 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-09-09 17:27:21 -0600 |
commit | 45ca8863df1720fa2a7362dc8dea97334691a346 (patch) | |
tree | d5f5e9dadaa0698c7b45c0b1582c067193401107 /nuttx/drivers/usbhost/usbhost_trace.c | |
parent | 91becdb75746f65f27d6e87bd8d3d9f926ddbefe (diff) | |
download | px4-nuttx-45ca8863df1720fa2a7362dc8dea97334691a346.tar.gz px4-nuttx-45ca8863df1720fa2a7362dc8dea97334691a346.tar.bz2 px4-nuttx-45ca8863df1720fa2a7362dc8dea97334691a346.zip |
Extent the the USB host trace logic to include verbose debug output
Diffstat (limited to 'nuttx/drivers/usbhost/usbhost_trace.c')
-rw-r--r-- | nuttx/drivers/usbhost/usbhost_trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/usbhost/usbhost_trace.c b/nuttx/drivers/usbhost/usbhost_trace.c index cb34d8fd2..92dc2c570 100644 --- a/nuttx/drivers/usbhost/usbhost_trace.c +++ b/nuttx/drivers/usbhost/usbhost_trace.c @@ -72,8 +72,8 @@ #ifdef CONFIG_USBHOST_TRACE static uint32_t g_trace[CONFIG_USBHOST_TRACE_NRECORDS]; -static uint16_t g_head = 0; -static uint16_t g_tail = 0; +static volatile uint16_t g_head = 0; +static volatile uint16_t g_tail = 0; static volatile bool g_disabled = false; #endif |