]> git.sur5r.net Git - openocd/blobdiff - src/target/cortex_m.c
target/cortex_m: fix incorrect comment
[openocd] / src / target / cortex_m.c
index 03dc515729bacad85fae0177f06acf0e9a8f8019..f186946722609dd51b55c2743f25e1b9984fbdd4 100644 (file)
@@ -165,7 +165,7 @@ static int cortex_m_single_step_core(struct target *target)
        struct armv7m_common *armv7m = &cortex_m->armv7m;
        int retval;
 
-       /* Mask interrupts before clearing halt, if done already.  This avoids
+       /* Mask interrupts before clearing halt, if not done already.  This avoids
         * Erratum 377497 (fixed in r1p0) where setting MASKINTS while clearing
         * HALT can put the core into an unknown state.
         */