mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
cleanup: remove dead UIEventType::advertReceived
The enum value and its case label were never emitted after PR #16 — both dispatch sites in MyMesh.cpp now use advertReceivedFlood or advertReceivedZeroHop exclusively. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,6 @@ enum class UIEventType {
|
|||||||
contactMessage,
|
contactMessage,
|
||||||
channelMessage,
|
channelMessage,
|
||||||
roomMessage,
|
roomMessage,
|
||||||
advertReceived,
|
|
||||||
advertReceivedFlood,
|
advertReceivedFlood,
|
||||||
advertReceivedZeroHop,
|
advertReceivedZeroHop,
|
||||||
ack
|
ack
|
||||||
|
|||||||
@@ -1468,7 +1468,6 @@ switch(t){
|
|||||||
_last_notif_ch_idx = -1;
|
_last_notif_ch_idx = -1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case UIEventType::advertReceived:
|
|
||||||
case UIEventType::advertReceivedFlood:
|
case UIEventType::advertReceivedFlood:
|
||||||
case UIEventType::advertReceivedZeroHop: {
|
case UIEventType::advertReceivedZeroHop: {
|
||||||
bool is_flood = (t == UIEventType::advertReceivedFlood);
|
bool is_flood = (t == UIEventType::advertReceivedFlood);
|
||||||
|
|||||||
Reference in New Issue
Block a user