Commit 0a90ad0e authored by Pavel Vainerman's avatar Pavel Vainerman

(modbus): Чуть переделал код, чтобы собирался на компиляторе в ALT 5.0

parent 28416f17
......@@ -958,7 +958,7 @@ namespace ModbusRTU
*/
static inline int szHead()
{
return sizeof(subf);
return sizeof(ModbusData); // subf
}
/*! узнать длину данных следующий за предварительным заголовком ( в байтах ) */
......
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