lockdown plugins that touch hardware

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

No files matched your search

+6
View File
@@ -61,6 +61,12 @@ SerialPlugin::SerialPlugin() : concurrency::OSThread("SerialPlugin") {}
char serialStringChar[Constants_DATA_PAYLOAD_LEN];
SerialPluginRadio::SerialPluginRadio() : SinglePortPlugin("SerialPluginRadio", PortNum_SERIAL_APP)
{
// restrict to the admin channel for rx
boundChannel = Channels::serialChannel;
}
int32_t SerialPlugin::runOnce()
{
#ifndef NO_ESP32