mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 22:22: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.
|
// Initialize mocks and configuration before running each test.
|
||||||
void setUp(void)
|
void setUp(void)
|
||||||
{
|
{
|
||||||
moduleConfig.mqtt = meshtastic_ModuleConfig_MQTTConfig{
|
moduleConfig.mqtt =
|
||||||
.enabled = true, .map_reporting_enabled = true, .has_map_report_settings = true, .should_report_location = true};
|
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{
|
channelFile.channels[0] = meshtastic_Channel{
|
||||||
.index = 0,
|
.index = 0,
|
||||||
.has_settings = true,
|
.has_settings = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user