SoC Calculator #754

Merged
muellerr merged 74 commits from soc-calculator into main 2023-10-11 10:50:48 +02:00
Showing only changes of commit bd8cb7c26f - Show all commits

View File

@ -208,8 +208,6 @@ void EiveSystem::handleEventMessages() {
} }
case power::POWER_LEVEL_CRITICAL: case power::POWER_LEVEL_CRITICAL:
CommandMessage msg; CommandMessage msg;
ModeMessage::setModeMessage(&msg, ModeMessage::CMD_MODE_COMMAND_FORCED,
HasModesIF::MODE_OFF, HasModesIF::SUBMODE_NONE);
HealthMessage::setHealthMessage(&msg, HealthMessage::HEALTH_SET, HasHealthIF::FAULTY); HealthMessage::setHealthMessage(&msg, HealthMessage::HEALTH_SET, HasHealthIF::FAULTY);
ReturnValue_t result = MessageQueueSenderIF::sendMessage( ReturnValue_t result = MessageQueueSenderIF::sendMessage(
strQueueId, &msg, MessageQueueIF::NO_QUEUE, false); strQueueId, &msg, MessageQueueIF::NO_QUEUE, false);