Index: output/sched.rom
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/mouse_pubulic/output/sched.rom	(revision 1442)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/mouse_pubulic/output/sched.rom	(working copy)
@@ -223,7 +223,7 @@
 mem_mouse_sensor_sdio_gpio:06
 mem_config_low_voltage_alarm_gpio:83
 mem_config_device_bt2_led_gpio:ff
-mem_dpi_led_gpio:ff #03
+mem_dpi_led_gpio:ff
 mem_firebutton_gpio:ff
 
 mem_sensor_angle_default:03	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/mouse_pubulic/program/patch.prog	(revision 1450)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/mouse_pubulic/program/patch.prog	(working copy)
@@ -1,4 +1,4 @@
- //define BLE
+//define BLE
 //define CLASSIC
 //define G24_OTA
 //define PW_CTRL
@@ -8,6 +8,7 @@
 //define RSSI_PATCH
 //define RSSI_SORT
 define SELECT_ANGLE
+//define DISABLE_24G_LED
 
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
@@ -66,6 +67,9 @@
 	set0 mark_adc_enable,mark
 	call enable_authrom
 	call p_mouse_setting_config
+ifdef DISABLE_24G_LED
+	ncall p_mouse_judge_current_mode,wake
+endif
 	call mouse_init_sunt
 	rtn wake
 	call mouse_dpi_config
@@ -159,6 +163,26 @@
 	rtn
 endif
 
+ifdef DISABLE_24G_LED
+//if 24g led  and MOUSE_ENABLE_POWER_ON_LED disable, toggle bt adv mode,led no blink,
+//so bt mode MOUSE_ENABLE_POWER_ON_LED set1
+p_mouse_judge_current_mode:
+	fetch 1,mem_device_flag
+	branch p_mouse_current_24g_mode,blank
+	branch p_mouse_current_bt_mode
+
+p_mouse_current_bt_mode:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	set1 MOUSE_ENABLE_POWER_ON_LED,pdata
+	store MOUSE_FLAG_LEN,mem_mouse_flag
+	rtn
+p_mouse_current_24g_mode:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	set0 MOUSE_ENABLE_POWER_ON_LED,pdata
+	store MOUSE_FLAG_LEN,mem_mouse_flag
+	rtn
+endif
+
 p_mouse_cb_fuction:
 	setarg p_mouse_24g_package_data
 	store 2,mem_cb_24g_transmit_data
Index: program_patch/main_patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/mouse_pubulic/program_patch/main_patch.prog	(revision 1442)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/mouse_pubulic/program_patch/main_patch.prog	(working copy)
@@ -1,4 +1,4 @@
- //define BLE
+//define BLE
 //define CLASSIC
 //define G24_OTA
 //define PW_CTRL
@@ -8,6 +8,7 @@
 //define RSSI_PATCH
 //define RSSI_SORT
 define SELECT_ANGLE
+//define DISABLE_24G_LED
 
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
@@ -66,6 +67,9 @@
 	set0 mark_adc_enable,mark
 	call enable_authrom
 	call p_mouse_setting_config
+ifdef DISABLE_24G_LED
+	ncall p_mouse_judge_current_mode,wake
+endif
 	call mouse_init_sunt
 	rtn wake
 	call mouse_dpi_config
@@ -159,6 +163,26 @@
 	rtn
 endif
 
+ifdef DISABLE_24G_LED
+//if 24g led  and MOUSE_ENABLE_POWER_ON_LED disable, toggle bt adv mode,led no blink,
+//so bt mode MOUSE_ENABLE_POWER_ON_LED set1
+p_mouse_judge_current_mode:
+	fetch 1,mem_device_flag
+	branch p_mouse_current_24g_mode,blank
+	branch p_mouse_current_bt_mode
+
+p_mouse_current_bt_mode:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	set1 MOUSE_ENABLE_POWER_ON_LED,pdata
+	store MOUSE_FLAG_LEN,mem_mouse_flag
+	rtn
+p_mouse_current_24g_mode:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	set0 MOUSE_ENABLE_POWER_ON_LED,pdata
+	store MOUSE_FLAG_LEN,mem_mouse_flag
+	rtn
+endif
+
 p_mouse_cb_fuction:
 	setarg p_mouse_24g_package_data
 	store 2,mem_cb_24g_transmit_data
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/mouse_pubulic/sched/mouse.dat	(revision 1430)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/mouse_pubulic/sched/mouse.dat	(working copy)
@@ -127,7 +127,7 @@
 mem_mouse_sensor_sdio_gpio:06
 mem_config_low_voltage_alarm_gpio:83
 mem_config_device_bt2_led_gpio:ff
-mem_dpi_led_gpio:ff #03
+mem_dpi_led_gpio:ff
 mem_firebutton_gpio:ff
 
 mem_sensor_angle_default:03	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
