Commit 9dc7d2c5 authored by Pavel Vaynerman's avatar Pavel Vaynerman

fixed minor bug in MBTCPMaster ( unsigned --> signed )

parent 0f992990
......@@ -3,7 +3,7 @@
Name: libuniset
Version: 0.99
Release: eter25
Release: eter26
Summary: UniSet - library for building distributed industrial control systems
License: GPL
Group: Development/C++
......@@ -187,6 +187,9 @@ rm -f %buildroot%_libdir/*.la
%exclude %_pkgconfigdir/libUniSet.pc
%changelog
* Fri Jan 14 2011 Pavel Vainerman <pv@etersoft.ru> 0.99-eter26
- fixed bug in ModbusTCP Master. Set default signed type for data
* Sat Dec 04 2010 Pavel Vainerman <pv@altlinux.ru> 0.99-eter25
- fixed bug in uniset-mbtcptest (writexx)
- minor fixes ( add 'm'-parametes for set value < 0 )
......
......@@ -72,7 +72,7 @@ rpmbs $SPECNAME
#send_notify
# Увеличиваем релиз и запоминаем спек после успешной сборки
inc_release $SPECNAME
# inc_release $SPECNAME
# и запоминаем спек после успешной сборки
#cvs commit -m "Auto updated by $0 for $BUILDNAME" $SPECNAME || fatal "Can't commit spec"
......
......@@ -1761,7 +1761,7 @@ void MBTCPMaster::updateRSProperty( RSProperty* p, bool write_only )
IOBase::processingAsDI( p, r->mbval, shm, force );
}
else
IOBase::processingAsAI( p, (unsigned short)(r->mbval), shm, force );
IOBase::processingAsAI( p, (signed short)(r->mbval), shm, force );
}
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment