mirror of https://github.com/f1xpl/openauto.git
parent
38a9bd0bc9
commit
fba7aaf208
|
@ -102,7 +102,8 @@ void Configuration::load()
|
|||
catch(const boost::property_tree::ini_parser_error& e)
|
||||
{
|
||||
OPENAUTO_LOG(warning) << "[Configuration] failed to read configuration file: " << cConfigFileName
|
||||
<< ", error: " << e.what();
|
||||
<< ", error: " << e.what()
|
||||
<< ". Using default configuration.";
|
||||
this->reset();
|
||||
}
|
||||
}
|
||||
|
@ -119,6 +120,8 @@ void Configuration::reset()
|
|||
buttonCodes_.clear();
|
||||
bluetoothAdapterType_ = BluetoothAdapterType::NONE;
|
||||
bluetoothRemoteAdapterAddress_ = "";
|
||||
musicAudioChannelEnabled_ = true;
|
||||
speechAudiochannelEnabled_ = true;
|
||||
}
|
||||
|
||||
void Configuration::save()
|
||||
|
|
Loading…
Reference in New Issue