1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-23 20:25:19 +02:00

ubb-la/ubb-la.c: add more section titles

This commit is contained in:
Werner Almesberger 2013-01-30 01:52:38 -03:00
parent 760e8a893a
commit b7688f3abe

View File

@ -229,6 +229,9 @@ static void xfers(unsigned long *bufs, int n_bufs, int nibbles,
}
/* ----- ASCII output ------------------------------------------------------ */
static void print_samples(FILE *file, uint8_t *buf, int skip, int nibbles)
{
uint8_t v, last = 0xff;
@ -260,6 +263,9 @@ static void print_samples(FILE *file, uint8_t *buf, int skip, int nibbles)
}
/* ----- Capture ----------------------------------------------------------- */
static int do_buf(int nibbles, uint32_t trigger, uint32_t mask)
{
uint8_t *buf = physmem_malloc(4096);