Add synthetic 600Hz sine wave and some more POCSAGCal states

This commit is contained in:
phl0 2019-01-23 14:58:01 +01:00
parent 5e3c4c91bb
commit 580ba0b536
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A
3 changed files with 9 additions and 2 deletions

View file

@ -21,6 +21,12 @@
#include "CalPOCSAG.h"
// POCSAG 600 Hz Test Pattern
const q15_t sine600Hz[] = {
0, 5125, 10125, 14875, 19259, 23169, 26509, 29195, 31163, 32363,
32767, 32363, 31163, 29195, 26509, 23169, 19259, 14875, 10125, 5125,
0, -5126, -10126, -14876, -19260, -23170, -26510, -29196, -31164, -32364,
-32767, -32364, -31164, -29196, -26510, -23170, -19260, -14876, -10126, -5126,
};
CCalPOCSAG::CCalPOCSAG() :
m_transmit(false),