]> git.sur5r.net Git - openocd/blobdiff - src/target/armv7m_trace.h
target/armv7m_trace: Fix typo in enum
[openocd] / src / target / armv7m_trace.h
index d35b637e4f7f4402a5d3c5d75be9256febe43080..02bec96a172624595a36e5a60e1c406aa9666679 100644 (file)
@@ -15,8 +15,8 @@
  *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 
-#ifndef ARMV7M_TRACE_H
-#define ARMV7M_TRACE_H
+#ifndef OPENOCD_TARGET_ARMV7M_TRACE_H
+#define OPENOCD_TARGET_ARMV7M_TRACE_H
 
 #include <target/target.h>
 #include <command.h>
@@ -32,7 +32,7 @@ enum trace_config_type {
        INTERNAL        /**< trace output is handled by OpenOCD adapter driver */
 };
 
-enum tpio_pin_protocol {
+enum tpiu_pin_protocol {
        SYNC,                   /**< synchronous trace output */
        ASYNC_MANCHESTER,       /**< asynchronous output with Manchester coding */
        ASYNC_UART              /**< asynchronous output with NRZ coding */
@@ -50,7 +50,7 @@ struct armv7m_trace_config {
        enum trace_config_type config_type;
 
        /** Currently active trace output mode */
-       enum tpio_pin_protocol pin_protocol;
+       enum tpiu_pin_protocol pin_protocol;
        /** TPIU formatter enable/disable (in async mode) */
        bool formatter;
        /** Synchronous output port width */
@@ -88,4 +88,4 @@ int armv7m_trace_tpiu_config(struct target *target);
  */
 int armv7m_trace_itm_config(struct target *target);
 
-#endif
+#endif /* OPENOCD_TARGET_ARMV7M_TRACE_H */