#include "area.h"
typedef struct Battery {
- // always start with area
- Area area;
+ // always start with area
+ Area area;
- config_color font;
- int bat1_posy;
- int bat2_posy;
+ config_color font;
+ int bat1_posy;
+ int bat2_posy;
} Battery;
enum chargestate {
// initialize clock : y position, ...
-void update_battery(struct batstate *data);
+void update_battery();
void init_battery();