Add Small Event Support #18

Merged
muellerr merged 5 commits from mueller/continue-event-pus-manager into main 2022-10-23 18:41:14 +02:00
Showing only changes of commit 3ffbd3697e - Show all commits

View File

@ -98,11 +98,10 @@ impl TryFrom<EventRaw> for Event {
pub struct EventSmall {
severity: Severity,
group_id: u8,
unique_id: u8
unique_id: u8,
}
impl EventSmall {
/// Generate an event. The raw representation of an event has 32 bits.
/// If the passed group ID is invalid (too large), None wil be returned
///