mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-23 23:00:38 +02:00
ubb-vga: make mode information global
- ubb-vga.c (mode), ubb-vga.h: made global
This commit is contained in:
parent
f7eb220401
commit
eabd0b53f6
@ -83,7 +83,7 @@ static const struct mode mode_db[] = {
|
|||||||
* FIFO jitter = some lines get shifted by a "digital" amount
|
* 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 ------------------------------------------------ */
|
/* ----- I/O pin assignment ------------------------------------------------ */
|
||||||
|
@ -31,6 +31,8 @@ struct mode {
|
|||||||
int hsync_end; /* 0.79+3.77 us for official VGA */
|
int hsync_end; /* 0.79+3.77 us for official VGA */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern const struct mode *mode;
|
||||||
|
|
||||||
|
|
||||||
void *map(off_t addr, size_t size);
|
void *map(off_t addr, size_t size);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user