From 107aad5745fb2b86212822aa5b9fbed680f1a174 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Tue, 29 Oct 2024 21:54:52 +0100 Subject: [PATCH] New video system --- src/main/drivers/osd.h | 3 ++- src/main/io/displayport_msp_osd.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/drivers/osd.h b/src/main/drivers/osd.h index a8b0bbc8e42..76b7d3c78cc 100644 --- a/src/main/drivers/osd.h +++ b/src/main/drivers/osd.h @@ -50,7 +50,8 @@ typedef enum { VIDEO_SYSTEM_DJIWTF, VIDEO_SYSTEM_AVATAR, VIDEO_SYSTEM_DJICOMPAT, - VIDEO_SYSTEM_DJICOMPAT_HD + VIDEO_SYSTEM_DJICOMPAT_HD, + VIDEO_SYSTEM_DJINEW } videoSystem_e; typedef enum { diff --git a/src/main/io/displayport_msp_osd.c b/src/main/io/displayport_msp_osd.c index 0b9be8c6d86..968ddf0e467 100644 --- a/src/main/io/displayport_msp_osd.c +++ b/src/main/io/displayport_msp_osd.c @@ -488,6 +488,7 @@ displayPort_t* mspOsdDisplayPortInit(const videoSystem_e videoSystem) break; case VIDEO_SYSTEM_DJICOMPAT_HD: case VIDEO_SYSTEM_AVATAR: + case VIDEO_SYSTEM_DJINEW: currentOsdMode = HD_5320; screenRows = AVATAR_ROWS; screenCols = AVATAR_COLS;