Subversion Repositories HomeAutomation

Rev

Rev 149 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 149 Rev 151
Line 45... Line 45...
45
   
45
   
46
    Can_Message_t txMsg;
46
    Can_Message_t txMsg;
47
    Can_Message_t rxMsg;
47
    Can_Message_t rxMsg;
48
    txMsg.Id = 0;
48
    txMsg.Id = 0;
49
    txMsg.RemoteFlag = 0;
49
    txMsg.RemoteFlag = 0;
50
    txMsg.ExtendedFlag = 1;
50
    txMsg.ExtendedFlag = 1; //DataLength and the databytes are just what happens to be in the memory. They are never set.
51
   
51
   
52
    /* main loop */
52
    /* main loop */
53
    while (1) {
53
    while (1) {
54
        /* service the CAN routines */
54
        /* service the CAN routines */
55
        Can_Service();
55
        Can_Service();