Keep unused Companion preset staging out of repeater compilation
This commit is contained in:
1 parent
411144f69c
commit
749ee1e2e5
3 files changed
+34
No files matched your search
+5
@@ -548,6 +548,7 @@ static void mediaMeshPresets() {
|
||||
assert(!invalid.radio.p.enabled() && invalid.fs.files.empty());
|
||||
}
|
||||
|
||||
#if !MESH_CLIENT_REPEATER_ONLY
|
||||
static void channelPresetTransaction() {
|
||||
for (bool range : {false, true}) {
|
||||
Fixture f;
|
||||
@@ -710,6 +711,8 @@ static void channelPresetTransaction() {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
struct MediaScope {
|
||||
bool available = true, fail_save = false, enabled = false, durable = false;
|
||||
unsigned checks = 0, commits = 0;
|
||||
@@ -893,7 +896,9 @@ int main(int argc, char** argv) {
|
||||
else if (!strcmp(argv[1], "relative_schedule")) relativeSchedules();
|
||||
else if (!strcmp(argv[1], "spectrum_overlap")) spectrumOverlap();
|
||||
else if (!strcmp(argv[1], "mediamesh")) mediaMeshPresets();
|
||||
#if !MESH_CLIENT_REPEATER_ONLY
|
||||
else if (!strcmp(argv[1], "channel_preset")) channelPresetTransaction();
|
||||
#endif
|
||||
else if (!strcmp(argv[1], "media_scope")) mediaMeshScopeLifecycle();
|
||||
else return 2;
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user