Subversion Repositories HomeAutomation

Rev

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

Rev 1537 Rev 1538
Line 201... Line 201...
201
 
201
 
202
 
202
 
203
static void pcIntCallback(uint8_t id, uint8_t status) {
203
static void pcIntCallback(uint8_t id, uint8_t status) {
204
    // new state of the DIAG pin?
204
    // new state of the DIAG pin?
205
    if (id == act_protectedOutput_DIAG_PIN_PCINT) {
205
    if (id == act_protectedOutput_DIAG_PIN_PCINT) {
206
        diagState = status;
206
        //diagState = status;
-
 
207
        readDiagPin();
207
        updateOutput(0);
208
        updateOutput(0);
208
        // DIAG asserted?
209
        // DIAG asserted?
209
        if (diagState == DIAG_ASSERTED) {
210
        if (diagState == DIAG_ASSERTED) {
210
            // if retry-timer mechanism is enabled, initiate timer
211
            // if retry-timer mechanism is enabled, initiate timer
211
            if (act_protectedOutput_RETRY_TIMER_TIME_S > 0) {
212
            if (act_protectedOutput_RETRY_TIMER_TIME_S > 0) {