| 103 | } |
| 104 | |
| 105 | bool LoadConfig(const std::string& file, uint16_t* max_ns_id, |
| 106 | id_name_t* id_name_map) { |
| 107 | if (file.empty()) { |
| 108 | return InitEmptyConfig(max_ns_id, id_name_map); |
| 109 | } else { |
| 110 | return LoadConfigFromFile(file, max_ns_id, id_name_map); |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | } // namespace io_util |
| 115 | } // namespace embedx |
no test coverage detected