Subversion Repositories FlightCtrl

Rev

Rev 1506 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef _CAPACITY_H
#define _CAPACITY_H

typedef struct
{
        unsigned short ActualCurrent; // in 0.1A Steps
        unsigned short UsedCapacity;    // in mAh
} __attribute__((packed)) Capacity_t;

extern Capacity_t Capacity;

void Capacity_Init(void);
void Capacity_Update(void);


#endif //_CAPACITY_H