Subversion Repositories HomeAutomation

Rev

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

Rev 1427 Rev 1721
Line 53... Line 53...
53
            }
53
    }
54
#endif
54
    #endif
55
        }
55
      }
56
    }
56
  }
57
    #endif
57
#endif
-
 
58
 
-
 
59
 
-
 
60
#if (act_hd44780_TYPE==0)
-
 
61
    if (OCR0A==0 && (TCCR0A & ((1<<COM0A1)|(1<<WGM01)|(1<<WGM00))) == ((1<<COM0A1)|(1<<WGM01)|(1<<WGM00)))
-
 
62
    {
-
 
63
        TCCR0A &= ~((1<<COM0A1)|(1<<WGM01)|(1<<WGM00));
-
 
64
    }
-
 
65
    if (OCR0A!=0 && (TCCR0A & ((1<<COM0A1)|(1<<WGM01)|(1<<WGM00))) != ((1<<COM0A1)|(1<<WGM01)|(1<<WGM00)))
-
 
66
    {
-
 
67
        TCCR0A |= (1<<COM0A1)|(1<<WGM01)|(1<<WGM00);
-
 
68
    }
-
 
69
#endif
-
 
70
       
-
 
71
       
-
 
72
 
-
 
73
       
-
 
74
       
58
}
75
}
59
 
76
 
60
void act_hd44780_HandleMessage(StdCan_Msg_t *rxMsg)
77
void act_hd44780_HandleMessage(StdCan_Msg_t *rxMsg)
61
{
78
{
62
    StdCan_Msg_t txMsg;
79
    StdCan_Msg_t txMsg;