rcommand little code sanitization

This commit is contained in:
Klaus K Wilting 2018-07-29 16:16:50 +02:00
parent a7114f431f
commit 7b70009cb1
2 changed files with 7 additions and 7 deletions

View File

@ -10,13 +10,6 @@
// Local logging tag
static const char TAG[] = "main";
// table of remote commands and assigned functions
typedef struct {
const uint8_t nam;
void (*func)(uint8_t);
const bool store;
} cmd_t;
#ifdef HAS_LORA
// helper function to assign LoRa datarates to numeric spreadfactor values
void switch_lora(uint8_t sf, uint8_t tx) {

View File

@ -4,6 +4,13 @@
#include "senddata.h"
#include "configmanager.h"
// table of remote commands and assigned functions
typedef struct {
const uint8_t nam;
void (*func)(uint8_t);
const bool store;
} cmd_t;
void rcommand(uint8_t cmd, uint8_t arg);
void switch_lora(uint8_t sf, uint8_t tx);