Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1959 → Rev 1960

/branches/dongfang_FC_rewrite/twimaster.h
2,6 → 2,7
#define _I2C_MASTER_H
 
#include <inttypes.h>
#include "configuration.h"
 
#define TWI_STATE_MOTOR_TX 0
#define TWI_STATE_MOTOR_RX 3
21,7 → 22,6
uint8_t MaxPWM; // read back from BL
}__attribute__((packed)) MotorData_t;
 
#define MAX_MOTORS 12
extern MotorData_t motor[MAX_MOTORS];
 
extern volatile uint16_t I2CTimeout;