mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
atrf-gpio: accept 'o' as an alias for 'l'
This, while being slightly unsystematic, reduces the risk of confusing "1" (one) and "l" (lower-case ell). - tools/atrf-gpio/atben.c (do_atben), tools/atrf-gpio/atusb.c (do_atusb): treat 'o' as an alias of 'l' - tools/atrf-gpio/atrf-gpio.c (usage): list 'o' as alternative for 'l'
This commit is contained in:
@@ -159,6 +159,7 @@ void do_atben(struct atrf_dsc *dsc, const char *pattern, const char *next)
|
||||
expect |= bit;
|
||||
/* fall through */
|
||||
case 'l':
|
||||
case 'o':
|
||||
read |= bit;
|
||||
/* fall through */
|
||||
case 'z':
|
||||
|
||||
Reference in New Issue
Block a user