include/nuttx/video/edid.h: Remove unused hskew field. Original field ordering restore to match initializer.

This commit is contained in:
Gregory Nutt 2019-07-08 06:33:37 -06:00
parent b022435a97
commit 4bd4e77853
2 changed files with 5 additions and 4 deletions

View file

@ -500,12 +500,13 @@
* Pre-processor Definitions
********************************************************************************************/
/* This structure represents one video mode extracted from the EDID */
/* This structure represents one video mode extracted from the EDID. CAREFUL: Fields
* may not change without also modification to initializer in edid_videomode.c.
*/
struct edid_videomode_s
{
uint32_t dotclock; /* Dot clock frequency in kHz. */
uint16_t flags; /* Video mode flags; see above. */
uint16_t hdisplay;
uint16_t hsync_start;
uint16_t hsync_end;
@ -514,8 +515,8 @@ struct edid_videomode_s
uint16_t vsync_start;
uint16_t vsync_end;
uint16_t vtotal;
uint16_t flags; /* Video mode flags; see above. */
FAR const char *name;
int hskew;
};
/* These structures is a user-friendly digest of the EDID data. */

View file

@ -65,7 +65,7 @@
#define M(nm,hr,vr,clk,hs,he,ht,vs,ve,vt,f) \
{ \
clk, hr, hs, he, ht, vr, vs, ve, vt, f, nm, 0 \
clk, hr, hs, he, ht, vr, vs, ve, vt, f, nm \
}
/****************************************************************************