Fixed a bug to get the external LED flash.