diff --git a/XilinxProcessorIPLib/drivers/video_common/examples/xvidc_edid_print_example.c b/XilinxProcessorIPLib/drivers/video_common/examples/xvidc_edid_print_example.c index cc48acf2..678feca7 100644 --- a/XilinxProcessorIPLib/drivers/video_common/examples/xvidc_edid_print_example.c +++ b/XilinxProcessorIPLib/drivers/video_common/examples/xvidc_edid_print_example.c @@ -92,14 +92,14 @@ static void Edid_Print_BaseVPId(u8 *EdidRaw) xil_printf("\tModel year:\t\t%d\n", XVidC_EdidGetVpiYear(EdidRaw)); } - else if (XVidC_EdidGetVpiWeekMan(EdidRaw) == 0x00) { + else if (XVidC_EdidGetManWeek(EdidRaw) == 0x00) { xil_printf("\tManufactured:\t\tYear = %d ; Week N/A\n", XVidC_EdidGetVpiYear(EdidRaw)); } else { xil_printf("\tManufactured:\t\tYear = %d ; Week = %d\n", XVidC_EdidGetVpiYear(EdidRaw), - XVidC_EdidGetVpiWeekMan(EdidRaw)); + XVidC_EdidGetManWeek(EdidRaw)); } } diff --git a/XilinxProcessorIPLib/drivers/video_common/src/xvidc_edid.h b/XilinxProcessorIPLib/drivers/video_common/src/xvidc_edid.h index 6f6b5cbe..2f44b512 100644 --- a/XilinxProcessorIPLib/drivers/video_common/src/xvidc_edid.h +++ b/XilinxProcessorIPLib/drivers/video_common/src/xvidc_edid.h @@ -280,10 +280,10 @@ /* Vendor and product identification: Week and year of manufacture or model * year. */ -#define XVidC_EdidGetVpiWeekMan(E) (E[XVIDC_EDID_VPI_WEEK_MAN]) +#define XVidC_EdidGetManWeek(E) (E[XVIDC_EDID_VPI_WEEK_MAN]) #define XVidC_EdidGetVpiYear(E) (E[XVIDC_EDID_VPI_YEAR] + 1990) -#define XVidC_EdidIsVpiYearModel(E) (XVidC_EdidGetVpiWeekMan(E) == 0xFF) -#define XVidC_EdidIsVpiYearMab(E) (XVidC_EdidGetVpiWeekMan(E) != 0xFF) +#define XVidC_EdidIsVpiYearModel(E) (XVidC_EdidGetManWeek(E) == 0xFF) +#define XVidC_EdidIsVpiYearMab(E) (XVidC_EdidGetManWeek(E) != 0xFF) /* EDID structure version and revision. */ #define XVidC_EdidGetStructVer(E) (E[XVIDC_EDID_STRUCT_VER])