Event_Priorities in Get_Event_Information is read form associated notification-class object.

This commit is contained in:
k001a
2011-07-13 21:14:52 +00:00
parent 536438d23e
commit 2364561f19
4 changed files with 30 additions and 9 deletions
+2 -4
View File
@@ -1006,10 +1006,8 @@ int Analog_Value_Event_Information(unsigned index,
bitstring_set_bit(&getevent_data->eventEnable, TRANSITION_TO_NORMAL,
(AV_Descr[index].Event_Enable & EVENT_ENABLE_TO_NORMAL ) ? true : false );
/* Event Priorities */
/* FIXME: finish it */
getevent_data->eventPriorities[0] = 255;
getevent_data->eventPriorities[1] = 255;
getevent_data->eventPriorities[2] = 255;
Notification_Class_Get_Priorities(AV_Descr[index].Notification_Class,
getevent_data->eventPriorities);
return 1; /* active event */
}