refactored to take out repetitive code, need to adjust for slsMulti and slsFrameSync

This commit is contained in:
2025-07-04 17:26:41 +02:00
parent 1caf88858b
commit e0810d973d
6 changed files with 244 additions and 87 deletions

View File

@@ -240,7 +240,7 @@ int main(int argc, char *argv[]) {
case 't':
LOG(sls::logWARNING)
<< "Deprecated option. Please use 'p' or '--port'.";
//[[fallthrough]]; TODO: for when we update to c++17
[[fallthrough]];
case 'p':
try {
startPort = sls::StringTo<uint16_t>(optarg);