lockdown plugins that touch hardware

This commit is contained in:
Kevin Hester
2021-03-13 13:14:27 +08:00
parent 6813a31895
commit c0ac457cad
9 changed files with 28 additions and 5 deletions

View File

@@ -29,6 +29,10 @@ class Channels
int16_t hashes[MAX_NUM_CHANNELS];
public:
/// Well known channel names
static const char *adminChannel, *gpioChannel, *serialChannel;
const ChannelSettings &getPrimary() { return getByIndex(getPrimaryIndex()).settings; }
/** Return the Channel for a specified index */