12,11 → 12,11 |
extern uint8_t missingMotor; |
|
typedef struct { |
uint8_t SetPoint; // written by attitude controller |
uint8_t Present; // 0 if BL was found |
uint8_t Error; // I2C error counter |
uint8_t Current; // read byck from BL |
uint8_t MaxPWM; // read back from BL |
uint8_t throttle; // written by attitude controller |
uint8_t present; // 0 if BL was found |
uint8_t error; // I2C error counter |
uint8_t current; // read back from BL |
uint8_t maxPWM; // read back from BL |
}__attribute__((packed)) motorData_t; |
|
extern motorData_t motor[MAX_MOTORS]; |