Removed dacPin sillyness

This commit is contained in:
Mark Qvist 2014-04-06 20:29:39 +02:00
parent 19cca9487a
commit a6bad60233
4 changed files with 4 additions and 6 deletions

View file

@ -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