Update core/dev/leds.c

Changed (ledv & LEDS_ALL) to (ledv == LEDS_ALL)

It can be deleted anyway, it's useless.