mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-27 16:57:31 +02:00
ubb-la/ubb-la.c: add more section titles
This commit is contained in:
parent
760e8a893a
commit
b7688f3abe
@ -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)
|
static void print_samples(FILE *file, uint8_t *buf, int skip, int nibbles)
|
||||||
{
|
{
|
||||||
uint8_t v, last = 0xff;
|
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)
|
static int do_buf(int nibbles, uint32_t trigger, uint32_t mask)
|
||||||
{
|
{
|
||||||
uint8_t *buf = physmem_malloc(4096);
|
uint8_t *buf = physmem_malloc(4096);
|
||||||
|
Loading…
Reference in New Issue
Block a user