1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2025-04-21 12:27:27 +03:00

ubb-vga: test image now shows detailed horizontal and vertical timing

- ubb-vga.c (CYCLES), ubb-vga.h: corrected conversion and moved to
  ubb-vga.h
- tstimg.c (printc): added characters '=' and '+'
- tstimg.c (tstimg): print detailed horizontal and vertical timing
This commit is contained in:
Werner Almesberger
2011-05-01 21:50:20 -03:00
parent 4b59dbf062
commit 9412c9debe
3 changed files with 25 additions and 4 deletions

View File

@@ -41,6 +41,9 @@ extern const struct mode *mode;
void *map(off_t addr, size_t size);
#define CYCLES(cy) ((cy)/112.0)
/* ccube.c */
uint8_t ccube_map(uint8_t r, uint8_t g, uint8_t b);