ir-ctl: 0 is valid scancode
PATCH 3/6 ir-ctl: 0 is valid scancode
Same for 0xffffffff.
Signed-off-by Sean Young <[email protected]>
--- utils/ir-ctl/ir-ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
utils/ir-ctl/ir-ctl.c +1 -1
@@ -146,7 +146,7 @@ static bool strtoscancode(const char *p, unsigned *ret)if (end ==NULL || end[0 ] !=0 )return false; -if (arg <=0 || arg >=0xffffffff ) +if (arg <0 || arg >0xffffffff )return false; *ret = arg;
Signature · 1 line
2.9.3