mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-13 18:47:44 +00:00
Fixed the comments generated by make_t43_gray_code_tables.c
This commit is contained in:
parent
b407732dcd
commit
08201d590a
@ -41,12 +41,13 @@ int main(int argc, char *argv[])
|
|||||||
int j;
|
int j;
|
||||||
int gray;
|
int gray;
|
||||||
int new_gray;
|
int new_gray;
|
||||||
int restore = 0;
|
int restore;
|
||||||
|
|
||||||
printf("static const int16_t gray_code[4096] =\n{\n");
|
printf("static const int16_t gray_code[4096] =\n{\n");
|
||||||
for (i = 0; i < 4096; i++)
|
for (i = 0; i < 4096; i++)
|
||||||
{
|
{
|
||||||
gray = i & 0x800;
|
gray = i & 0x800;
|
||||||
|
restore = i;
|
||||||
for (j = 10; j >= 0; j--)
|
for (j = 10; j >= 0; j--)
|
||||||
{
|
{
|
||||||
if (((i >> (j + 1)) & 1) ^ ((i >> j) & 1))
|
if (((i >> (j + 1)) & 1) ^ ((i >> j) & 1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user