Subversion Repositories FlightCtrl

Rev

Rev 2468 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2468 Rev 2524
Line 425... Line 425...
425
        if((BLConfig.Revision & 0x0B) != BLCONFIG_REVISION) return (BLCONFIG_ERR_SW_NOT_COMPATIBLE); // bad revison
425
        if((BLConfig.Revision & 0x0B) != BLCONFIG_REVISION) return (BLCONFIG_ERR_SW_NOT_COMPATIBLE); // bad revison
426
        i = RAM_Checksum((uint8_t*)&BLConfig, sizeof(BLConfig_t) - 1);
426
        i = RAM_Checksum((uint8_t*)&BLConfig, sizeof(BLConfig_t) - 1);
427
        if(i != BLConfig.crc) return(BLCONFIG_ERR_CHECKSUM); // bad checksum
427
        if(i != BLConfig.crc) return(BLCONFIG_ERR_CHECKSUM); // bad checksum
Line 428... Line 428...
428
 
428
 
429
    packets = Max_I2C_Packets;
429
    packets = Max_I2C_Packets;
430
        Max_I2C_Packets = 12;
430
        Max_I2C_Packets = MAX_MOTORS;
Line 431... Line 431...
431
        I2CTimeout = 100;
431
        I2CTimeout = 100;
432
 
432