use has_led_flash instead of enable_torch