Added flash mode selection fro auto_flash_from_TWCI