Skip to content

Commit

Permalink
Revert "charger: Update to match AOSP recovery API"
Browse files Browse the repository at this point in the history
This reverts commit d00b7c0.
  • Loading branch information
hyperb1iss committed Oct 22, 2013
1 parent d00b7c0 commit be76d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charger/charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ static int draw_text(const char *str, int x, int y)
x = (gr_fb_width() - str_len_px) / 2;
if (y < 0)
y = (gr_fb_height() - char_height) / 2;
gr_text(x, y, str, 0);
gr_text(x, y, str/*, 0*/);

return y + char_height;
}
Expand All @@ -705,7 +705,7 @@ static void draw_capacity(struct charger *charger)
x = (gr_fb_width() - str_len_px) / 2;
y = (gr_fb_height() + char_height) / 2;
android_green();
gr_text(x, y, cap_str, 0);
gr_text(x, y, cap_str/*, 0*/);
}

/* returns the last y-offset of where the surface ends */
Expand Down

0 comments on commit be76d13

Please sign in to comment.