Closed Arcticae closed 4 years ago
It's the same way i did it in the previous PR, and IPMI documentation defines these 3 variables as 3 separate fields, so i thought it would be more readable that way, although array would be fine with me too. If you think it's more convenient, let me know and i'll edit the PR.
yes ... sorry for the confusion. I think it would be better to have these kind a values as list/array like value
@hthiery I've changed event_data to store it as an array of integers (more useful for further decoding than plain string), and also corrected the event_type decoding, as it was only taking 6 younger bits of the event (mask was 0x3f), instead of 7 (now mask is 0x7f). Would appreciate if you reviewed the changes and merged them :)
Coverage decreased (-0.1%) to 75.02% when pulling 174e8bd225124e26b92e677af07ebde5a4c77ca4 on Arcticae:master into 0121bb007b2407e4103799cbec0a78bcae6413bc on kontron:master.