summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/console/vtxprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c
index 88295a2c1a..63e670396d 100644
--- a/src/console/vtxprintf.c
+++ b/src/console/vtxprintf.c
@@ -106,7 +106,7 @@ static int number(void (*tx_byte)(unsigned char byte, void *data),
precision = i;
size -= precision;
if (!(type&(ZEROPAD+LEFT)))
- while (size-->0)
+ while (size-- > 0)
call_tx(' '), count++;
if (sign)
call_tx(sign), count++;