summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/console/vtxprintf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c
index b50f3987a57d..848ad501ced0 100644
--- a/src/console/vtxprintf.c
+++ b/src/console/vtxprintf.c
@@ -107,7 +107,10 @@ static int number(void (*tx_byte)(unsigned char byte, void *data),
call_tx('0'), count++;
else if (base == 16) {
call_tx('0'), count++;
- call_tx(digits[33]), count++;
+ if (type & LARGE)
+ call_tx('X'), count++;
+ else
+ call_tx('x'), count++;
}
}
if (!(type & LEFT)) {