Re: [PATCH RFC lora-next 3/4] net: lora: sx1301: add minimal to get transmission out
From: Andreas FÃrber
Date: Sun Dec 30 2018 - 15:21:34 EST
Am 19.12.18 um 16:56 schrieb Ben Whitten:
> diff --git a/drivers/net/lora/sx1301.c b/drivers/net/lora/sx1301.c
> index 0c7b6d0b31af..9bcbb967f307 100644
> --- a/drivers/net/lora/sx1301.c
> +++ b/drivers/net/lora/sx1301.c
> @@ -24,6 +24,44 @@
>
> #include "sx1301.h"
>
> +struct sx1301_tx_header {
> + u8 tx_freq[3];
[...]
> + /* HACK set to 868MHz */
> + hdr->tx_freq[0] = 217;
> + hdr->tx_freq[1] = 0;
> + hdr->tx_freq[3] = 0;
hdr->tx_freq[2]
Regards,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 NÃrnberg, Germany
GF: Felix ImendÃrffer, Jane Smithard, Graham Norton
HRB 21284 (AG NÃrnberg)