Skip to content

Commit fe2e275

Browse files
committed
Merge branch 'master' into develop
2 parents 9c5513d + fcb1d64 commit fe2e275

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/graphics/Screen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ int Screen::handleTextMessage(const meshtastic_MeshPacket *packet)
15031503
screen->showSimpleBanner(banner, 1500);
15041504
if (config.device.buzzer_mode != meshtastic_Config_DeviceConfig_BuzzerMode_DIRECT_MSG_ONLY ||
15051505
(isAlert && moduleConfig.external_notification.alert_bell_buzzer) ||
1506-
(!isBroadcast(packet->to) && isToUs(p))) {
1506+
(!isBroadcast(packet->to) && isToUs(packet))) {
15071507
// Beep if not in DIRECT_MSG_ONLY mode or if in DIRECT_MSG_ONLY mode and either
15081508
// - packet contains an alert and alert bell buzzer is enabled
15091509
// - packet is a non-broadcast that is addressed to this node

test/test_mqtt/MQTT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ void setUp(void)
332332
};
333333
channelFile.channels_count = 1;
334334
owner = meshtastic_User{.id = "!12345678"};
335-
myNodeInfo = meshtastic_MyNodeInfo{.my_node_num = 10};
335+
myNodeInfo = meshtastic_MyNodeInfo{.my_node_num = 0x12345678}; // Match the expected gateway ID in topic
336336
localPosition =
337337
meshtastic_Position{.has_latitude_i = true, .latitude_i = 7 * 1e7, .has_longitude_i = true, .longitude_i = 3 * 1e7};
338338

0 commit comments

Comments
 (0)