Fix checkwps.

Change-Id: Ic10df965d55939b4d5ff5105f83a08a097877910
This commit is contained in:
Thomas Martitz 2014-01-15 22:39:51 +01:00
parent a02f863eef
commit 5007bd64c3

View file

@ -1207,6 +1207,10 @@ int clamp_value_wrap(int value, int max, int min)
}
#endif
#endif
#ifndef __PCTOOL__
#define MAX_ACTIVITY_DEPTH 12
static enum current_activity
current_activity[MAX_ACTIVITY_DEPTH] = {ACTIVITY_UNKNOWN};
@ -1216,7 +1220,7 @@ void push_current_activity(enum current_activity screen)
current_activity[current_activity_top++] = screen;
FOR_NB_SCREENS(i)
{
#if defined(HAVE_LCD_BITMAP) && !defined(__PCTOOL__)
#ifdef HAVE_LCD_BITMAP
skinlist_set_cfg(i, NULL);
#endif
skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_ALL);
@ -1228,7 +1232,7 @@ void pop_current_activity(void)
current_activity_top--;
FOR_NB_SCREENS(i)
{
#if defined(HAVE_LCD_BITMAP) && !defined(__PCTOOL__)
#ifdef HAVE_LCD_BITMAP
skinlist_set_cfg(i, NULL);
#endif
skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_ALL);
@ -1239,3 +1243,5 @@ enum current_activity get_current_activity(void)
{
return current_activity[current_activity_top?current_activity_top-1:0];
}
#endif