Messages in this thread | | | Subject | Re: [PATCH RFC lora-next 3/4] net: lora: sx1301: add minimal to get transmission out | From | Andreas Färber <> | Date | Sun, 30 Dec 2018 21:21:23 +0100 |
| |
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)
| |