diff options
Diffstat (limited to 'common/gpio_commands.c')
-rw-r--r-- | common/gpio_commands.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/gpio_commands.c b/common/gpio_commands.c index 32bd896c0c..aafc376e79 100644 --- a/common/gpio_commands.c +++ b/common/gpio_commands.c @@ -92,7 +92,8 @@ static void print_gpio_info(int gpio) #endif changed = last_val_changed(gpio, v); - ccprintf(" %d%c %s%s%s%s%s%s%s%s%s%s\n", v, (changed ? '*' : ' '), + ccprintf(" %d%c %s%s%s%s%s%s%s%s%s%s%s%s\n", v, + (changed ? '*' : ' '), (flags & GPIO_INPUT ? "I " : ""), (flags & GPIO_OUTPUT ? "O " : ""), (flags & GPIO_LOW ? "L " : ""), @@ -102,6 +103,8 @@ static void print_gpio_info(int gpio) (flags & GPIO_PULL_UP ? "PU " : ""), (flags & GPIO_PULL_DOWN ? "PD " : ""), (flags & GPIO_ALTERNATE ? "ALT " : ""), + (flags & GPIO_SEL_1P8V ? "1P8 " : ""), + (flags & GPIO_LOCKED ? "LCK " : ""), gpio_get_name(gpio)); /* Flush console to avoid truncating output */ |