Corrected baud rate write.

This commit is contained in:
skarg
2009-07-10 22:00:40 +00:00
parent f8926855bc
commit 958922a304
+1 -1
View File
@@ -615,7 +615,7 @@ bool Device_Write_Property(
break;
case 9600:
if (value.tag == BACNET_APPLICATION_TAG_UNSIGNED_INT) {
if ((value.type.Unsigned_Int > 115200) &&
if ((value.type.Unsigned_Int <= 115200) &&
(rs485_baud_rate_set(value.type.Unsigned_Int))) {
status = true;
} else {