mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-22 18:45:01 +02:00
More work on adding AX.25 decoding.
This commit is contained in:
+13
-3
@@ -20,12 +20,22 @@
|
||||
#include "Globals.h"
|
||||
#include "AX25Demodulator.h"
|
||||
|
||||
CAX25Demodulator::CAX25Demodulator(uint16_t n) :
|
||||
m_n(n)
|
||||
CAX25Demodulator::CAX25Demodulator() :
|
||||
m_nrziState(false)
|
||||
{
|
||||
}
|
||||
|
||||
void CAX25Demodulator::process(q15_t sample)
|
||||
bool CAX25Demodulator::process(const q15_t* samples, uint8_t length, AX25Frame& frame)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CAX25Demodulator::NRZI(bool b)
|
||||
{
|
||||
bool result = (b == m_nrziState);
|
||||
|
||||
m_nrziState = b;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user