mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-18 06:10:58 -04:00
Removed dacPin sillyness
This commit is contained in:
parent
19cca9487a
commit
a6bad60233
4 changed files with 4 additions and 6 deletions
|
@ -524,13 +524,12 @@ static void afsk_clearerr(KFile *fd) {
|
|||
// Modem Initialization //
|
||||
//////////////////////////////////////////////////////
|
||||
|
||||
void afsk_init(Afsk *afsk, int _adcPin, int _dacPin) {
|
||||
void afsk_init(Afsk *afsk, int _adcPin) {
|
||||
// Allocate memory for struct
|
||||
memset(afsk, 0, sizeof(*afsk));
|
||||
|
||||
// Configure pins
|
||||
afsk->adcPin = _adcPin;
|
||||
afsk->dacPin = _dacPin;
|
||||
afsk->phaseInc = MARK_INC;
|
||||
|
||||
// Init FIFO buffers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue