Corrected present_value set call parameter order. Thank you, Peter!

This commit is contained in:
skarg
2009-07-15 18:44:55 +00:00
parent e80a855302
commit 2a7197f93d
+2 -2
View File
@@ -379,8 +379,8 @@ bool Analog_Value_Write_Property(
object. */ object. */
if (Analog_Value_Present_Value_Set( if (Analog_Value_Present_Value_Set(
wp_data->object_instance, wp_data->object_instance,
wp_data->priority, value.type.Real,
value.type.Real)) { wp_data->priority)) {
status = true; status = true;
} else if (wp_data->priority == 6) { } else if (wp_data->priority == 6) {
/* Command priority 6 is reserved for use by Minimum On/Off /* Command priority 6 is reserved for use by Minimum On/Off