mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-08-10 07:30:26 -04:00
Independent ADC and DAC sample rates
This commit is contained in:
parent
8b2e66eb57
commit
79aa4620ba
6 changed files with 78 additions and 47 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <util/atomic.h>
|
||||
|
||||
#define DIV_ROUND(dividend, divisor) (((dividend) + (divisor) / 2) / (divisor))
|
||||
#define CLOCK_TICKS_PER_SEC CONFIG_SAMPLERATE
|
||||
#define CLOCK_TICKS_PER_SEC CONFIG_ADC_SAMPLERATE
|
||||
|
||||
typedef int32_t ticks_t;
|
||||
typedef int32_t mtime_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue