BV: fix RS/CAN pinout display

This commit is contained in:
King Kévin 2018-03-11 13:36:50 +01:00
parent ab3955b15b
commit 911dc4c1a3
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@ static void busvoodoo_global_pinout(void* argument)
printf("+\n");
// display pin names
printf("|");
for (int8_t i=LENGTH(busvoodoo_global_pinout_rscan); i>=0; i--) {
for (int8_t i=LENGTH(busvoodoo_global_pinout_rscan)-1; i>=0; i--) {
if (NULL==busvoodoo_global_pinout_rscan[i]) {
printf("x"); // x stands for pin not used
} else {