tcl/target/stm32(f7/h7)x: do not assume presence of the reset
[fw/openocd] / src / helper / binarybuffer.c
index 49e347b6e1df3ef4e68e2b86225901df288074c6..e2dfa87b606aeafdb1fb04459291947117516991 100644 (file)
@@ -222,7 +222,7 @@ static void str_radix_guess(const char **_str, unsigned *_str_len,
        unsigned *_radix)
 {
        unsigned radix = *_radix;
-       if (0 != radix)
+       if (radix != 0)
                return;
        const char *str = *_str;
        unsigned str_len = *_str_len;