Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/output/eeprom.dat	(revision 3913)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-86
+76
 18
 c2
 84
@@ -83,7 +83,7 @@
 c0
 67
 85
-e9
+e5
 c0
 68
 03
@@ -195,7 +195,7 @@
 c0
 76
 86
-19
+15
 20
 20
 13
@@ -5686,20 +5686,16 @@
 93
 20
 40
-05
-91
-20
-40
 79
 36
 20
 40
 05
-94
+90
 20
 40
 05
-a8
+a4
 20
 20
 46
@@ -5708,18 +5704,6 @@
 e4
 4b
 ab
-c4
-02
-00
-00
-20
-20
-49
-97
-6f
-e4
-4b
-ab
 c2
 97
 40
@@ -5747,7 +5731,7 @@
 20
 40
 05
-9d
+99
 20
 20
 40
@@ -5775,7 +5759,7 @@
 c0
 7f
 85
-a4
+a0
 20
 20
 40
@@ -5811,7 +5795,7 @@
 24
 3a
 05
-b1
+ad
 6f
 e0
 cc
@@ -5823,7 +5807,7 @@
 20
 40
 05
-c1
+bd
 68
 48
 cc
@@ -5863,11 +5847,11 @@
 20
 40
 05
-da
+d6
 20
 40
 05
-c5
+c1
 68
 48
 cc
@@ -5911,7 +5895,7 @@
 20
 40
 05
-d0
+cc
 67
 e0
 cc
@@ -5923,7 +5907,7 @@
 20
 3a
 05
-cc
+c8
 6f
 e0
 cc
@@ -5987,11 +5971,11 @@
 c0
 03
 85
-e5
+e1
 c0
 00
 05
-e7
+e3
 20
 60
 00
@@ -6031,11 +6015,11 @@
 c0
 03
 85
-e5
+e1
 c0
 00
 05
-e7
+e3
 20
 60
 00
@@ -6079,7 +6063,7 @@
 c2
 9e
 85
-f5
+f1
 18
 42
 7e
@@ -6111,7 +6095,7 @@
 24
 3a
 06
-12
+0e
 6f
 e4
 4b
@@ -6119,7 +6103,7 @@
 c2
 8e
 06
-06
+02
 18
 42
 7e
@@ -6130,12 +6114,12 @@
 00
 c0
 00
-06
-02
+05
+fe
 c0
 01
-06
-00
+05
+fc
 20
 60
 00
@@ -6147,7 +6131,7 @@
 20
 20
 05
-f2
+ee
 58
 00
 00
@@ -6155,7 +6139,7 @@
 20
 20
 05
-f2
+ee
 58
 00
 00
@@ -6163,7 +6147,7 @@
 20
 20
 05
-f2
+ee
 58
 00
 00
@@ -6171,7 +6155,7 @@
 20
 20
 05
-f2
+ee
 18
 42
 7e
@@ -6182,16 +6166,16 @@
 00
 c0
 00
-06
-02
+05
+fe
 c0
 01
 06
-04
+00
 c0
 01
-86
-00
+85
+fc
 20
 60
 00
@@ -6207,15 +6191,15 @@
 c0
 00
 06
-04
-c0
 00
-86
+c0
 00
+85
+fc
 c0
 01
 85
-fe
+fa
 20
 60
 00
@@ -6227,7 +6211,7 @@
 c2
 8e
 06
-0c
+08
 18
 42
 7e
@@ -6239,11 +6223,11 @@
 c0
 00
 05
-fe
+fa
 c0
 00
-86
-00
+85
+fc
 20
 60
 00
@@ -6280,8 +6264,8 @@
 20
 26
 f6
-73
-16
+d5
+86
 aa
 55
 40
@@ -7621,16 +7605,16 @@
 02
 40
 00
-d2
+c2
 1d
 55
 aa
 aa
 55
-36
+26
 8b
-c0
-dc
+2a
+72
 ff
 ff
 ff
@@ -8188,5 +8172,21 @@
 ff
 ff
 ff
-46
-f7
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+99
+c0
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/output/flash.dat	(revision 3913)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-86
+76
 18
 c2
 84
@@ -83,7 +83,7 @@
 c0
 67
 85
-e9
+e5
 c0
 68
 03
@@ -195,7 +195,7 @@
 c0
 76
 86
-19
+15
 20
 20
 13
@@ -5686,20 +5686,16 @@
 93
 20
 40
-05
-91
-20
-40
 79
 36
 20
 40
 05
-94
+90
 20
 40
 05
-a8
+a4
 20
 20
 46
@@ -5708,18 +5704,6 @@
 e4
 4b
 ab
-c4
-02
-00
-00
-20
-20
-49
-97
-6f
-e4
-4b
-ab
 c2
 97
 40
@@ -5747,7 +5731,7 @@
 20
 40
 05
-9d
+99
 20
 20
 40
@@ -5775,7 +5759,7 @@
 c0
 7f
 85
-a4
+a0
 20
 20
 40
@@ -5811,7 +5795,7 @@
 24
 3a
 05
-b1
+ad
 6f
 e0
 cc
@@ -5823,7 +5807,7 @@
 20
 40
 05
-c1
+bd
 68
 48
 cc
@@ -5863,11 +5847,11 @@
 20
 40
 05
-da
+d6
 20
 40
 05
-c5
+c1
 68
 48
 cc
@@ -5911,7 +5895,7 @@
 20
 40
 05
-d0
+cc
 67
 e0
 cc
@@ -5923,7 +5907,7 @@
 20
 3a
 05
-cc
+c8
 6f
 e0
 cc
@@ -5987,11 +5971,11 @@
 c0
 03
 85
-e5
+e1
 c0
 00
 05
-e7
+e3
 20
 60
 00
@@ -6031,11 +6015,11 @@
 c0
 03
 85
-e5
+e1
 c0
 00
 05
-e7
+e3
 20
 60
 00
@@ -6079,7 +6063,7 @@
 c2
 9e
 85
-f5
+f1
 18
 42
 7e
@@ -6111,7 +6095,7 @@
 24
 3a
 06
-12
+0e
 6f
 e4
 4b
@@ -6119,7 +6103,7 @@
 c2
 8e
 06
-06
+02
 18
 42
 7e
@@ -6130,12 +6114,12 @@
 00
 c0
 00
-06
-02
+05
+fe
 c0
 01
-06
-00
+05
+fc
 20
 60
 00
@@ -6147,7 +6131,7 @@
 20
 20
 05
-f2
+ee
 58
 00
 00
@@ -6155,7 +6139,7 @@
 20
 20
 05
-f2
+ee
 58
 00
 00
@@ -6163,7 +6147,7 @@
 20
 20
 05
-f2
+ee
 58
 00
 00
@@ -6171,7 +6155,7 @@
 20
 20
 05
-f2
+ee
 18
 42
 7e
@@ -6182,16 +6166,16 @@
 00
 c0
 00
-06
-02
+05
+fe
 c0
 01
 06
-04
+00
 c0
 01
-86
-00
+85
+fc
 20
 60
 00
@@ -6207,15 +6191,15 @@
 c0
 00
 06
-04
-c0
 00
-86
+c0
 00
+85
+fc
 c0
 01
 85
-fe
+fa
 20
 60
 00
@@ -6227,7 +6211,7 @@
 c2
 8e
 06
-0c
+08
 18
 42
 7e
@@ -6239,11 +6223,11 @@
 c0
 00
 05
-fe
+fa
 c0
 00
-86
-00
+85
+fc
 20
 60
 00
@@ -6280,8 +6264,8 @@
 20
 26
 f6
-73
-16
+d5
+86
 aa
 55
 40
@@ -7621,16 +7605,16 @@
 02
 40
 00
-d2
+c2
 1d
 55
 aa
 aa
 55
-36
+26
 8b
-c0
-dc
+2a
+72
 ff
 ff
 ff
@@ -8188,5 +8172,21 @@
 ff
 ff
 ff
-46
-f7
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+99
+c0
Index: output/otp.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/output/otp.dat	(revision 3913)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/output/otp.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-86
+76
 18
 c2
 84
@@ -83,7 +83,7 @@
 c0
 67
 85
-e9
+e5
 c0
 68
 03
@@ -195,7 +195,7 @@
 c0
 76
 86
-19
+15
 20
 20
 13
@@ -5686,20 +5686,16 @@
 93
 20
 40
-05
-91
-20
-40
 79
 36
 20
 40
 05
-94
+90
 20
 40
 05
-a8
+a4
 20
 20
 46
@@ -5708,18 +5704,6 @@
 e4
 4b
 ab
-c4
-02
-00
-00
-20
-20
-49
-97
-6f
-e4
-4b
-ab
 c2
 97
 40
@@ -5747,7 +5731,7 @@
 20
 40
 05
-9d
+99
 20
 20
 40
@@ -5775,7 +5759,7 @@
 c0
 7f
 85
-a4
+a0
 20
 20
 40
@@ -5811,7 +5795,7 @@
 24
 3a
 05
-b1
+ad
 6f
 e0
 cc
@@ -5823,7 +5807,7 @@
 20
 40
 05
-c1
+bd
 68
 48
 cc
@@ -5863,11 +5847,11 @@
 20
 40
 05
-da
+d6
 20
 40
 05
-c5
+c1
 68
 48
 cc
@@ -5911,7 +5895,7 @@
 20
 40
 05
-d0
+cc
 67
 e0
 cc
@@ -5923,7 +5907,7 @@
 20
 3a
 05
-cc
+c8
 6f
 e0
 cc
@@ -5987,11 +5971,11 @@
 c0
 03
 85
-e5
+e1
 c0
 00
 05
-e7
+e3
 20
 60
 00
@@ -6031,11 +6015,11 @@
 c0
 03
 85
-e5
+e1
 c0
 00
 05
-e7
+e3
 20
 60
 00
@@ -6079,7 +6063,7 @@
 c2
 9e
 85
-f5
+f1
 18
 42
 7e
@@ -6111,7 +6095,7 @@
 24
 3a
 06
-12
+0e
 6f
 e4
 4b
@@ -6119,7 +6103,7 @@
 c2
 8e
 06
-06
+02
 18
 42
 7e
@@ -6130,12 +6114,12 @@
 00
 c0
 00
-06
-02
+05
+fe
 c0
 01
-06
-00
+05
+fc
 20
 60
 00
@@ -6147,7 +6131,7 @@
 20
 20
 05
-f2
+ee
 58
 00
 00
@@ -6155,7 +6139,7 @@
 20
 20
 05
-f2
+ee
 58
 00
 00
@@ -6163,7 +6147,7 @@
 20
 20
 05
-f2
+ee
 58
 00
 00
@@ -6171,7 +6155,7 @@
 20
 20
 05
-f2
+ee
 18
 42
 7e
@@ -6182,16 +6166,16 @@
 00
 c0
 00
-06
-02
+05
+fe
 c0
 01
 06
-04
+00
 c0
 01
-86
-00
+85
+fc
 20
 60
 00
@@ -6207,15 +6191,15 @@
 c0
 00
 06
-04
-c0
 00
-86
+c0
 00
+85
+fc
 c0
 01
 85
-fe
+fa
 20
 60
 00
@@ -6227,7 +6211,7 @@
 c2
 8e
 06
-0c
+08
 18
 42
 7e
@@ -6239,11 +6223,11 @@
 c0
 00
 05
-fe
+fa
 c0
 00
-86
-00
+85
+fc
 20
 60
 00
@@ -6280,8 +6264,8 @@
 20
 26
 f6
-73
-16
+d5
+86
 aa
 55
 40
@@ -7621,13 +7605,13 @@
 03
 01
 00
-d2
+c2
 1d
 55
 aa
 aa
 55
-f8
+e8
 8a
-20
-b0
+ca
+1e
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/output/program.lis	(revision 3913)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/output/program.lis	(working copy)
@@ -19,7 +19,7 @@
 0010 c065026c beq patch19_2 ,p_mouse_lpm_before_common 
 0011 c06600d8 beq patch19_4 ,p_mouse_adc_read_start 
 0012 c067051f beq patch19_6 ,p_mouse_motion 
-0013 c06785e9 beq patch19_7 ,p_mouse_dpi_process 
+0013 c06785e5 beq patch19_7 ,p_mouse_dpi_process 
 0014 c0680353 beq patch1a_0 ,p_mouse_seting_dpi 
 0015 c0688554 beq patch1a_1 ,p_mouse_check_key_gpio 
 0016 c06a0539 beq patch1a_4 ,p_mouse_sensor_poweron 
@@ -49,7 +49,7 @@
 002c c074830e beq patch3d_1 ,p_g24_reconn_dispatch 
 002d c07501c0 beq patch3d_2 ,p_g24_transmit_no_interrupt 
 002e c0760512 beq patch3d_4 ,p_g24_lpm_wait 
-002f c0768619 beq patch3d_5 ,p_power_ctrl_start 
+002f c0768615 beq patch3d_5 ,p_power_ctrl_start 
 0030 2020137c branch loop 
 
 p_efuse_vdd_off:
@@ -1894,217 +1894,211 @@
 058b 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-058c 20400591 call p_mouse_low_voltage_led_no_enter_lpm 
-058d 20407936 call ui_check_paring_button 
-058e 20400594 call p_mouse_dpi_check 
-058f 204005a8 call p_mouse_dpi_another_gpio_check 
-0590 2020464f branch mouse_idle + 4 
-
-p_mouse_low_voltage_led_no_enter_lpm:
-0591 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0592 c4020000 rtnbit0 mouse_low_voltage_flag 
-0593 20204997 branch mouse_low_voltage_led_no_enter_lpm_next 
+058c 20407936 call ui_check_paring_button 
+058d 20400590 call p_mouse_dpi_check 
+058e 204005a4 call p_mouse_dpi_another_gpio_check 
+058f 2020464f branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-0594 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0595 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-0596 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-0597 c17f8000 rtneq gpio_disable 
-0598 da200000 arg 0 ,rega 
-0599 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-059a 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-059b 2040059d call p_mouse_dpi_key_check 
-059c 2020402f branch mouse_dpi_check_next 
+0590 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0591 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+0592 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0593 c17f8000 rtneq gpio_disable 
+0594 da200000 arg 0 ,rega 
+0595 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+0596 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0597 20400599 call p_mouse_dpi_key_check 
+0598 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-059d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-059e c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-059f 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-05a0 1fe22600 copy pdata ,regc 
-05a1 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-05a2 c07f85a4 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-05a3 2020403f branch mouse_dpi_key_check_next 
+0599 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+059a c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+059b 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+059c 1fe22600 copy pdata ,regc 
+059d 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+059e c07f85a0 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+059f 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-05a4 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-05a5 20400589 call p_mouse_gpio_config_output_low 
-05a6 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-05a7 20204195 branch mouse_3io6key_check 
+05a0 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+05a1 20400589 call p_mouse_gpio_config_output_low 
+05a2 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+05a3 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-05a8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05a9 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-05aa 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-05ab 243a05b1 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+05a4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05a5 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+05a6 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+05a7 243a05ad nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-05ac 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-05ad 20400586 call p_mouse_gpio_config_output_high 
-05ae 204005c1 call p_mouse_dpi_another_check 
-05af 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05b0 20203f56 branch mouse_gpio_config_input_pu 
+05a8 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+05a9 20400586 call p_mouse_gpio_config_output_high 
+05aa 204005bd call p_mouse_dpi_another_check 
+05ab 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05ac 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-05b1 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-05b2 793ffe07 set0 gpio_active_bit ,pdata 
-05b3 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
-05b4 20400589 call p_mouse_gpio_config_output_low 
-05b5 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+05ad 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+05ae 793ffe07 set0 gpio_active_bit ,pdata 
+05af 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
+05b0 20400589 call p_mouse_gpio_config_output_low 
+05b1 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+05b2 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05b3 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+05b4 204005d6 call p_mouse_check_key_connect_vin_new 
+05b5 204005c1 call p_mouse_dpi_another_state_check 
 05b6 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05b7 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-05b8 204005da call p_mouse_check_key_connect_vin_new 
-05b9 204005c5 call p_mouse_dpi_another_state_check 
-05ba 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05bb 20203f56 branch mouse_gpio_config_input_pu 
+05b7 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_down_new:
-05bc 20403f56 call mouse_gpio_config_input_pu 
-05bd 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-05be c1008000 rtneq dpi_button_state_down 
-05bf 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-05c0 20204069 branch mouse_dpi_process 
+05b8 20403f56 call mouse_gpio_config_input_pu 
+05b9 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+05ba c1008000 rtneq dpi_button_state_down 
+05bb 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+05bc 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_check:
-05c1 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-05c2 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05c3 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-05c4 204005d0 call p_mouse_check_key_connect_gnd_new 
+05bd 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+05be 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+05bf 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+05c0 204005cc call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-05c5 67e0cc3c store 1 ,mem_dpi_another_press_status 
-05c6 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-05c7 203a05cc branch p_mouse_dpi_another_up ,blank 
+05c1 67e0cc3c store 1 ,mem_dpi_another_press_status 
+05c2 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+05c3 203a05c8 branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-05c8 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-05c9 c1008000 rtneq dpi_button_state_down 
-05ca 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-05cb 20204069 branch mouse_dpi_process 
+05c4 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+05c5 c1008000 rtneq dpi_button_state_down 
+05c6 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+05c7 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-05cc 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-05cd c1000000 rtneq dpi_button_state_up 
-05ce 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-05cf 20600000 rtn 
+05c8 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+05c9 c1000000 rtneq dpi_button_state_up 
+05ca 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+05cb 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-05d0 1fe3fe00 lshift pdata ,pdata 
-05d1 1fe22400 copy pdata ,regb 
-05d2 20406059 call gpio_get_bit 
-05d3 7920a400 setflag true ,0 ,regb 
-05d4 1a417e07 and regb ,0x07 ,pdata 
-05d5 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-05d6 18420e00 copy temp ,queue 
-05d7 c00385e5 beq 0x07 ,p_mouse_key_press 
-05d8 c00005e7 beq 0x00 ,p_mouse_key_release 
-05d9 20600000 rtn 
+05cc 1fe3fe00 lshift pdata ,pdata 
+05cd 1fe22400 copy pdata ,regb 
+05ce 20406059 call gpio_get_bit 
+05cf 7920a400 setflag true ,0 ,regb 
+05d0 1a417e07 and regb ,0x07 ,pdata 
+05d1 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+05d2 18420e00 copy temp ,queue 
+05d3 c00385e1 beq 0x07 ,p_mouse_key_press 
+05d4 c00005e3 beq 0x00 ,p_mouse_key_release 
+05d5 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-05da 1fe3fe00 lshift pdata ,pdata 
-05db 1fe22400 copy pdata ,regb 
-05dc 20403f54 call mouse_gpio_config_input_pd 
-05dd 20406059 call gpio_get_bit 
-05de 7920a400 setflag true ,0 ,regb 
-05df 1a417e07 and regb ,0x07 ,pdata 
-05e0 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-05e1 18420e00 copy temp ,queue 
-05e2 c00385e5 beq 0x07 ,p_mouse_key_press 
-05e3 c00005e7 beq 0x00 ,p_mouse_key_release 
-05e4 20600000 rtn 
+05d6 1fe3fe00 lshift pdata ,pdata 
+05d7 1fe22400 copy pdata ,regb 
+05d8 20403f54 call mouse_gpio_config_input_pd 
+05d9 20406059 call gpio_get_bit 
+05da 7920a400 setflag true ,0 ,regb 
+05db 1a417e07 and regb ,0x07 ,pdata 
+05dc 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+05dd 18420e00 copy temp ,queue 
+05de c00385e1 beq 0x07 ,p_mouse_key_press 
+05df c00005e3 beq 0x00 ,p_mouse_key_release 
+05e0 20600000 rtn 
 
 p_mouse_key_press:
-05e5 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
-05e6 20600000 rtn 
+05e1 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
+05e2 20600000 rtn 
 
 p_mouse_key_release:
-05e7 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
-05e8 20600000 rtn 
+05e3 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
+05e4 20600000 rtn 
 
 p_mouse_dpi_process:
-05e9 20404072 call mouse_dpi_ghost_check 
-05ea 20740000 rtn user 
-05eb 6fe0c992 fetch 1 ,mem_mouse_dpi 
-05ec 1fe20400 copy pdata ,temp 
-05ed 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05ee c29e85f5 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-05ef 18427e00 copy temp ,pdata 
-05f0 1fe0fe01 increase 1 ,pdata 
-05f1 1fe17e03 and pdata ,0x03 ,pdata 
+05e5 20404072 call mouse_dpi_ghost_check 
+05e6 20740000 rtn user 
+05e7 6fe0c992 fetch 1 ,mem_mouse_dpi 
+05e8 1fe20400 copy pdata ,temp 
+05e9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05ea c29e85f1 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+05eb 18427e00 copy temp ,pdata 
+05ec 1fe0fe01 increase 1 ,pdata 
+05ed 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-05f2 67e0c992 store 1 ,mem_mouse_dpi 
-05f3 20404095 call mouse_seting_dpi 
-05f4 20204643 branch mouse_store_eerpom_dpi 
+05ee 67e0c992 store 1 ,mem_mouse_dpi 
+05ef 20404095 call mouse_seting_dpi 
+05f0 20204643 branch mouse_store_eerpom_dpi 
 
 p_mouse_double_dpi_check:
-05f5 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-05f6 243a0612 nbranch p_mouse_another_dpi_button_down ,blank 
+05f1 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+05f2 243a060e nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-05f7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05f8 c28e0606 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-05f9 18427e00 copy temp ,pdata 
-05fa c1008000 rtneq mouse_dpi_level2 
+05f3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05f4 c28e0602 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+05f5 18427e00 copy temp ,pdata 
+05f6 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-05fb c0000602 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-05fc c0010600 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-05fd 20600000 rtn 
+05f7 c00005fe beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+05f8 c00105fc beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+05f9 20600000 rtn 
 
 p_mouse_dpi_level_1:
-05fe 58000002 setarg 2 
-05ff 202005f2 branch p_mouse_dpi_store 
+05fa 58000002 setarg 2 
+05fb 202005ee branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-0600 58000000 setarg 0 
-0601 202005f2 branch p_mouse_dpi_store 
+05fc 58000000 setarg 0 
+05fd 202005ee branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-0602 58000001 setarg 1 
-0603 202005f2 branch p_mouse_dpi_store 
+05fe 58000001 setarg 1 
+05ff 202005ee branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-0604 58000003 setarg 3 
-0605 202005f2 branch p_mouse_dpi_store 
+0600 58000003 setarg 3 
+0601 202005ee branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-0606 18427e00 copy temp ,pdata 
-0607 c1008000 rtneq mouse_dpi_level2 
-0608 c0000602 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-0609 c0010604 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-060a c0018600 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-060b 20600000 rtn 
+0602 18427e00 copy temp ,pdata 
+0603 c1008000 rtneq mouse_dpi_level2 
+0604 c00005fe beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0605 c0010600 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+0606 c00185fc beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+0607 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-060c 18427e00 copy temp ,pdata 
-060d c1010000 rtneq mouse_dpi_level3 
-060e c0000604 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-060f c0008600 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0610 c00185fe beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-0611 20600000 rtn 
+0608 18427e00 copy temp ,pdata 
+0609 c1010000 rtneq mouse_dpi_level3 
+060a c0000600 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+060b c00085fc beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+060c c00185fa beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+060d 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-0612 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0613 c28e060c bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-0614 18427e00 copy temp ,pdata 
-0615 c1010000 rtneq mouse_dpi_level3 
+060e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+060f c28e0608 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+0610 18427e00 copy temp ,pdata 
+0611 c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-0616 c00005fe beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-0617 c0008600 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0618 20600000 rtn 
+0612 c00005fa beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+0613 c00085fc beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+0614 20600000 rtn 
 
 p_power_ctrl_start:
-0619 6fe1478c fetch 2 ,mem_ui_state_map 
-061a c3858000 rtnbit1 ui_state_ble_adv 
-061b c3838000 rtnbit1 ui_state_bt_reconnect 
-061c c3830000 rtnbit1 ui_state_bt_discovery 
-061d 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-061e 204025cb call rssi_average 
-061f 6048c8c7 storet 1 ,mem_rssi_avg_received 
-0620 202026f6 branch power_ctrl_rssi_avg_compare 
+0615 6fe1478c fetch 2 ,mem_ui_state_map 
+0616 c3858000 rtnbit1 ui_state_ble_adv 
+0617 c3838000 rtnbit1 ui_state_bt_reconnect 
+0618 c3830000 rtnbit1 ui_state_bt_discovery 
+0619 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+061a 204025cb call rssi_average 
+061b 6048c8c7 storet 1 ,mem_rssi_avg_received 
+061c 202026f6 branch power_ctrl_rssi_avg_compare 
               org 0x3bc1
 
 mouse_init:
Index: output/ramcode.rom
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/output/ramcode.rom	(revision 3913)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/output/ramcode.rom	(working copy)
@@ -17,7 +17,7 @@
 c065026c
 c06600d8
 c067051f
-c06785e9
+c06785e5
 c0680353
 c0688554
 c06a0539
@@ -45,7 +45,7 @@
 c074830e
 c07501c0
 c0760512
-c0768619
+c0768615
 2020137c
 6ff08a0b
 793ffe05
@@ -1418,29 +1418,25 @@
 c17f8000
 d840003e
 20206093
-20400591
 20407936
-20400594
-204005a8
+20400590
+204005a4
 2020464f
 6fe44bab
-c4020000
-20204997
-6fe44bab
 c2974036
 6fe0c90f
 c17f8000
 da200000
 704b9605
 6848c90f
-2040059d
+20400599
 2020402f
 6fe44bab
 c2964048
 6fe0cb93
 1fe22600
 6fe0c910
-c07f85a4
+c07f85a0
 2020403f
 6fe0c90f
 20400589
@@ -1449,10 +1445,10 @@
 6fe44bab
 c41e8000
 6fe0cc3a
-243a05b1
+243a05ad
 6fe0cc3b
 20400586
-204005c1
+204005bd
 6848cc3b
 20203f56
 6fe0cc3b
@@ -1462,8 +1458,8 @@
 704c3f00
 6848cc3b
 6fe0cc3c
-204005da
-204005c5
+204005d6
+204005c1
 6848cc3b
 20203f56
 20403f56
@@ -1474,10 +1470,10 @@
 704c3f00
 6848cc3b
 6fe0cc3c
-204005d0
+204005cc
 67e0cc3c
 6fe0cc3e
-203a05cc
+203a05c8
 6fe0cc3d
 c1008000
 704c3d01
@@ -1493,8 +1489,8 @@
 1a417e07
 6848cc3f
 18420e00
-c00385e5
-c00005e7
+c00385e1
+c00005e3
 20600000
 1fe3fe00
 1fe22400
@@ -1504,8 +1500,8 @@
 1a417e07
 6848cc3f
 18420e00
-c00385e5
-c00005e7
+c00385e1
+c00005e3
 20600000
 704c3e01
 20600000
@@ -1516,7 +1512,7 @@
 6fe0c992
 1fe20400
 6fe44bab
-c29e85f5
+c29e85f1
 18427e00
 1fe0fe01
 1fe17e03
@@ -1524,40 +1520,40 @@
 20404095
 20204643
 6fe0cc3e
-243a0612
+243a060e
 6fe44bab
-c28e0606
+c28e0602
 18427e00
 c1008000
-c0000602
-c0010600
+c00005fe
+c00105fc
 20600000
 58000002
-202005f2
+202005ee
 58000000
-202005f2
+202005ee
 58000001
-202005f2
+202005ee
 58000003
-202005f2
+202005ee
 18427e00
 c1008000
-c0000602
-c0010604
-c0018600
+c00005fe
+c0010600
+c00185fc
 20600000
 18427e00
 c1010000
-c0000604
-c0008600
-c00185fe
+c0000600
+c00085fc
+c00185fa
 20600000
 6fe44bab
-c28e060c
+c28e0608
 18427e00
 c1010000
-c00005fe
-c0008600
+c00005fa
+c00085fc
 20600000
 6fe1478c
 c3858000
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/program/patch.prog	(revision 3913)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_24g_fast_toggle_bt/program/patch.prog	(working copy)
@@ -2082,15 +2082,15 @@
 /////////////////////////////////////////////firekey end//////////////////////////////////////////
 
 p_mouse_idle:
-	call p_mouse_low_voltage_led_no_enter_lpm
+	// call p_mouse_low_voltage_led_no_enter_lpm
 	call ui_check_paring_button
 	call p_mouse_dpi_check
 	call p_mouse_dpi_another_gpio_check
 	branch mouse_idle+4
-p_mouse_low_voltage_led_no_enter_lpm:
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
-	branch mouse_low_voltage_led_no_enter_lpm_next
+// p_mouse_low_voltage_led_no_enter_lpm:
+// 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+// 	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
+// 	branch mouse_low_voltage_led_no_enter_lpm_next
 	
 p_mouse_dpi_check:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
