Subversion Repositories HomeAutomation

Rev

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

Rev 1635 Rev 1636
Line 113... Line 113...
113
        cp.setId( ( cp.getId()&0x0000FFFF )|( CAN_NMT_PGM_COPY<<16 ) );
113
        cp.setId( ( cp.getId()&0x0000FFFF )|( CAN_NMT_PGM_COPY<<16 ) );
114
        cp.setData(data);
114
        cp.setData(data);
115
        cp.setDataLength(6);
115
        cp.setDataLength(6);
116
        return cp;
116
        return cp;
117
    }
117
    }
118
   
-
 
119
        private const byte DEVICETYPE_AVR_ATmega8   = 1;
-
 
120
    private const byte DEVICETYPE_AVR_ATmega48  = 2;
-
 
121
    private const byte DEVICETYPE_AVR_ATmega88  = 3;
-
 
122
    private const byte DEVICETYPE_AVR_ATmega168 = 4;
-
 
123
    private const byte DEVICETYPE_AVR_ATmega328 = 5;
-
 
124
   
118
       
125
    public bool isBiosStart(CanPacket cp, byte sender, uint hwid) {
119
    public bool isBiosStart(CanPacket cp, byte sender, uint hwid) {
126
        bool returnval = false;
120
        bool returnval = false;
127
        uint id = cp.getId();
121
        uint id = cp.getId();
128
        if (HWID_INUSE) {
122
        if (HWID_INUSE) {