X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fcortex_m3.c;h=94fd6871852ae88f7897362d5b9f98614a443684;hp=1ffa604bc40678c28ce92d81769eabadf1e00d43;hb=50c086ffb94f199c088f4cc52b7887b668dddf00;hpb=e43979e7020ea9d05a3c0a2af444f292eacb6c53 diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c index 1ffa604bc4..94fd687185 100644 --- a/src/target/cortex_m3.c +++ b/src/target/cortex_m3.c @@ -908,7 +908,7 @@ int cortex_m3_set_breakpoint(struct target_s *target, breakpoint_t *breakpoint) if (breakpoint->type == BKPT_HARD) { - while(comparator_list[fp_num].used && (fp_num < cortex_m3->fp_num_code)) + while (comparator_list[fp_num].used && (fp_num < cortex_m3->fp_num_code)) fp_num++; if (fp_num >= cortex_m3->fp_num_code) { @@ -1091,7 +1091,7 @@ int cortex_m3_set_watchpoint(struct target_s *target, watchpoint_t *watchpoint) if (watchpoint->mask == 0xffffffffu) { - while(comparator_list[dwt_num].used && (dwt_num < cortex_m3->dwt_num_comp)) + while (comparator_list[dwt_num].used && (dwt_num < cortex_m3->dwt_num_comp)) dwt_num++; if (dwt_num >= cortex_m3->dwt_num_comp) {