mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-06-19 20:04:21 -04:00
Asynchronous IO implemented, packet queueing implemented
This commit is contained in:
parent
06d138d66c
commit
c22123b953
6 changed files with 49 additions and 25 deletions
|
@ -2,9 +2,9 @@
|
|||
#define UTIL_TIME_H
|
||||
|
||||
#include <util/atomic.h>
|
||||
#include "hardware/AFSK.h"
|
||||
|
||||
#define DIV_ROUND(dividend, divisor) (((dividend) + (divisor) / 2) / (divisor))
|
||||
#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