/* The function is used to check JPEG engine not busy.  */
static BOOL _jpegIsReady(void)
/* The function is used to check JPEG engine not busy.  */
static BOOL _jpegIsReady(void)
{
    if (g_bWait == FALSE)
        return TRUE;
    else
        return FALSE;
}