diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 09:19:49 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:13 -0800 |
commit | 2ec440588fa455e4609bae3d7fc146bf53f1bbab (patch) | |
tree | 468335f26e7b3d89b58a23276f2e531517243a59 /src/target/cortex_m3.h | |
parent | cdd2d9c2d0dee319ba5d2f419ac78aa6490bb74b (diff) |
cortex_m3_dwt_comparator_t -> struct cortex_m3_dwt_comparator
Remove misleading typedef and redundant suffix from struct cortex_m3_dwt_comparator.
Diffstat (limited to 'src/target/cortex_m3.h')
-rw-r--r-- | src/target/cortex_m3.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/cortex_m3.h b/src/target/cortex_m3.h index 82a7d413..f5dde5b1 100644 --- a/src/target/cortex_m3.h +++ b/src/target/cortex_m3.h @@ -127,14 +127,14 @@ struct cortex_m3_fp_comparator uint32_t fpcr_address; }; -typedef struct cortex_m3_dwt_comparator_s +struct cortex_m3_dwt_comparator { int used; uint32_t comp; uint32_t mask; uint32_t function; uint32_t dwt_comparator_address; -} cortex_m3_dwt_comparator_t; +}; struct cortex_m3_common { @@ -157,7 +157,7 @@ struct cortex_m3_common /* Data Watchpoint and Trace (DWT) */ int dwt_num_comp; int dwt_comp_available; - cortex_m3_dwt_comparator_t *dwt_comparator_list; + struct cortex_m3_dwt_comparator *dwt_comparator_list; struct reg_cache *dwt_cache; struct armv7m_common armv7m; |