Skip to content

Commit 71e572c

Browse files
committed
anx7625: don't fail horribly if EDID is non conformant
1 parent 0b6eecf commit 71e572c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Arduino_H7_Video/src/anx7625.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ int anx7625_dp_get_edid(uint8_t bus, struct edid *out) {
475475

476476
ret = decode_edid(edid, (block_num + 1) * ONE_BLOCK_SIZE, out);
477477
if (ret != EDID_CONFORMANT) {
478-
ANXERROR("Failed to decode EDID.\n");
479-
return -1;
478+
ANXINFO("Non conformant EDID.\n");
479+
return 0;
480480
}
481481

482482
return 0;

0 commit comments

Comments
 (0)