Subversion Repositories FlightCtrl

Rev

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

Rev 1965 Rev 2035
Line 10... Line 10...
10
 
10
 
11
extern volatile uint8_t twi_state;
11
extern volatile uint8_t twi_state;
Line 12... Line 12...
12
extern uint8_t missingMotor;
12
extern uint8_t missingMotor;
13
 
13
 
14
typedef struct {
14
typedef struct {
15
        uint8_t SetPoint; // written by attitude controller
15
        uint8_t throttle; // written by attitude controller
16
        uint8_t Present; // 0 if BL was found
16
        uint8_t present; // 0 if BL was found
17
        uint8_t Error; // I2C error counter
17
        uint8_t error; // I2C error counter
18
        uint8_t Current; // read byck from BL
18
        uint8_t current; // read back from BL
Line 19... Line 19...
19
        uint8_t MaxPWM; // read back from BL
19
        uint8_t maxPWM; // read back from BL
Line 20... Line 20...
20
}__attribute__((packed)) motorData_t;
20
}__attribute__((packed)) motorData_t;