just some reorg

This commit is contained in:
Morgan 'ARR\!' Allen 2020-02-26 20:31:20 -08:00
parent ac7b6a0561
commit 604a79d71b

View file

@ -125,12 +125,13 @@ typedef struct lora32_cfg_t {
lora32_cfg_t lora32_create(); lora32_cfg_t lora32_create();
uint8_t lora32_init(lora32_cfg_t *config); uint8_t lora32_init(lora32_cfg_t *config);
uint8_t lora32_data_available(lora32_cfg_t *lora); uint8_t lora32_data_available(lora32_cfg_t *lora);
void lora32_send(lora32_cfg_t *config, uint8_t *data, uint8_t len);
void lora32_set_spreadfactor(lora32_cfg_t *lora, uint8_t factor);
void lora32_dump_regs(lora32_cfg_t *lora); void lora32_dump_regs(lora32_cfg_t *lora);
void lora32_enable_continuous_rx(lora32_cfg_t *lora); void lora32_enable_continuous_rx(lora32_cfg_t *lora);
void lora32_enable_cad(lora32_cfg_t *lora); void lora32_enable_cad(lora32_cfg_t *lora);
void lora32_send(lora32_cfg_t *config, uint8_t *data, uint8_t len);
void lora32_set_coding_rate(lora32_cfg_t *lora, uint8_t d); void lora32_set_coding_rate(lora32_cfg_t *lora, uint8_t d);
void lora32_set_spreadfactor(lora32_cfg_t *lora, uint8_t factor);
void lora32_read_data(lora32_cfg_t *lora, uint8_t *data); void lora32_read_data(lora32_cfg_t *lora, uint8_t *data);
#endif // _LORA32_H__ #endif // _LORA32_H__