mirror of
https://opendev.org/x/pyghmi
synced 2026-03-31 23:33:34 +00:00
Fix decode_eventdata in events
A partial change failed to cover a calling function. Change-Id: I61c3d51e7ceb7cd438be7fdea9130d857a779343
This commit is contained in:
@@ -462,7 +462,8 @@ class EventHandler(object):
|
||||
# sensor specific decode, see sdr module...
|
||||
# 2 - 0xc: generic discrete, 0x6f, sensor specific
|
||||
additionaldata = decode_eventdata(
|
||||
sensor_type, evtoffset, event_data, self._sdr)
|
||||
sensor_type, evtoffset, event_data, self.event_consts,
|
||||
self._sdr)
|
||||
if additionaldata:
|
||||
event['event_data'] = additionaldata
|
||||
|
||||
|
||||
Reference in New Issue
Block a user