format fixes

Former-commit-id: c2fad5d7b98f77b04b2ac85ef71c8f2931068a9e
This commit is contained in:
Nathan 2017-09-07 23:58:43 -05:00
parent fcdd101e7b
commit 43482b5de5
4 changed files with 5 additions and 5 deletions

View file

@ -1 +1 @@
38444892864e17640f6fc1e64fda8df61a994cd0
45ff8ab75fc61797727c3eed611990930e907a26

View file

@ -492,7 +492,7 @@ void interactiveShowData(void) {
char strLat[8] = " ";
char strLon[9] = " ";
char strD[6] = " ";
char strD[5] = " ";
char cLat = ' ';
char cLon = ' ';
@ -550,7 +550,7 @@ void interactiveShowData(void) {
}
}
snprintf(strD, 6,"%5.01f", d);
snprintf(strD, 5,"%4.01f", d);
/*
//formatted for Unifont 8x16, rotated 90
@ -571,7 +571,7 @@ void interactiveShowData(void) {
printf("\n ");
}
printf("\x1B[1;31m%-8s\x1B[1;32m%5s \x1B[1;33m%4s \x1B[1;34m%6s \x1B[1;36m%c%c \x1B[1;35m%d",
printf("\x1B[1;31m%-8s\x1B[1;32m%5s \x1B[1;33m%4s \x1B[1;34m%5s \x1B[1;36m%c%c \x1B[1;35m%d",
a->flight,
strFl,
strGs,

Binary file not shown.

View file

@ -1 +1 @@
9784b40693d80d528f4cb9ba56149d8512786be7
60deaf6a9ce941e4cfaa1b5db651750171d63f37