Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/mouse_public_xzr_branch/PB_3mode_3ch_PCM8258/output/eeprom.dat	(revision 2816)
+++ /YC1308AC/branch/mouse_project/XZR/mouse_public_xzr_branch/PB_3mode_3ch_PCM8258/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-8a
+9e
 16
 c2
 84
@@ -67,7 +67,7 @@
 c0
 67
 85
-52
+57
 c0
 68
 03
@@ -3355,7 +3355,7 @@
 20
 40
 05
-6e
+73
 20
 40
 03
@@ -5090,20 +5090,20 @@
 93
 20
 40
-49
-92
+04
+fc
 20
 40
 79
 36
 20
 40
-04
-fc
+05
+01
 20
 40
 05
-10
+15
 20
 20
 46
@@ -5112,6 +5112,26 @@
 e4
 4b
 ab
+c4
+02
+00
+00
+6f
+e0
+cc
+52
+20
+3a
+49
+97
+20
+20
+49
+94
+6f
+e4
+4b
+ab
 c2
 97
 40
@@ -5139,7 +5159,7 @@
 20
 40
 05
-05
+0a
 20
 20
 40
@@ -5167,7 +5187,7 @@
 c0
 7f
 85
-0c
+11
 20
 20
 40
@@ -5203,7 +5223,7 @@
 24
 3a
 05
-19
+1e
 6f
 e0
 cc
@@ -5215,7 +5235,7 @@
 20
 40
 05
-2a
+2f
 68
 48
 cc
@@ -5259,11 +5279,11 @@
 20
 40
 05
-43
+48
 20
 40
 05
-2e
+33
 68
 48
 cc
@@ -5307,7 +5327,7 @@
 20
 40
 05
-39
+3e
 67
 e0
 cc
@@ -5319,7 +5339,7 @@
 20
 3a
 05
-35
+3a
 6f
 e0
 cc
@@ -5383,11 +5403,11 @@
 c0
 03
 85
-4e
+53
 c0
 00
 05
-50
+55
 20
 60
 00
@@ -5427,11 +5447,11 @@
 c0
 03
 85
-4e
+53
 c0
 00
 05
-50
+55
 20
 60
 00
@@ -5483,7 +5503,7 @@
 c2
 9e
 85
-7e
+83
 18
 42
 7e
@@ -5507,7 +5527,7 @@
 20
 40
 05
-63
+68
 70
 4c
 54
@@ -5527,15 +5547,15 @@
 c0
 00
 05
-6a
+6f
 c0
 00
 85
-6c
+71
 c0
 01
 05
-68
+6d
 20
 60
 00
@@ -5591,7 +5611,7 @@
 c0
 03
 05
-76
+7b
 20
 60
 00
@@ -5615,7 +5635,7 @@
 20
 3a
 05
-7c
+81
 20
 20
 03
@@ -5635,7 +5655,7 @@
 24
 3a
 05
-9b
+a0
 6f
 e4
 4b
@@ -5643,7 +5663,7 @@
 c2
 8e
 05
-8f
+94
 18
 42
 7e
@@ -5655,11 +5675,11 @@
 c0
 00
 05
-8b
+90
 c0
 01
 05
-89
+8e
 20
 60
 00
@@ -5671,7 +5691,7 @@
 20
 20
 05
-5d
+62
 58
 00
 00
@@ -5679,7 +5699,7 @@
 20
 20
 05
-5d
+62
 58
 00
 00
@@ -5687,7 +5707,7 @@
 20
 20
 05
-5d
+62
 58
 00
 00
@@ -5695,7 +5715,7 @@
 20
 20
 05
-5d
+62
 18
 42
 7e
@@ -5707,15 +5727,15 @@
 c0
 00
 05
-8b
+90
 c0
 01
 05
-8d
+92
 c0
 01
 85
-89
+8e
 20
 60
 00
@@ -5731,15 +5751,15 @@
 c0
 00
 05
-8d
+92
 c0
 00
 85
-89
+8e
 c0
 01
 85
-87
+8c
 20
 60
 00
@@ -5751,7 +5771,7 @@
 c2
 8e
 05
-95
+9a
 18
 42
 7e
@@ -5763,17 +5783,17 @@
 c0
 00
 05
-87
+8c
 c0
 00
 85
-89
+8e
 20
 60
 00
 00
-1c
-57
+a5
+0d
 aa
 55
 40
@@ -6222,11 +6242,11 @@
 00
 e3
 48
-20
+53
 02
-45
+3c
 01
-69
+6b
 01
 aa
 55
@@ -7131,36 +7151,16 @@
 02
 40
 00
-e8
+fc
 1b
 55
 aa
 aa
 55
-dc
-9e
-90
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+1c
+9f
+dd
+c5
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-52
-83
+23
+c7
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/mouse_public_xzr_branch/PB_3mode_3ch_PCM8258/output/program.lis	(revision 2816)
+++ /YC1308AC/branch/mouse_project/XZR/mouse_public_xzr_branch/PB_3mode_3ch_PCM8258/output/program.lis	(working copy)
@@ -15,7 +15,7 @@
 000c c0650215 beq patch19_2 ,p_mouse_lpm_before_common 
 000d c066009c beq patch19_4 ,p_mouse_adc_read_start 
 000e c0670493 beq patch19_6 ,p_mouse_motion 
-000f c0678552 beq patch19_7 ,p_mouse_dpi_process 
+000f c0678557 beq patch19_7 ,p_mouse_dpi_process 
 0010 c068032d beq patch1a_0 ,p_mouse_seting_dpi 
 0011 c06884c1 beq patch1a_1 ,p_mouse_check_key_gpio 
 0012 c0698310 beq patch1a_3 ,p_mouse_init_sunt 
@@ -1077,7 +1077,7 @@
 0342 204047cd call mouse_24g_long_sleep_param_update_timer 
 0343 20400369 call p_mouse_24g_led_blink_timer 
 0344 204048be call mouse_device_poweron_timer 
-0345 2040056e call p_mouse_dpi_led_blink 
+0345 20400573 call p_mouse_dpi_led_blink 
 0346 20400387 call p_mouse_led_multi_timer 
 0347 2040407c call mouse_dpi_key_check_long_press 
 0348 204044cc call mouse_bt_discovery_check 
@@ -1679,249 +1679,256 @@
 04f6 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-04f7 20404992 call mouse_low_voltage_led_no_enter_lpm + 2 
+04f7 204004fc call p_mouse_low_voltage_led_no_enter_lpm 
 04f8 20407936 call ui_check_paring_button 
-04f9 204004fc call p_mouse_dpi_check 
-04fa 20400510 call p_mouse_dpi_another_gpio_check 
+04f9 20400501 call p_mouse_dpi_check 
+04fa 20400515 call p_mouse_dpi_another_gpio_check 
 04fb 2020464f branch mouse_idle + 4 
 
-p_mouse_dpi_check:
+p_mouse_low_voltage_led_no_enter_lpm:
 04fc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-04fd c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-04fe 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-04ff c17f8000 rtneq gpio_disable 
-0500 da200000 arg 0 ,rega 
-0501 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-0502 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0503 20400505 call p_mouse_dpi_key_check 
-0504 2020402f branch mouse_dpi_check_next 
+04fd c4020000 rtnbit0 mouse_low_voltage_flag 
+04fe 6fe0cc52 fetch 1 ,mem_mouse_low_voltage_blink_count 
+04ff 203a4997 branch mouse_low_voltage_led_no_enter_lpm_next ,blank 
+0500 20204994 branch mouse_low_voltage_led_no_enter_lpm + 4 
+
+p_mouse_dpi_check:
+0501 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0502 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+0503 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0504 c17f8000 rtneq gpio_disable 
+0505 da200000 arg 0 ,rega 
+0506 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+0507 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0508 2040050a call p_mouse_dpi_key_check 
+0509 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-0505 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0506 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-0507 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-0508 1fe22600 copy pdata ,regc 
-0509 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-050a c07f850c beq gpio_disable ,p_mouse_3io6key_dpi_check 
-050b 2020403f branch mouse_dpi_key_check_next 
+050a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+050b c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+050c 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+050d 1fe22600 copy pdata ,regc 
+050e 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+050f c07f8511 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+0510 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-050c 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-050d 204004f5 call p_mouse_gpio_config_output_low 
-050e 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-050f 20204195 branch mouse_3io6key_check 
+0511 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0512 204004f5 call p_mouse_gpio_config_output_low 
+0513 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0514 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-0510 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0511 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-0512 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-0513 243a0519 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+0515 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0516 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+0517 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+0518 243a051e nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-0514 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-0515 204004f3 call p_mouse_gpio_config_output_high 
-0516 2040052a call p_mouse_dpi_another_check 
-0517 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0518 20203f56 branch mouse_gpio_config_input_pu 
+0519 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+051a 204004f3 call p_mouse_gpio_config_output_high 
+051b 2040052f call p_mouse_dpi_another_check 
+051c 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+051d 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-0519 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-051a 793ffe07 set0 gpio_active_bit ,pdata 
-051b 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
-051c 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-051d 204004f5 call p_mouse_gpio_config_output_low 
-051e 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-051f 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0520 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-0521 20400543 call p_mouse_check_key_connect_vin_new 
-0522 2040052e call p_mouse_dpi_another_state_check 
-0523 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0524 20203f56 branch mouse_gpio_config_input_pu 
+051e 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+051f 793ffe07 set0 gpio_active_bit ,pdata 
+0520 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
+0521 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+0522 204004f5 call p_mouse_gpio_config_output_low 
+0523 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0524 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0525 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0526 20400548 call p_mouse_check_key_connect_vin_new 
+0527 20400533 call p_mouse_dpi_another_state_check 
+0528 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0529 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_down_new:
-0525 20403f56 call mouse_gpio_config_input_pu 
-0526 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-0527 c1008000 rtneq dpi_button_state_down 
-0528 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-0529 20204069 branch mouse_dpi_process 
+052a 20403f56 call mouse_gpio_config_input_pu 
+052b 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+052c c1008000 rtneq dpi_button_state_down 
+052d 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+052e 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_check:
-052a 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-052b 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-052c 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-052d 20400539 call p_mouse_check_key_connect_gnd_new 
+052f 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0530 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0531 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0532 2040053e call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-052e 67e0cc3c store 1 ,mem_dpi_another_press_status 
-052f 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-0530 203a0535 branch p_mouse_dpi_another_up ,blank 
+0533 67e0cc3c store 1 ,mem_dpi_another_press_status 
+0534 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+0535 203a053a branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-0531 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-0532 c1008000 rtneq dpi_button_state_down 
-0533 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-0534 20204069 branch mouse_dpi_process 
+0536 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+0537 c1008000 rtneq dpi_button_state_down 
+0538 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+0539 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-0535 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-0536 c1000000 rtneq dpi_button_state_up 
-0537 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-0538 20600000 rtn 
+053a 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+053b c1000000 rtneq dpi_button_state_up 
+053c 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+053d 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-0539 1fe3fe00 lshift pdata ,pdata 
-053a 1fe22400 copy pdata ,regb 
-053b 20406059 call gpio_get_bit 
-053c 7920a400 setflag true ,0 ,regb 
-053d 1a417e07 and regb ,0x07 ,pdata 
-053e 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-053f 18420e00 copy temp ,queue 
-0540 c003854e beq 0x07 ,p_mouse_key_press 
-0541 c0000550 beq 0x00 ,p_mouse_key_release 
-0542 20600000 rtn 
+053e 1fe3fe00 lshift pdata ,pdata 
+053f 1fe22400 copy pdata ,regb 
+0540 20406059 call gpio_get_bit 
+0541 7920a400 setflag true ,0 ,regb 
+0542 1a417e07 and regb ,0x07 ,pdata 
+0543 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+0544 18420e00 copy temp ,queue 
+0545 c0038553 beq 0x07 ,p_mouse_key_press 
+0546 c0000555 beq 0x00 ,p_mouse_key_release 
+0547 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-0543 1fe3fe00 lshift pdata ,pdata 
-0544 1fe22400 copy pdata ,regb 
-0545 20403f54 call mouse_gpio_config_input_pd 
-0546 20406059 call gpio_get_bit 
-0547 7920a400 setflag true ,0 ,regb 
-0548 1a417e07 and regb ,0x07 ,pdata 
-0549 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-054a 18420e00 copy temp ,queue 
-054b c003854e beq 0x07 ,p_mouse_key_press 
-054c c0000550 beq 0x00 ,p_mouse_key_release 
-054d 20600000 rtn 
+0548 1fe3fe00 lshift pdata ,pdata 
+0549 1fe22400 copy pdata ,regb 
+054a 20403f54 call mouse_gpio_config_input_pd 
+054b 20406059 call gpio_get_bit 
+054c 7920a400 setflag true ,0 ,regb 
+054d 1a417e07 and regb ,0x07 ,pdata 
+054e 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+054f 18420e00 copy temp ,queue 
+0550 c0038553 beq 0x07 ,p_mouse_key_press 
+0551 c0000555 beq 0x00 ,p_mouse_key_release 
+0552 20600000 rtn 
 
 p_mouse_key_press:
-054e 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
-054f 20600000 rtn 
+0553 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
+0554 20600000 rtn 
 
 p_mouse_key_release:
-0550 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
-0551 20600000 rtn 
+0555 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
+0556 20600000 rtn 
 
 p_mouse_dpi_process:
-0552 20404072 call mouse_dpi_ghost_check 
-0553 20740000 rtn user 
-0554 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon2s_timer 
-0555 247a0000 nrtn blank 
-0556 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0557 1fe20400 copy pdata ,temp 
-0558 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0559 c29e857e bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-055a 18427e00 copy temp ,pdata 
-055b 1fe0fe01 increase 1 ,pdata 
-055c 1fe17e03 and pdata ,0x03 ,pdata 
+0557 20404072 call mouse_dpi_ghost_check 
+0558 20740000 rtn user 
+0559 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon2s_timer 
+055a 247a0000 nrtn blank 
+055b 6fe0c992 fetch 1 ,mem_mouse_dpi 
+055c 1fe20400 copy pdata ,temp 
+055d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+055e c29e8583 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+055f 18427e00 copy temp ,pdata 
+0560 1fe0fe01 increase 1 ,pdata 
+0561 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-055d 67e0c992 store 1 ,mem_mouse_dpi 
-055e 2040032d call p_mouse_seting_dpi 
-055f 20400563 call p_mouse_dpi_blink_count_init 
-0560 704c5401 jam 1 ,mem_mouse_dpi_led_blink_enable_flag 
-0561 704c5500 jam 0 ,mem_mouse_dpi_count_time 
-0562 20204643 branch mouse_store_eerpom_dpi 
+0562 67e0c992 store 1 ,mem_mouse_dpi 
+0563 2040032d call p_mouse_seting_dpi 
+0564 20400568 call p_mouse_dpi_blink_count_init 
+0565 704c5401 jam 1 ,mem_mouse_dpi_led_blink_enable_flag 
+0566 704c5500 jam 0 ,mem_mouse_dpi_count_time 
+0567 20204643 branch mouse_store_eerpom_dpi 
 
 p_mouse_dpi_blink_count_init:
-0563 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0564 c000056a beq 0 ,p_mouse_dpi_level2 
-0565 c000856c beq 1 ,p_mouse_dpi_level3 
-0566 c0010568 beq 2 ,p_mouse_dpi_level1 
-0567 20600000 rtn 
+0568 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0569 c000056f beq 0 ,p_mouse_dpi_level2 
+056a c0008571 beq 1 ,p_mouse_dpi_level3 
+056b c001056d beq 2 ,p_mouse_dpi_level1 
+056c 20600000 rtn 
 
 p_mouse_dpi_level1:
-0568 704c5301 jam 1 ,mem_mouse_multi_led_blink_count 
-0569 20600000 rtn 
+056d 704c5301 jam 1 ,mem_mouse_multi_led_blink_count 
+056e 20600000 rtn 
 
 p_mouse_dpi_level2:
-056a 704c5302 jam 2 ,mem_mouse_multi_led_blink_count 
-056b 20600000 rtn 
+056f 704c5302 jam 2 ,mem_mouse_multi_led_blink_count 
+0570 20600000 rtn 
 
 p_mouse_dpi_level3:
-056c 704c5303 jam 3 ,mem_mouse_multi_led_blink_count 
-056d 20600000 rtn 
+0571 704c5303 jam 3 ,mem_mouse_multi_led_blink_count 
+0572 20600000 rtn 
 
 p_mouse_dpi_led_blink:
-056e 6fe0cc54 fetch 1 ,mem_mouse_dpi_led_blink_enable_flag 
-056f 207a0000 rtn blank 
-0570 6fe0cc55 fetch 1 ,mem_mouse_dpi_count_time 
-0571 1fe0fe01 increase 1 ,pdata 
-0572 67e0cc55 store 1 ,mem_mouse_dpi_count_time 
-0573 c001839f beq 3 ,p_mouse_device_multi_led_on + 1 
-0574 c0030576 beq 6 ,p_mouse_dpi_led_off 
-0575 20600000 rtn 
+0573 6fe0cc54 fetch 1 ,mem_mouse_dpi_led_blink_enable_flag 
+0574 207a0000 rtn blank 
+0575 6fe0cc55 fetch 1 ,mem_mouse_dpi_count_time 
+0576 1fe0fe01 increase 1 ,pdata 
+0577 67e0cc55 store 1 ,mem_mouse_dpi_count_time 
+0578 c001839f beq 3 ,p_mouse_device_multi_led_on + 1 
+0579 c003057b beq 6 ,p_mouse_dpi_led_off 
+057a 20600000 rtn 
 
 p_mouse_dpi_led_off:
-0576 704c5500 jam 0 ,mem_mouse_dpi_count_time 
-0577 6fe0cc53 fetch 1 ,mem_mouse_multi_led_blink_count 
-0578 1fe0ffff increase -1 ,pdata 
-0579 67e0cc53 store 1 ,mem_mouse_multi_led_blink_count 
-057a 203a057c branch p_mouse_dpi_led_disable ,blank 
-057b 202003ac branch p_mouse_device_multi_led_off + 1 
+057b 704c5500 jam 0 ,mem_mouse_dpi_count_time 
+057c 6fe0cc53 fetch 1 ,mem_mouse_multi_led_blink_count 
+057d 1fe0ffff increase -1 ,pdata 
+057e 67e0cc53 store 1 ,mem_mouse_multi_led_blink_count 
+057f 203a0581 branch p_mouse_dpi_led_disable ,blank 
+0580 202003ac branch p_mouse_device_multi_led_off + 1 
 
 p_mouse_dpi_led_disable:
-057c 704c5400 jam 0 ,mem_mouse_dpi_led_blink_enable_flag 
-057d 202003ac branch p_mouse_device_multi_led_off + 1 
+0581 704c5400 jam 0 ,mem_mouse_dpi_led_blink_enable_flag 
+0582 202003ac branch p_mouse_device_multi_led_off + 1 
 
 p_mouse_double_dpi_check:
-057e 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-057f 243a059b nbranch p_mouse_another_dpi_button_down ,blank 
+0583 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+0584 243a05a0 nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-0580 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0581 c28e058f bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-0582 18427e00 copy temp ,pdata 
-0583 c1008000 rtneq mouse_dpi_level2 
+0585 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0586 c28e0594 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+0587 18427e00 copy temp ,pdata 
+0588 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-0584 c000058b beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-0585 c0010589 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-0586 20600000 rtn 
+0589 c0000590 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+058a c001058e beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+058b 20600000 rtn 
 
 p_mouse_dpi_level_1:
-0587 58000002 setarg 2 
-0588 2020055d branch p_mouse_dpi_store 
+058c 58000002 setarg 2 
+058d 20200562 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-0589 58000000 setarg 0 
-058a 2020055d branch p_mouse_dpi_store 
+058e 58000000 setarg 0 
+058f 20200562 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-058b 58000001 setarg 1 
-058c 2020055d branch p_mouse_dpi_store 
+0590 58000001 setarg 1 
+0591 20200562 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-058d 58000003 setarg 3 
-058e 2020055d branch p_mouse_dpi_store 
+0592 58000003 setarg 3 
+0593 20200562 branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-058f 18427e00 copy temp ,pdata 
-0590 c1008000 rtneq mouse_dpi_level2 
-0591 c000058b beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-0592 c001058d beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-0593 c0018589 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-0594 20600000 rtn 
+0594 18427e00 copy temp ,pdata 
+0595 c1008000 rtneq mouse_dpi_level2 
+0596 c0000590 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0597 c0010592 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+0598 c001858e beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+0599 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-0595 18427e00 copy temp ,pdata 
-0596 c1010000 rtneq mouse_dpi_level3 
-0597 c000058d beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-0598 c0008589 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0599 c0018587 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-059a 20600000 rtn 
+059a 18427e00 copy temp ,pdata 
+059b c1010000 rtneq mouse_dpi_level3 
+059c c0000592 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+059d c000858e beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+059e c001858c beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+059f 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-059b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-059c c28e0595 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-059d 18427e00 copy temp ,pdata 
-059e c1010000 rtneq mouse_dpi_level3 
+05a0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05a1 c28e059a bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+05a2 18427e00 copy temp ,pdata 
+05a3 c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-059f c0000587 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-05a0 c0008589 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-05a1 20600000 rtn 
+05a4 c000058c beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+05a5 c000858e beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+05a6 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/mouse_public_xzr_branch/PB_3mode_3ch_PCM8258/program/patch.prog	(revision 2816)
+++ /YC1308AC/branch/mouse_project/XZR/mouse_public_xzr_branch/PB_3mode_3ch_PCM8258/program/patch.prog	(working copy)
@@ -1854,11 +1854,19 @@
 /////////////////////////////////////////////firekey end//////////////////////////////////////////
 
 p_mouse_idle:
-	call mouse_low_voltage_led_no_enter_lpm+2
+	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
+	fetch 1,mem_mouse_low_voltage_blink_count
+	branch mouse_low_voltage_led_no_enter_lpm_next,blank
+	branch mouse_low_voltage_led_no_enter_lpm+4
+
 p_mouse_dpi_check:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC,mouse_dpi_check_connect_adc
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/mouse_public_xzr_branch/PB_3mode_3ch_PCM8258/sched/mouse.dat	(revision 2816)
+++ /YC1308AC/branch/mouse_project/XZR/mouse_public_xzr_branch/PB_3mode_3ch_PCM8258/sched/mouse.dat	(working copy)
@@ -214,9 +214,9 @@
 #adc start
 mem_adc_config_flag_init:02 		#00-vinlpm   01-hvin   02-gpio
 mem_adc_channel:02 		#00-gpio4   01-gpio5   02-gpio6  03-gpio7    04-gpio9  05-gpio10  06-gpio11  07-gpio12
-mem_mouse_vdd_full_vol:20 02		#3.0V
-45 01#mem_mouse_vdd_empty_vol  :1.8V
-69 01#mem_mouse_vdd_low_vol   :2.0V
+mem_mouse_vdd_full_vol:53 02		#3.0V
+3c 01#mem_mouse_vdd_empty_vol  :1.8V
+6b 01#mem_mouse_vdd_low_vol   :2.0V
 #mem_mouse_vdd_full_vol:3c 01		#3.3V
 #1e 01#mem_mouse_vdd_empty_vol  :3.0V
 #30 01#mem_mouse_vdd_low_vol   :3.2V
