diff --git a/tecs/tecs.c b/tecs/tecs.c index b39c6de..5cdfc49 100644 --- a/tecs/tecs.c +++ b/tecs/tecs.c @@ -1833,7 +1833,9 @@ int ConfigByCode(int plugNr) { FILE *fil; plug=plugs[plugNr]; - str_copy(plug->device,""); + if (autoconfig) { + str_copy(plug->device,""); + } plug->devcmd=0; ConcatDevice(); if (plug->code==0) {