From 25e2eb3374537383c8e3bca5c1cd561fa491de7d Mon Sep 17 00:00:00 2001 From: dwarning Date: Tue, 25 Feb 2020 09:51:39 +0100 Subject: [PATCH] filter only mos instances with thermal switch --- src/frontend/inpcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index ea3ff8174..5deb57545 100644 --- a/src/frontend/inpcom.c +++ b/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)) {