Subversion Repositories HomeAutomation

Rev

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

Rev 1421 Rev 1482
Line 193... Line 193...
193
            if (pinStatus[index] == HIGH) {
193
            if (pinStatus[index] == HIGH) {
194
                txMsg.Data[1] = CAN_MODULE_ENUM_PHYSICAL_PINSTATUS_STATUS_HIGH;
194
                txMsg.Data[1] = CAN_MODULE_ENUM_PHYSICAL_PINSTATUS_STATUS_HIGH;
195
            } else {
195
            } else {
196
                txMsg.Data[1] = CAN_MODULE_ENUM_PHYSICAL_PINSTATUS_STATUS_LOW;
196
                txMsg.Data[1] = CAN_MODULE_ENUM_PHYSICAL_PINSTATUS_STATUS_LOW;
197
            }
197
            }
-
 
198
            pinStatus[index] = NOCHANGE;
198
            while (StdCan_Put(&txMsg) != StdCan_Ret_OK);
199
            while (StdCan_Put(&txMsg) != StdCan_Ret_OK);
199
        }
200
        }
200
    }
201
    }
201
}
202
}
202
 
203