Subversion Repositories HomeAutomation

Rev

Rev 1419 | Rev 1502 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1419 Rev 1420
Line 193... Line 193...
193
}
193
}
194
 
194
 
195
void act_output_HandleMessage(StdCan_Msg_t *rxMsg)
195
void act_output_HandleMessage(StdCan_Msg_t *rxMsg)
196
{
196
{
197
    if (    StdCan_Ret_class(rxMsg->Header) == CAN_MODULE_CLASS_ACT &&
197
    if (    StdCan_Ret_class(rxMsg->Header) == CAN_MODULE_CLASS_ACT &&
198
        StdCan_Ret_direction(rxMsg->Header) == DIRECTIONFLAG_FROM_OWNER &&
198
        StdCan_Ret_direction(rxMsg->Header) == DIRECTIONFLAG_TO_OWNER &&
199
        rxMsg->Header.ModuleType == CAN_MODULE_TYPE_ACT_OUTPUT &&
199
        rxMsg->Header.ModuleType == CAN_MODULE_TYPE_ACT_OUTPUT &&
200
        rxMsg->Header.ModuleId == act_output_ID)
200
        rxMsg->Header.ModuleId == act_output_ID)
201
    {
201
    {
202
        uint8_t index = 0;
202
        uint8_t index = 0;
203
        uint8_t value = 0;
203
        uint8_t value = 0;