From ea1aaa4f583d8304c4a79c32e863500d5aaad4ed Mon Sep 17 00:00:00 2001 From: Sorgelig Date: Mon, 23 May 2022 21:56:10 +0800 Subject: [PATCH] video: print error if ADV7513 not found. --- video.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/video.cpp b/video.cpp index c0886c3..b3698c3 100644 --- a/video.cpp +++ b/video.cpp @@ -1120,6 +1120,10 @@ static void hdmi_config() } i2c_close(fd); } + else + { + printf("*** ADV7513 not found on i2c bus! HDMI won't be available!\n"); + } } static int get_edid_vmode(vmode_custom_t *v)