summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/console/vtxprintf.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c
index b9e43692d8..104f4eaeb3 100644
--- a/src/console/vtxprintf.c
+++ b/src/console/vtxprintf.c
@@ -36,20 +36,8 @@ static int number(void (*tx_byte)(unsigned char byte, void *data),
const char *digits = "0123456789abcdef";
int i;
int count = 0;
-#ifdef SUPPORT_64BIT_INTS
unsigned long long num = inum;
long long snum = num;
-#else
- unsigned long num = (unsigned long)inum;
- long snum = (long)num;
-
- if (num != inum) {
- /* Alert user to an incorrect result by printing #^!. */
- call_tx('#');
- call_tx('^');
- call_tx('!');
- }
-#endif
if (type & LARGE)
digits = "0123456789ABCDEF";