mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-27 23:12:39 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
fe2e2753aa
@ -1503,7 +1503,7 @@ int Screen::handleTextMessage(const meshtastic_MeshPacket *packet)
|
|||||||
screen->showSimpleBanner(banner, 1500);
|
screen->showSimpleBanner(banner, 1500);
|
||||||
if (config.device.buzzer_mode != meshtastic_Config_DeviceConfig_BuzzerMode_DIRECT_MSG_ONLY ||
|
if (config.device.buzzer_mode != meshtastic_Config_DeviceConfig_BuzzerMode_DIRECT_MSG_ONLY ||
|
||||||
(isAlert && moduleConfig.external_notification.alert_bell_buzzer) ||
|
(isAlert && moduleConfig.external_notification.alert_bell_buzzer) ||
|
||||||
(!isBroadcast(packet->to) && isToUs(p))) {
|
(!isBroadcast(packet->to) && isToUs(packet))) {
|
||||||
// Beep if not in DIRECT_MSG_ONLY mode or if in DIRECT_MSG_ONLY mode and either
|
// Beep if not in DIRECT_MSG_ONLY mode or if in DIRECT_MSG_ONLY mode and either
|
||||||
// - packet contains an alert and alert bell buzzer is enabled
|
// - packet contains an alert and alert bell buzzer is enabled
|
||||||
// - packet is a non-broadcast that is addressed to this node
|
// - packet is a non-broadcast that is addressed to this node
|
||||||
|
|||||||
@ -332,7 +332,7 @@ void setUp(void)
|
|||||||
};
|
};
|
||||||
channelFile.channels_count = 1;
|
channelFile.channels_count = 1;
|
||||||
owner = meshtastic_User{.id = "!12345678"};
|
owner = meshtastic_User{.id = "!12345678"};
|
||||||
myNodeInfo = meshtastic_MyNodeInfo{.my_node_num = 10};
|
myNodeInfo = meshtastic_MyNodeInfo{.my_node_num = 0x12345678}; // Match the expected gateway ID in topic
|
||||||
localPosition =
|
localPosition =
|
||||||
meshtastic_Position{.has_latitude_i = true, .latitude_i = 7 * 1e7, .has_longitude_i = true, .longitude_i = 3 * 1e7};
|
meshtastic_Position{.has_latitude_i = true, .latitude_i = 7 * 1e7, .has_longitude_i = true, .longitude_i = 3 * 1e7};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user