A man who was seriously injured in a crash in June died earlier this month, a coroner has heard.