mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 03:00:56 +00:00
Implement GPIO pin allowlist (#4882)
This commit is contained in:
@@ -17,6 +17,9 @@ class RemoteHardwareModule : public ProtobufModule<meshtastic_HardwareMessage>,
|
||||
/// The timestamp of our last watch event (we throttle watches to 1 change every 30 seconds)
|
||||
uint32_t lastWatchMsec = 0;
|
||||
|
||||
/// A bitmask of GPIOs that are exposed to the mesh if undefined access is not enabled
|
||||
uint64_t availablePins = 0;
|
||||
|
||||
public:
|
||||
/** Constructor
|
||||
* name is for debugging output
|
||||
|
||||
Reference in New Issue
Block a user