Fixed pointer initialization. Fixes #1000

pull/1005/head
f4exb 2021-09-26 11:51:03 +02:00
rodzic a7b9bb2de4
commit 3e6fe8afef
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -148,7 +148,7 @@ void DeviceSet::loadRxChannelSettings(const Preset *preset, PluginAPI *pluginAPI
for (int i = 0; i < preset->getChannelCount(); i++)
{
const Preset::ChannelConfig& channelConfig = preset->getChannelConfig(i);
ChannelAPI *channelAPI;
ChannelAPI *channelAPI = nullptr;
// if we have one instance available already, use it