Vectors Cy_xxx are of type 'current'.

This commit is contained in:
Holger Vogt 2024-10-26 23:25:02 +02:00
parent aa97a05f04
commit ceec478091
1 changed files with 2 additions and 0 deletions

View File

@ -983,6 +983,8 @@ guess_type(const char *name, char* pltypename)
type = SV_IMPEDANCE;
else if (pltypename && ciprefix("sp", pltypename) && cieq(name, "SOpt"))
type = SV_NOTYPE;
else if (pltypename && ciprefix("sp", pltypename) && ciprefix("Cy_", name))
type = SV_CURRENT;
else if (strstr(name, ":power\0"))
type = SV_POWER;
/* current source ISRC parameters for current */