formatting

SVN revision: 51720
This commit is contained in:
Sebastian Dransfeld 2010-08-29 10:57:05 +00:00
parent cf7e7abbcb
commit e2c4df0689
2 changed files with 5 additions and 5 deletions

View File

@ -223,8 +223,8 @@ _battery_udev_battery_update(const char *syspath, Battery *bat)
GET_NUM(bat, design_charge, POWER_SUPPLY_CHARGE_FULL_DESIGN);
}
GET_NUM(bat, last_full_charge, POWER_SUPPLY_ENERGY_FULL);
if (!bat->last_full_charge)
GET_NUM(bat, last_full_charge, POWER_SUPPLY_CHARGE_FULL);
if (!bat->last_full_charge)
GET_NUM(bat, last_full_charge, POWER_SUPPLY_CHARGE_FULL);
test = eeze_udev_syspath_get_property(bat->udi, "POWER_SUPPLY_ENERGY_NOW");
if (!test)
{

View File

@ -29,7 +29,7 @@ temperature_udev_update(void *data)
temp = 0;
EINA_LIST_FOREACH(inst->tempdevs, l, syspath)
{
for (x = 1, y = 0;x < 15;x++)
for (x = 1, y = 0; x < 15; x++)
{
if (y >= 2) break;
sprintf(buf, "temp%d_input", x);
@ -67,8 +67,8 @@ temperature_udev_update(void *data)
snprintf(buf, sizeof(buf), "%3.0f°C", temp);
_temperature_face_level_set(inst,
(double)(temp - inst->low) /
(double)(inst->high - inst->low));
(double)(temp - inst->low) /
(double)(inst->high - inst->low));
edje_object_part_text_set(inst->o_temp, "e.text.reading", buf);
}
else