1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-19 11:26:35 -04:00
sdrangel/dsd/x2tdma_const.h

63 lines
1.6 KiB
C
Raw Normal View History

/*
* Copyright (C) 2010 DSD Author
* GPG Key ID: 0x3F1D7FD0 (74EF 430D F7F2 0A48 FCE6 F630 FAA2 635D 3F1D 7FD0)
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/*
* X2TDMA AMBE interleave schedule
*/
//#ifndef _MAIN
extern const int aW[36];
extern const int aX[36];
extern const int aY[36];
extern const int aZ[36];
//#else
//
//const int aW[36] = { 0, 1, 0, 1, 0, 1,
// 0, 1, 0, 1, 0, 1,
// 0, 1, 0, 1, 0, 1,
// 0, 1, 0, 1, 0, 2,
// 0, 2, 0, 2, 0, 2,
// 0, 2, 0, 2, 0, 2
//};
//
//const int aX[36] = { 23, 10, 22, 9, 21, 8,
// 20, 7, 19, 6, 18, 5,
// 17, 4, 16, 3, 15, 2,
// 14, 1, 13, 0, 12, 10,
// 11, 9, 10, 8, 9, 7,
// 8, 6, 7, 5, 6, 4
//};
//
//const int aY[36] = { 0, 2, 0, 2, 0, 2,
// 0, 2, 0, 3, 0, 3,
// 1, 3, 1, 3, 1, 3,
// 1, 3, 1, 3, 1, 3,
// 1, 3, 1, 3, 1, 3,
// 1, 3, 1, 3, 1, 3
//};
//
//const int aZ[36] = { 5, 3, 4, 2, 3, 1,
// 2, 0, 1, 13, 0, 12,
// 22, 11, 21, 10, 20, 9,
// 19, 8, 18, 7, 17, 6,
// 16, 5, 15, 4, 14, 3,
// 13, 2, 12, 1, 11, 0
//};
//
//#endif