mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 06:02:05 +00:00
Fix
This commit is contained in:
parent
3901ae8956
commit
b63b73ab84
@ -308,8 +308,10 @@ const meshtastic_MeshPacket encrypted = {
|
||||
// Initialize mocks and configuration before running each test.
|
||||
void setUp(void)
|
||||
{
|
||||
moduleConfig.mqtt = meshtastic_ModuleConfig_MQTTConfig{
|
||||
.enabled = true, .map_reporting_enabled = true, .has_map_report_settings = true, .should_report_location = true};
|
||||
moduleConfig.mqtt =
|
||||
meshtastic_ModuleConfig_MQTTConfig{.enabled = true, .map_reporting_enabled = true, .has_map_report_settings = true};
|
||||
mqtt.map_report_settings = meshtastic_ModuleConfig_MQTTConfig_MapReportSettings{
|
||||
.position_precision = 14, .publish_interval_secs = 0, .should_report_location = true};
|
||||
channelFile.channels[0] = meshtastic_Channel{
|
||||
.index = 0,
|
||||
.has_settings = true,
|
||||
|
Loading…
Reference in New Issue
Block a user