mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-06-23 13:54:23 -04:00
Work on sample rate independency
This commit is contained in:
parent
3fb4c30604
commit
f285ae8cc0
4 changed files with 30 additions and 30 deletions
4
device.h
4
device.h
|
@ -14,6 +14,7 @@
|
|||
|
||||
// Sampling & timer setup
|
||||
#define CONFIG_SAMPLERATE 19200UL
|
||||
//#define CONFIG_SAMPLERATE 19200UL
|
||||
//#define CONFIG_SAMPLERATE 9600
|
||||
|
||||
// Serial settings
|
||||
|
@ -21,6 +22,9 @@
|
|||
#define SERIAL_DEBUG false
|
||||
#define TX_MAXWAIT 2UL
|
||||
|
||||
// CSMA Settings
|
||||
#define CONFIG_CSMA_P 255
|
||||
|
||||
// Port settings
|
||||
#if TARGET_CPU == m1284p
|
||||
#define ADC_PORT PORTA
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue