Project

General

Profile

Revision 189

Addition of charging detection. (Miriam)

View differences:

recharge.c
153 153

  
154 154
	//TODO: check if battery is charging
155 155
	//if (battery is charging)
156
	if (button2_click())
156
	if (recharge_i2c_is_battery_charging())
157 157
	{
158 158
		wl_recharge_dock();
159 159
		move(0, 0);

Also available in: Unified diff