Corrected analog output and analog input bit strings for status flags

which were not getting initialized.  Refactored the bit strings and
moved functionality from bacdcode into bacstr.
This commit is contained in:
skarg
2006-01-05 01:29:32 +00:00
parent d82c2c382d
commit 105528e7b1
6 changed files with 103 additions and 42 deletions
-7
View File
@@ -267,18 +267,11 @@ bool bacapp_compare(
test_length = characterstring_length(&test_value->type.Character_String);
test_str = characterstring_value(&test_value->type.Character_String);
if (length != test_length)
{
status = false;
printf("length=%d test_length=%d\n",length,test_length);
}
for (i = 0; i < test_length; i++)
{
if (str[i] != test_str[i])
{
status = false;
printf("str[%d]=%c test_str[%d]=%c\n",
i,str[i],i,test_str[i]);
}
}
}
break;