1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-04 22:53:08 +02:00

ubb-vga: make mode information global

- ubb-vga.c (mode), ubb-vga.h: made global
This commit is contained in:
Werner Almesberger 2011-05-01 15:16:01 -03:00
parent f7eb220401
commit eabd0b53f6
2 changed files with 3 additions and 1 deletions

View File

@ -83,7 +83,7 @@ static const struct mode mode_db[] = {
* FIFO jitter = some lines get shifted by a "digital" amount
*/
static const struct mode *mode = mode_db;
const struct mode *mode = mode_db;
/* ----- I/O pin assignment ------------------------------------------------ */

View File

@ -31,6 +31,8 @@ struct mode {
int hsync_end; /* 0.79+3.77 us for official VGA */
};
extern const struct mode *mode;
void *map(off_t addr, size_t size);