Subversion Repositories FlightCtrl

Rev

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

Rev 1526 Rev 1672
Line 4... Line 4...
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
        unsigned short UsedCapacity;  // in mAh
8
        unsigned short UsedCapacity;  // in mAh
-
 
9
        unsigned char MinOfMaxPWM;        // BL Power Limit
9
} __attribute__((packed)) Capacity_t;
10
} __attribute__((packed)) Capacity_t;
Line 10... Line 11...
10
 
11
 
Line 11... Line 12...
11
extern Capacity_t Capacity;
12
extern Capacity_t Capacity;