Browse Source

use byte 1 not 15 from packet

master
Jeroen Vreeken 1 month ago
parent
commit
6e1f6cbf9e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      freedv_eth.c

+ 1
- 1
freedv_eth.c View File

@ -179,7 +179,7 @@ static int cb_int_tx(uint8_t to[ETH_AR_MAC_SIZE], uint8_t from[ETH_AR_MAC_SIZE],
if (len > tx_packet_max() || len < 2)
return 0;
uint8_t transmission = data[0];
uint8_t level = data[15];
uint8_t level = data[1];
packet = tx_packet_alloc();
packet->len = len;
memcpy(packet->data, data+2, len-2);


Loading…
Cancel
Save