Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/222D_bt_24g/output/eeprom.dat	(revision 1895)
+++ /YC1308AF/branch/mouse/YDN_Project/222D_bt_24g/output/eeprom.dat	(working copy)
@@ -4098,8 +4098,8 @@
 97
 20
 40
-40
-d5
+04
+15
 20
 20
 46
@@ -6468,8 +6468,8 @@
 20
 61
 2c
-5b
-83
+73
+fd
 aa
 55
 40
Index: output/flash.dat
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/222D_bt_24g/output/flash.dat	(revision 1895)
+++ /YC1308AF/branch/mouse/YDN_Project/222D_bt_24g/output/flash.dat	(working copy)
@@ -4098,8 +4098,8 @@
 97
 20
 40
-40
-d5
+04
+15
 20
 20
 46
@@ -6468,8 +6468,8 @@
 20
 61
 2c
-5b
-83
+73
+fd
 aa
 55
 40
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/222D_bt_24g/output/program.lis	(revision 1895)
+++ /YC1308AF/branch/mouse/YDN_Project/222D_bt_24g/output/program.lis	(working copy)
@@ -1385,7 +1385,7 @@
 
 p_mouse_dpi_store:
 03fe 67e0c997 store 1 ,mem_mouse_dpi 
-03ff 204040d5 call mouse_seting_dpi 
+03ff 20400415 call p_mouse_seting_dpi 
 0400 2020462e branch mouse_store_device_info_delay 
 
 p_mouse_dpi_level_1:
Index: output/ramcode.rom
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/222D_bt_24g/output/ramcode.rom	(revision 1895)
+++ /YC1308AF/branch/mouse/YDN_Project/222D_bt_24g/output/ramcode.rom	(working copy)
@@ -1021,7 +1021,7 @@
 1fe0fe01
 1fe17e03
 67e0c997
-204040d5
+20400415
 2020462e
 58000002
 202003fe
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/YDN_Project/222D_bt_24g/program/patch.prog	(revision 1895)
+++ /YC1308AF/branch/mouse/YDN_Project/222D_bt_24g/program/patch.prog	(working copy)
@@ -11,6 +11,9 @@
 //define DOUBLE_DPI_KEY
 define LOGO_LED
 //define BATTERY_UPDATA
+define SEARCH_DONGLE
+define COMMBINATION_KEY
+define DPI_LED
 
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
@@ -470,8 +473,10 @@
 	store 2,mem_cb_before_lpm_sleep
 	setarg p_mouse_24g_package_data
 	store 2,mem_cb_24g_transmit_data
+ifdef SEARCH_DONGLE
 	setarg p_mouse_24g_search_dongle
 	store 2,mem_cb_24g_search_receiver
+endif
 	branch mouse_cb_fuction+6
 
 p_mouse_24g_package_data:		// 250Hz
@@ -522,7 +527,8 @@
 p_mouse_data_xy_release_before:
 	jam 0,mem_mouse_24g_clear_sensor_data_flag
 	branch mouse_data_xy_release+4
-
+	
+ifdef SEARCH_DONGLE
 p_mouse_24g_search_dongle:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_24G_SEARCH_DONGLE
@@ -579,6 +585,7 @@
 	store 1,mem_mouse_search_dongle_action
 	call mouse_no_data_timer_init
 	branch p_mouse_init_sensor_wakeup
+endif
 	
 p_mouse_24g_fast_conn_mode_check:
 	fetch 4,mem_24g_receiver_addr
@@ -1125,12 +1132,16 @@
 	call mouse_24g_long_sleep_param_update_timer
 	//led
 	call mouse_device_poweron_timer
+ifdef DPI_LED
 	call p_mouse_dpi_led_blink_delay_timer
+endif
 	call p_mouse_led_multi_timer
 
 	call mouse_dpi_key_check_long_press
 	call mouse_bt_discovery_check
+ifdef COMMBINATION_KEY
 	call p_mouse_commbination_key_process
+endif
 	call mouse_check_discovery_timeout_timer
 	call p_mouse_24g_lowpower_stop_blink_timer
 	call p_mouse_24g_low_power_led_off_timer
@@ -1174,11 +1185,14 @@
 	jam 0,mem_mouse_multi_led_blink_enable
 	branch p_mouse_device_multi_led_off+1
 
+ifdef DPI_LED
 p_mouse_dpi_led_blink_delay_timer:
 	arg mem_mouse_dpi_led_delay_count,regc
 	arg p_mouse_dpi_led_blink_init,regb
-	branch timer_single_step	
-
+	branch timer_single_step
+endif
+	
+ifdef COMMBINATION_KEY
 p_mouse_commbination_key_process:
 	fetch 1,mem_device_flag
 	beq MODE_24G_DEVICE,p_mouse_24g_commbination_key_process
@@ -1210,6 +1224,7 @@
 p_mouse_combination_ui_timer:
 	arg p_mouse_24g_start_pair_mode,regb
 	branch mouse_combination_ui_timer+1
+endif
 
 ifdef BLE
 
@@ -1768,7 +1783,7 @@
 	and pdata,0x03,pdata
 p_mouse_dpi_store:
 	store 1,mem_mouse_dpi
-	call mouse_seting_dpi
+	call p_mouse_seting_dpi
 	branch mouse_store_device_info_delay
 
 ifdef DOUBLE_DPI_KEY
@@ -1829,7 +1844,9 @@
 
 p_mouse_seting_dpi:
 	call p_mouse_setting_dpi_4_level
+ifdef DPI_LED
 	call p_mouse_dpi_led_blink_delay
+endif
 p_mouse_seting_sensor_type:
 	fetch 1,mem_config_sensor_type
 	beq KA5857,p_mouse_seting_3212_dpi
@@ -1865,7 +1882,7 @@
 	fetch 1,mem_3212_dpi_4_new
 	branch mouse_p3212_dpi
 
-
+ifdef DPI_LED
 p_mouse_dpi_led_blink_delay:
 	fetch 1,mem_dpi_led_gpio
 	rtneq GPIO_DISABLE
@@ -1904,10 +1921,10 @@
 	rtnbit0 MOUSE_ENABLE_DPI_LEVEL_4
 	increase 1,temp  	// 2-->3   3-->4
 	rtn
-
 p_mouse_dpi_led_blink_count_clean:
 	increase -3,temp		// 4-->1  5-->2
 	rtn
+endif
 
 p_mouse_low_voltage_led_timer:
 	fetch 2,mem_mouse_discovery_timer
