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,
|
||||
channelMessage,
|
||||
roomMessage,
|
||||
advertReceived,
|
||||
advertReceivedFlood,
|
||||
advertReceivedZeroHop,
|
||||
ack
|
||||
|
||||
@@ -1468,7 +1468,6 @@ switch(t){
|
||||
_last_notif_ch_idx = -1;
|
||||
break;
|
||||
}
|
||||
case UIEventType::advertReceived:
|
||||
case UIEventType::advertReceivedFlood:
|
||||
case UIEventType::advertReceivedZeroHop: {
|
||||
bool is_flood = (t == UIEventType::advertReceivedFlood);
|
||||
|
||||
Reference in New Issue
Block a user