Subversion Repositories FlightCtrl

Rev

Rev 1829 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1829 Rev 1833
Line 3... Line 3...
3
 
3
 
4
typedef struct
4
typedef struct
5
{
5
{
6
        unsigned short ActualCurrent; // in 0.1A Steps
6
        unsigned short ActualCurrent; // in 0.1A Steps
7
        unsigned short ActualPower;   // in 0.1W
7
        unsigned short ActualPower;   // in 0.1W
8
        signed short UsedCapacity;  // in mAh           //Modified  by metro
8
        unsigned short UsedCapacity;  // in mAh
9
        signed short RemainCapacity;  // in mAh //Added by metro
9
        signed short RemainCapacity;  // in mAh //Added by metro
10
        unsigned char MinOfMaxPWM;        // BL Power Limit
10
        unsigned char MinOfMaxPWM;        // BL Power Limit
Line 11... Line 11...
11
} __attribute__((packed)) Capacity_t;
11
} __attribute__((packed)) Capacity_t;