Commit 6e14fa93 authored by Claes Sjofors's avatar Claes Sjofors

IO Arduino Ao size bugfix and Status enum fix

parent 064e2121
......@@ -957,9 +957,9 @@ static pwr_tStatus IoCardWrite( io_tCtx ctx,
memset( &msg, 0, sizeof(msg));
if ( op->Options & pwr_mArduino_OptionsMask_Ao16Bit)
msg.size = local->AoNum + 3;
else
msg.size = local->AoNum * 2 + 3;
else
msg.size = local->AoNum + 3;
msg.id = local->IdCnt++;
msg.type = ard_eMsgType_AoWrite;
......
Volume OtherIO $ClassVolume 0.0.250.10
Body SysBody 01-JAN-1970 01:00:00.00
Attr NextOix = "_X632"
Attr NextOix = "_X633"
Attr NextCix = "_X47"
Attr NextTix[0] = "_X18"
EndBody
......@@ -380,9 +380,16 @@ Volume OtherIO $ClassVolume 0.0.250.10
EndBody
EndObject
Object NoMessage $Value 158 21-DEC-2010 16:10:28.31
Body SysBody 21-DEC-2010 16:10:30.95
Body SysBody 08-JUL-2014 08:04:30.11
Attr Text = "NoMessage"
Attr PgmName = "NoMessage"
Attr Value = 14
EndBody
EndObject
Object ChecksumError $Value 633 08-JUL-2014 08:04:40.13
Body SysBody 08-JUL-2014 08:04:45.51
Attr Text = "ChecksumError"
Attr PgmName = "ChecksumError"
Attr Value = 16
EndBody
EndObject
......
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