Fix for Hardware leds

Thanks Achotjan :)