Fix missing unit initialization.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17076
This commit is contained in:
Jeff Young 2024-02-24 22:34:23 +00:00
parent b37c7afa8a
commit 87944e06ac
1 changed files with 1 additions and 0 deletions

View File

@ -774,6 +774,7 @@ std::vector<SIM_MODEL::PARAM::INFO> SIM_MODEL_SOURCE::makeCcParamInfos( const st
paramInfo.name = "control";
paramInfo.id = 2;
paramInfo.type = SIM_VALUE::TYPE_STRING;
paramInfo.unit = "";
paramInfo.description = "Controlling voltage source";
paramInfos.push_back( paramInfo );