mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2025-04-21 12:27:27 +03:00
ubb-la/ubb-la.c: add more section titles
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user