mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-12-26 08:52:26 +02:00
ubb-vga.c (struct mode, mode_db): removed no longer used field "line_words"
This commit is contained in:
parent
7d16a0682d
commit
90b087cea0
@ -187,19 +187,18 @@ static void until(uint16_t cycles)
|
||||
static const struct mode {
|
||||
const char *name;
|
||||
int xres, yres;
|
||||
int line_words; /* xres/8 */
|
||||
int clkdiv; /* pixel clock = 336 MHz/(clkdiv+1) */
|
||||
int line_cycles; /* 31.77 us for official VGA */
|
||||
int hsync_end; /* 0.79+3.77 us for official VGA */
|
||||
} mode_db[] = {
|
||||
{ "640x480", 640, 480, 640/8, 11, US(29.7), US(0.79+3.77-0.3) },
|
||||
{ "800x600", 800, 600, 800/8, 8, US(28.7), US(2.0+3.3+0.3) },
|
||||
{ "640x480", 640, 480, 11, US(29.7), US(0.79+3.77-0.3) },
|
||||
{ "800x600", 800, 600, 8, US(28.7), US(2.0+3.3+0.3) },
|
||||
/* the next one may work after adjusting the timing in "frame" */
|
||||
{ "800x600", 800, 600, 800/8, 8, US(28.2), US(2.0+3.3+0.3-0.3) },
|
||||
{ "800x600", 800, 600, 8, US(28.2), US(2.0+3.3+0.3-0.3) },
|
||||
/* the 1024x768 below is not great but has good parameter tolerance */
|
||||
{ "1024x768", 1024, 768, 1024/8, 8, US(36.0), US(2.0+3.3) },
|
||||
{ "1024x768", 1024, 768, 8, US(36.0), US(2.0+3.3) },
|
||||
/* illustrate underruns */
|
||||
{ "1024x768ur", 1024, 768, 1024/8, 7, US(33.5), US(0.4+2.1+0.5) },
|
||||
{ "1024x768ur", 1024, 768, 7, US(33.5), US(0.4+2.1+0.5) },
|
||||
{ NULL }
|
||||
}, *mode = mode_db;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user