void Open_check(void) { /* to double check re-open; */ if (open_count > 0) return; LG_rapi_init(); }
void Open_check(void) { /* MOD 0014110: [FACTORY RESET] stability */ /* sync up with oem_rapi */ uint32_t open_count; /* to double check re-open; */ open_count = get_oem_rapi_open_cnt(); if(open_count > 0) { #ifdef LOCAL_RAPI_DBG pr_info("%s, open_count : %d \r\n", __func__, open_count); #endif return; } LG_rapi_init(); }
void Open_check(void) { LG_rapi_init(); }