Browse Source

filter only mos instances with thermal switch

pre-master-46
dwarning 6 years ago
committed by Holger Vogt
parent
commit
3686dbfb78
  1. 2
      src/frontend/inpcom.c

2
src/frontend/inpcom.c

@ -6966,7 +6966,7 @@ static int inp_vdmos_model(struct card *deck)
}
/* we have a VDMOS instance line with 'thermal' flag and thus need exactly 5 nodes
*/
else if (strstr(curr_line, "thermal")) {
else if (curr_line[0] == 'm' && strstr(curr_line, "thermal")) {
for (i = 0; i < 7; i++)
curr_line = nexttok(curr_line);
if (!ciprefix("thermal", curr_line)) {

Loading…
Cancel
Save