diff options
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r-- | src/ConfigParser.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index a0bf97e..b48df8c 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -203,6 +203,9 @@ static void parse_freq_info(ptree& pt, else if (rm_str == "amss") { fle.rm = RangeModulation::amss; } + else if (rm_str == "") { + throw runtime_error("Missing range_modulation in FI " + fi_uid); + } else { throw runtime_error("Invalid range_modulation '" + rm_str + "' in FI " + fi_uid); |