Clearly dilineate module mute from sender or channel mute
This commit is contained in:
@@ -43,8 +43,8 @@ class ExternalNotificationModule : public SinglePortModule, private concurrency:
|
|||||||
void setExternalState(uint8_t index = 0, bool on = false);
|
void setExternalState(uint8_t index = 0, bool on = false);
|
||||||
bool getExternal(uint8_t index = 0);
|
bool getExternal(uint8_t index = 0);
|
||||||
|
|
||||||
void setMute(bool mute) { isMuted = mute; }
|
void setMute(bool mute) { isSilenced = mute; }
|
||||||
bool getMute() { return isMuted; }
|
bool getMute() { return isSilenced; }
|
||||||
|
|
||||||
bool canBuzz();
|
bool canBuzz();
|
||||||
bool nagging();
|
bool nagging();
|
||||||
@@ -67,7 +67,7 @@ class ExternalNotificationModule : public SinglePortModule, private concurrency:
|
|||||||
|
|
||||||
bool isNagging = false;
|
bool isNagging = false;
|
||||||
|
|
||||||
bool isMuted = false;
|
bool isSilenced = false;
|
||||||
|
|
||||||
virtual AdminMessageHandleResult handleAdminMessageForModule(const meshtastic_MeshPacket &mp,
|
virtual AdminMessageHandleResult handleAdminMessageForModule(const meshtastic_MeshPacket &mp,
|
||||||
meshtastic_AdminMessage *request,
|
meshtastic_AdminMessage *request,
|
||||||
|
|||||||
Reference in New Issue
Block a user