Fixed compilation
This commit is contained in:
parent
0a1c5a50ae
commit
06aa39192f
|
@ -216,6 +216,8 @@ static int _timeout_tre(int fd, int sensor, envsys_tre_data_t * tre)
|
||||||
#else
|
#else
|
||||||
static gboolean _on_timeout(gpointer data)
|
static gboolean _on_timeout(gpointer data)
|
||||||
{
|
{
|
||||||
|
Battery * battery = data;
|
||||||
|
|
||||||
/* XXX should show uncertain state instead of a full battery */
|
/* XXX should show uncertain state instead of a full battery */
|
||||||
_battery_set(battery, 100.0);
|
_battery_set(battery, 100.0);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user