Add Support for the bProfileTimerRunning Variable (Compact 7)
3/12/2014
If your BSP contains support for the bProfileTimerRunning variable, you must make the following changes to your BSP before it can run on Windows Embedded CE 6.0.
Update the bProfileTimerRunning Variable
Windows Embedded CE 6.0 and Windows Embedded Compact 7 do not contain the bProfileTimerRunning variable. If your BSP uses the bProfileTimerRunning variable, you must declare bProfileTimerRunning as a global variable in the OAL. Set this variable in the OEMProfileTimerEnable and OEMProfileTimerDisable functions to an appropriate value, as shown in the following example:
BOOL bProfileTimerRunning = FALSE
OEMProfileTimerEnable ()
{
// The rest of the code for this function.
bProfileTimerRunning = TRUE;
}
OEMProfileTimerDisable ()
{
bProfileTimerRunning = FALSE;
// The rest of the code for this function.
}