We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dea516b commit c96aaf8Copy full SHA for c96aaf8
dataflash_logger.cpp
@@ -85,8 +85,11 @@ bool DataFlash_Logger::configure(INIReader *config)
85
return false;
86
}
87
88
- target_system_id = config->GetInteger("dflogger", "target_system_id", 0);
89
- target_component_id = config->GetInteger("dflogger", "target_component_id", 0);
+ this_system_id = config->GetInteger("dflogger", "source_system_id", this_system_id);
+ this_component_id = config->GetInteger("dflogger", "source_component_id", this_component_id);
90
+
91
+ target_system_id = config->GetInteger("dflogger", "target_system_id", target_system_id);
92
+ target_component_id = config->GetInteger("dflogger", "target_component_id", target_component_id);
93
94
return true;
95
0 commit comments