firmware/src/mesh/MeshRadio.h

19 lines
406 B
C
Raw Normal View History

2020-02-01 16:59:16 +00:00
#pragma once
#include "MemoryPool.h"
2020-02-03 17:13:19 +00:00
#include "MeshTypes.h"
#include "PointerQueue.h"
#include "configuration.h"
#include "mesh.pb.h"
2020-02-01 19:25:07 +00:00
// Map from old region names to new region enums
struct RegionInfo {
RegionCode code;
uint8_t numChannels;
uint8_t powerLimit; // Or zero for not set
float freq;
float spacing;
const char *name; // EU433 etc
};
extern const RegionInfo regions[];