|
@@ -4,13 +4,21 @@
|
|
|
#include "emitlib.h"
|
|
|
|
|
|
|
|
|
-unsigned int timings[4][2] = {
|
|
|
+
|
|
|
{250, 250},
|
|
|
{250, 1200},
|
|
|
{250, 2600},
|
|
|
{250, 9900}
|
|
|
+};*/
|
|
|
+
|
|
|
+unsigned int timings[4][2] = {
|
|
|
+ {310, 310},
|
|
|
+ {310, 1340},
|
|
|
+ {275, 2675},
|
|
|
+ {275, 9900}
|
|
|
};
|
|
|
|
|
|
+
|
|
|
unsigned char numbering[4] = {0x05, 0x06, 0x09, 0x0A};
|
|
|
|
|
|
|
|
@@ -145,6 +153,7 @@ void pushCode(BUFFER* buffer, unsigned char* id, unsigned char section, unsigned
|
|
|
if (global) {
|
|
|
byte7 = 0x55;
|
|
|
}
|
|
|
+ appendData(buffer, START_OF_DATA, freq);
|
|
|
appendData(buffer, START_OF_FRAME, freq);
|
|
|
printf("SOF ");
|
|
|
for(i=0; i<6; i++) {
|
|
@@ -152,6 +161,6 @@ void pushCode(BUFFER* buffer, unsigned char* id, unsigned char section, unsigned
|
|
|
}
|
|
|
appendByte(buffer, byte6, freq);
|
|
|
appendByte(buffer, byte7, freq);
|
|
|
- appendData(buffer, END_OF_DATA, freq);
|
|
|
+ appendData(buffer, START_OF_FRAME, freq);
|
|
|
printf("EOD ");
|
|
|
}
|