diff options
Diffstat (limited to 'software/hhd70dongle/hhd70dongle.c')
-rw-r--r-- | software/hhd70dongle/hhd70dongle.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/software/hhd70dongle/hhd70dongle.c b/software/hhd70dongle/hhd70dongle.c index ed6ee3c..b328d55 100644 --- a/software/hhd70dongle/hhd70dongle.c +++ b/software/hhd70dongle/hhd70dongle.c @@ -168,6 +168,11 @@ int main(void) int8_t fdev_m = 1; int8_t fdev_e = 1; + char mursat_beacon[256]; + for(int i=0;i<sizeof(mursat_beacon);++i) { + mursat_beacon[i] = 0xFF; + } + for(;;) { int16_t num_bytes_received = CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface); @@ -330,10 +335,10 @@ int main(void) if (enable_beacon_part) { - char mursat_beacon[8] = {0b11101110, 0b11100010, 0b00111010, 0b10101000, 0b10001110, 0b11101110, 0b00101011, 0b10100000}; //OE6EOF +// char mursat_beacon[8] = {0b11101110, 0b11100010, 0b00111010, 0b10101000, 0b10001110, 0b11101110, 0b00101011, 0b10100000}; //OE6EOF led_on(); CDC_Device_SendString(&VirtualSerial_CDC_Interface,"OOK Sending Beacon\r\n"); - c1101_transmitData_infPktMode(mursat_beacon,8); + c1101_transmitData_infPktMode(mursat_beacon,sizeof(mursat_beacon)); led_off(); } } |