mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-04 22:53:08 +02:00
ubb-la/ubb-la.c (INITIAL_SKIP): describe how the value was obtained
This commit is contained in:
parent
a947b5ef85
commit
4ceee66c79
@ -29,6 +29,13 @@
|
||||
|
||||
#define KEY_MASK 0x5fc0000
|
||||
|
||||
/*
|
||||
* The initial skip is for samples loaded into the FIFO when starting the
|
||||
* command, before waiting for the trigger. A completely filled FIFO would
|
||||
* hold 16 * 32 bits or 128 samples. In reality, we observe 122 samples for
|
||||
* sample rates up to 24 MHz and 123 samples for 42 or 56 MHz.
|
||||
*/
|
||||
|
||||
#define INITIAL_SKIP 122 /* should be 123 for higher speeds */
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user