namepsace fix
This commit is contained in:
parent
fdbe5408b7
commit
7d70cce4de
@ -48,7 +48,7 @@ void EventMessage::setMessageId(uint8_t id) {
|
|||||||
EventSeverity_t EventMessage::getSeverity() {
|
EventSeverity_t EventMessage::getSeverity() {
|
||||||
Event event;
|
Event event;
|
||||||
memcpy(&event, getData(), sizeof(Event));
|
memcpy(&event, getData(), sizeof(Event));
|
||||||
return EVENT::getSeverity(event);
|
return event::getSeverity(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EventMessage::setSeverity(EventSeverity_t severity) {
|
void EventMessage::setSeverity(EventSeverity_t severity) {
|
||||||
@ -61,7 +61,7 @@ void EventMessage::setSeverity(EventSeverity_t severity) {
|
|||||||
EventId_t EventMessage::getEventId() {
|
EventId_t EventMessage::getEventId() {
|
||||||
Event event;
|
Event event;
|
||||||
memcpy(&event, getData(), sizeof(Event));
|
memcpy(&event, getData(), sizeof(Event));
|
||||||
return EVENT::getEventId(event);
|
return event::getEventId(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EventMessage::setEventId(EventId_t eventId) {
|
void EventMessage::setEventId(EventId_t eventId) {
|
||||||
|
Loading…
Reference in New Issue
Block a user