diff --git a/config/open_source/target.mk b/config/open_source/target.mk index f1e3b78..2ef6911 100644 --- a/config/open_source/target.mk +++ b/config/open_source/target.mk @@ -236,7 +236,7 @@ export TX_RX_PCM_MASK ?= 0 A2DP_SCALABLE_ON ?= 0 -FACTORY_MODE ?= 1 +FACTORY_MODE ?= 0 ENGINEER_MODE ?= 0 diff --git a/services/app_ibrt/src/app_ibrt_keyboard.cpp b/services/app_ibrt/src/app_ibrt_keyboard.cpp index 559f33d..42ffb6d 100644 --- a/services/app_ibrt/src/app_ibrt_keyboard.cpp +++ b/services/app_ibrt/src/app_ibrt_keyboard.cpp @@ -134,8 +134,10 @@ void app_ibrt_search_ui_handle_key(APP_KEY_STATUS *status, void *param) case APP_KEY_EVENT_SIXTHCLICK: if(!app_device_bt_is_connected()&&(!app_tws_ibrt_tws_link_connected())){ qxw_dut_mode_enable = true; - app_factorymode_bt_signalingtest(NULL,NULL); - } +#ifdef __FACTORY_MODE_SUPORT__ + app_factorymode_bt_signalingtest(NULL,NULL); +#endif + } break; case APP_KEY_EVENT_EIGHTHCLICK: if(!app_device_bt_is_connected()){