Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/ZhongXinSheng/AutoPair_24G/output/eeprom.dat	(revision 3584)
+++ /YC1308AC/branch/mouse_project/ZhongXinSheng/AutoPair_24G/output/eeprom.dat	(working copy)
@@ -2,108 +2,168 @@
 02
 aa
 55
-32
+8e
 05
 c2
 84
 00
-12
+13
 c0
 00
 00
-19
+28
 c0
 01
 80
-1d
+2c
 c0
 45
 80
-66
+75
 c0
 4f
 80
-71
+80
 c0
 57
 00
-74
+83
 c0
 58
 00
-5a
+69
 c0
 61
 80
-cf
+de
 c0
 63
 80
-73
+82
 c0
 64
 80
-ab
+ba
 c0
 65
 00
-b6
+c5
 c0
 66
 00
-56
+65
+c0
+67
+80
+ed
 c0
 68
 00
-de
+f5
 c0
 69
-80
-ef
+81
+06
 c0
 6b
 00
-bf
+ce
 c0
 6c
-80
-fc
+81
+13
 c0
 6d
 01
-34
+4b
 20
 20
 13
 7c
 c0
+15
+80
+1b
+c0
 19
 80
-36
+45
 c0
 1a
 00
-3b
+4a
 c0
 43
 81
-3b
+52
 c0
 50
 81
-3f
+56
 c0
 75
 00
-9c
+ab
 c0
 76
 01
-49
+60
 20
 20
 13
 7c
+6f
+f0
+8a
+0b
+79
+3f
+fe
+05
+79
+3f
+fe
+04
+79
+3f
+fe
+00
+67
+f0
+8a
+0b
+20
+00
+00
+18
+79
+3f
+fe
+03
+67
+f0
+8a
+0b
+20
+00
+00
+c8
+6f
+f0
+8a
+0a
+79
+3f
+fe
+01
+67
+f0
+8a
+0a
+20
+60
+00
+00
 20
 80
 00
@@ -167,7 +227,7 @@
 20
 40
 00
-2a
+39
 20
 20
 08
@@ -199,7 +259,7 @@
 20
 3a
 00
-33
+42
 6f
 e0
 c6
@@ -359,7 +419,7 @@
 20
 40
 00
-3b
+4a
 20
 20
 3e
@@ -411,7 +471,7 @@
 20
 20
 00
-5a
+69
 70
 8a
 8b
@@ -499,7 +559,7 @@
 20
 40
 00
-7d
+8c
 20
 20
 3b
@@ -507,7 +567,7 @@
 58
 00
 00
-80
+8f
 67
 e1
 48
@@ -535,7 +595,7 @@
 c3
 0a
 80
-87
+96
 6f
 e0
 cb
@@ -555,7 +615,7 @@
 c2
 80
 80
-96
+a5
 68
 48
 c7
@@ -651,7 +711,7 @@
 24
 3a
 00
-a6
+b5
 6f
 e4
 48
@@ -775,11 +835,11 @@
 c0
 1e
 00
-ca
+d9
 c0
 19
 00
-c3
+d2
 20
 20
 43
@@ -791,7 +851,7 @@
 c0
 00
 80
-c7
+d6
 70
 4b
 76
@@ -847,7 +907,7 @@
 c0
 00
 00
-d4
+e3
 20
 20
 3d
@@ -895,11 +955,43 @@
 20
 40
 40
+72
+20
+74
+00
+00
+6f
+e0
+c9
+92
+1f
+e0
+fe
+01
+1f
+e1
+7e
+03
+67
+e0
+c9
+92
+20
+40
+40
+95
+20
+20
+46
+43
+20
+40
+40
 8f
 20
 40
 00
-e1
+f8
 20
 20
 40
@@ -951,7 +1043,7 @@
 20
 3a
 01
-0a
+21
 67
 e0
 cb
@@ -978,8 +1070,8 @@
 b5
 c0
 18
-00
-f9
+01
+10
 c0
 18
 c2
@@ -1039,7 +1131,7 @@
 20
 40
 01
-07
+1e
 20
 40
 40
@@ -1051,7 +1143,7 @@
 20
 40
 01
-1f
+36
 20
 20
 44
@@ -1063,7 +1155,7 @@
 da
 40
 01
-0a
+21
 20
 20
 31
@@ -1119,11 +1211,11 @@
 20
 41
 01
-19
+30
 24
 41
 01
-1d
+34
 20
 20
 48
@@ -1159,7 +1251,7 @@
 c0
 00
 01
-25
+3c
 6f
 e4
 4b
@@ -1175,7 +1267,7 @@
 20
 20
 01
-28
+3f
 6f
 e4
 4b
@@ -1211,7 +1303,7 @@
 20
 22
 81
-2f
+46
 20
 20
 44
@@ -1332,8 +1424,8 @@
 20
 26
 bc
-62
-7b
+09
+53
 aa
 55
 40
@@ -1365,7 +1457,7 @@
 01
 00
 88
-16
+96
 49
 06
 00
@@ -1377,7 +1469,7 @@
 00
 00
 00
-00
+08
 18
 00
 00
@@ -2506,102 +2598,10 @@
 aa
 aa
 55
-8c
-5f
-06
-cb
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+14
+60
+f0
+4a
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-01
-1f
+0a
+dd
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/ZhongXinSheng/AutoPair_24G/output/program.lis	(revision 3584)
+++ /YC1308AC/branch/mouse_project/ZhongXinSheng/AutoPair_24G/output/program.lis	(working copy)
@@ -1,433 +1,460 @@
               include "bt_format "
               org 0x0000
-0000 c2840012 bbit1 8 ,pf_patch_ext 
-0001 c0000019 beq patch00_0 ,p_soft_reset 
-0002 c001801d beq patch00_3 ,p_main_loop 
-0003 c0458066 beq patch11_3 ,p_initialize_radio_cont 
-0004 c04f8071 beq patch13_7 ,p_init_param 
-0005 c0570074 beq patch15_6 ,p_app_init 
-0006 c058005a beq patch16_0 ,p_app_evt_100ms_loop 
-0007 c06180cf beq patch18_3 ,p_mouse_start_work 
-0008 c0638073 beq patch18_7 ,p_mouse_app_enter_hibernate 
-0009 c06480ab beq patch19_1 ,p_mouse_setgpio_hibernate 
-000a c06500b6 beq patch19_2 ,p_mouse_lpm_before_common 
-000b c0660056 beq patch19_4 ,p_mouse_adc_read_start 
-000c c06800de beq patch1a_0 ,p_mouse_seting_dpi 
-000d c06980ef beq patch1a_3 ,p_mouse_init_sunt 
-000e c06b00bf beq patch1a_6 ,p_mouse_priority_bb_event 
-000f c06c80fc beq patch1b_1 ,p_mouse_bb_event_timer 
-0010 c06d0134 beq patch1b_2 ,p_mouse_start_discovery 
-0011 2020137c branch loop 
+0000 c2840013 bbit1 8 ,pf_patch_ext 
+0001 c0000028 beq patch00_0 ,p_soft_reset 
+0002 c001802c beq patch00_3 ,p_main_loop 
+0003 c0458075 beq patch11_3 ,p_initialize_radio_cont 
+0004 c04f8080 beq patch13_7 ,p_init_param 
+0005 c0570083 beq patch15_6 ,p_app_init 
+0006 c0580069 beq patch16_0 ,p_app_evt_100ms_loop 
+0007 c06180de beq patch18_3 ,p_mouse_start_work 
+0008 c0638082 beq patch18_7 ,p_mouse_app_enter_hibernate 
+0009 c06480ba beq patch19_1 ,p_mouse_setgpio_hibernate 
+000a c06500c5 beq patch19_2 ,p_mouse_lpm_before_common 
+000b c0660065 beq patch19_4 ,p_mouse_adc_read_start 
+000c c06780ed beq patch19_7 ,p_mouse_dpi_process 
+000d c06800f5 beq patch1a_0 ,p_mouse_seting_dpi 
+000e c0698106 beq patch1a_3 ,p_mouse_init_sunt 
+000f c06b00ce beq patch1a_6 ,p_mouse_priority_bb_event 
+0010 c06c8113 beq patch1b_1 ,p_mouse_bb_event_timer 
+0011 c06d014b beq patch1b_2 ,p_mouse_start_discovery 
+0012 2020137c branch loop 
 
 pf_patch_ext:
-0012 c0198036 beq patch26_3 ,p_adc_init_data 
-0013 c01a003b beq patch26_4 ,p_enable_adc 
-0014 c043813b beq patch30_7 ,p_ui_timer_check 
-0015 c050813f beq patch34_1 ,p_le_slave_match 
-0016 c075009c beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0017 c0760149 beq patch3d_4 ,p_g24_lpm_wait 
-0018 2020137c branch loop 
+0013 c015801b beq patch25_3 ,p_efuse_vdd_off 
+0014 c0198045 beq patch26_3 ,p_adc_init_data 
+0015 c01a004a beq patch26_4 ,p_enable_adc 
+0016 c0438152 beq patch30_7 ,p_ui_timer_check 
+0017 c0508156 beq patch34_1 ,p_le_slave_match 
+0018 c07500ab beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0019 c0760160 beq patch3d_4 ,p_g24_lpm_wait 
+001a 2020137c branch loop 
+
+p_efuse_vdd_off:
+001b 6ff08a0b fetch 1 ,core_rf_ldo_en1 
+001c 793ffe05 set0 5 ,pdata 
+001d 793ffe04 set0 4 ,pdata 
+001e 793ffe00 set0 0 ,pdata 
+001f 67f08a0b store 1 ,core_rf_ldo_en1 
+0020 20000018 nop 24 
+0021 793ffe03 set0 3 ,pdata 
+0022 67f08a0b store 1 ,core_rf_ldo_en1 
+0023 200000c8 nop 200 
+0024 6ff08a0a fetch 1 ,core_rf_ldo_en0 
+0025 793ffe01 set0 1 ,pdata 
+0026 67f08a0a store 1 ,core_rf_ldo_en0 
+0027 20600000 rtn 
 
 p_soft_reset:
-0019 20800000 clear_stack 
-001a 204030f3 call app_param_init 
-001b 20403bfd call mouse_xtal_init 
-001c 20200804 branch soft_reset + 3 
+0028 20800000 clear_stack 
+0029 204030f3 call app_param_init 
+002a 20403bfd call mouse_xtal_init 
+002b 20200804 branch soft_reset + 3 
 
 p_main_loop:
-001d 2040706c call sp_calc_sequence 
-001e 20407597 call sp_calc_sequence_256 
-001f 20406ea7 call sp_calc_sequence_256_check 
-0020 20401b93 call le_advertising_dispatch + 1 
-0021 2040083a call idle_dispatch 
-0022 20403108 call app_process_idle + 1 
-0023 20400892 call inquiry_dispatch + 1 
-0024 20400b08 call inquiry_scan_dispatch + 1 
-0025 20400b7b call page_scan_dispatch + 1 
-0026 20400823 call connection_dispatch + 1 
-0027 204021d3 call g24_dispatch + 2 
-0028 2040002a call p_lpm_dispatch 
-0029 20200813 branch main_loop 
+002c 2040706c call sp_calc_sequence 
+002d 20407597 call sp_calc_sequence_256 
+002e 20406ea7 call sp_calc_sequence_256_check 
+002f 20401b93 call le_advertising_dispatch + 1 
+0030 2040083a call idle_dispatch 
+0031 20403108 call app_process_idle + 1 
+0032 20400892 call inquiry_dispatch + 1 
+0033 20400b08 call inquiry_scan_dispatch + 1 
+0034 20400b7b call page_scan_dispatch + 1 
+0035 20400823 call connection_dispatch + 1 
+0036 204021d3 call g24_dispatch + 2 
+0037 20400039 call p_lpm_dispatch 
+0038 20200813 branch main_loop 
 
 p_lpm_dispatch:
-002a 20401465 call lpo_calibration 
-002b 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-002c 207a0000 rtn blank 
-002d 6fe0c099 fetch 1 ,mem_lpm_mode 
-002e 207a0000 rtn blank 
-002f 6fe0c764 fetch 1 ,mem_ssp_enable 
-0030 203a0033 branch p_lpm_dispatch_next ,blank 
-0031 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
-0032 207a0000 rtn blank 
+0039 20401465 call lpo_calibration 
+003a 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+003b 207a0000 rtn blank 
+003c 6fe0c099 fetch 1 ,mem_lpm_mode 
+003d 207a0000 rtn blank 
+003e 6fe0c764 fetch 1 ,mem_ssp_enable 
+003f 203a0042 branch p_lpm_dispatch_next ,blank 
+0040 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
+0041 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-0033 6fe0c6ba fetch 1 ,mem_sc_calc 
-0034 247a0000 nrtn blank 
-0035 202014ea branch lpm_dispatch_next + 3 
+0042 6fe0c6ba fetch 1 ,mem_sc_calc 
+0043 247a0000 nrtn blank 
+0044 202014ea branch lpm_dispatch_next + 3 
 
 p_adc_init_data:
-0036 da20099e arg mem_temp_block2 ,rega 
-0037 d840000c arg 12 ,temp 
-0038 58000030 setarg efuse_offset_adc_param 
-0039 20405e63 call efuse_read_data 
-003a 202060bf branch adc_init_data + 6 
+0045 da20099e arg mem_temp_block2 ,rega 
+0046 d840000c arg 12 ,temp 
+0047 58000030 setarg efuse_offset_adc_param 
+0048 20405e63 call efuse_read_data 
+0049 202060bf branch adc_init_data + 6 
 
 p_enable_adc:
-003b 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-003c 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-003d 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-003e 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-003f 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-0040 79207e07 set1 7 ,pdata 
-0041 67f08a09 store 1 ,core_clkpll_cfg6 
-0042 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-0043 2000003c nop 60 
-0044 708a1600 jam 0 ,core_syn_en 
-0045 708a1706 jam 6 ,core_rx_en0 
-0046 2040611a call read_adc_mode 
-0047 67f08a97 store 1 ,core_gpadc_ctrl 
-0048 7080dc03 jam 0x03 ,core_sum_ctrl 
-0049 2000003c nop 60 
-004a 6ff08053 fetch 1 ,core_sum_en 
-004b 79207e07 set1 7 ,pdata 
-004c 67f08053 store 1 ,core_sum_en 
-004d 200003e8 nop 1000 
-004e 6ff10150 fetch 2 ,core_adc_sum 
-004f 67e144a2 store 2 ,mem_adc_current_value 
-0050 6ff08053 fetch 1 ,core_sum_en 
-0051 793ffe07 set0 7 ,pdata 
-0052 67f08053 store 1 ,core_sum_en 
-0053 708a9700 jam 0 ,core_gpadc_ctrl 
-0054 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-0055 20600000 rtn 
+004a 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+004b 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+004c 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+004d 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+004e 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+004f 79207e07 set1 7 ,pdata 
+0050 67f08a09 store 1 ,core_clkpll_cfg6 
+0051 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+0052 2000003c nop 60 
+0053 708a1600 jam 0 ,core_syn_en 
+0054 708a1706 jam 6 ,core_rx_en0 
+0055 2040611a call read_adc_mode 
+0056 67f08a97 store 1 ,core_gpadc_ctrl 
+0057 7080dc03 jam 0x03 ,core_sum_ctrl 
+0058 2000003c nop 60 
+0059 6ff08053 fetch 1 ,core_sum_en 
+005a 79207e07 set1 7 ,pdata 
+005b 67f08053 store 1 ,core_sum_en 
+005c 200003e8 nop 1000 
+005d 6ff10150 fetch 2 ,core_adc_sum 
+005e 67e144a2 store 2 ,mem_adc_current_value 
+005f 6ff08053 fetch 1 ,core_sum_en 
+0060 793ffe07 set0 7 ,pdata 
+0061 67f08053 store 1 ,core_sum_en 
+0062 708a9700 jam 0 ,core_gpadc_ctrl 
+0063 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+0064 20600000 rtn 
 
 p_mouse_adc_read_start:
-0056 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0057 247a0000 nrtn blank 
-0058 2040003b call p_enable_adc 
-0059 20203ebb branch mouse_adc_read_start + 3 
+0065 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0066 247a0000 nrtn blank 
+0067 2040004a call p_enable_adc 
+0068 20203ebb branch mouse_adc_read_start + 3 
 
 p_app_evt_100ms_loop:
-005a 6fe0830d fetch 1 ,mem_app_evt_timer_count 
-005b 207a0000 rtn blank 
-005c 1fe0ffff increase -1 ,pdata 
-005d 67e0830d store 1 ,mem_app_evt_timer_count 
-005e 204077c5 call ui_button_polling 
-005f 204031e3 call app_lpm_wake_auto_lock_timer 
-0060 204031a4 call app_unsniff_delay_timer 
-0061 204031aa call app_discovery_timer 
-0062 20405cdc call flash_write_spi_sm_timer 
-0063 6fe1446f fetch 2 ,mem_cb_event_timer 
-0064 20407e05 call callback_func 
-0065 2020005a branch p_app_evt_100ms_loop 
+0069 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+006a 207a0000 rtn blank 
+006b 1fe0ffff increase -1 ,pdata 
+006c 67e0830d store 1 ,mem_app_evt_timer_count 
+006d 204077c5 call ui_button_polling 
+006e 204031e3 call app_lpm_wake_auto_lock_timer 
+006f 204031a4 call app_unsniff_delay_timer 
+0070 204031aa call app_discovery_timer 
+0071 20405cdc call flash_write_spi_sm_timer 
+0072 6fe1446f fetch 2 ,mem_cb_event_timer 
+0073 20407e05 call callback_func 
+0074 20200069 branch p_app_evt_100ms_loop 
 
 p_initialize_radio_cont:
-0066 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-0067 2040126a call initialize_syn_afc_cfg1 
-0068 20401271 call initialize_rf_ldo_cfg1 
-0069 20401277 call initialize_rc_cal 
-006a 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-006b 708a0305 jam 5 ,core_clkpll_cfg0 
-006c 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-006d 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-006e 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-006f 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0070 2020125d branch initialize_radio_cont + 8 
+0075 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+0076 2040126a call initialize_syn_afc_cfg1 
+0077 20401271 call initialize_rf_ldo_cfg1 
+0078 20401277 call initialize_rc_cal 
+0079 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+007a 708a0305 jam 5 ,core_clkpll_cfg0 
+007b 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+007c 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+007d 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+007e 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+007f 2020125d branch initialize_radio_cont + 8 
 
 p_init_param:
-0071 70008000 jam 0 ,mem_lmo_tid2 
-0072 202013b7 branch init_param_next + 1 
+0080 70008000 jam 0 ,mem_lmo_tid2 
+0081 202013b7 branch init_param_next + 1 
 
 p_mouse_app_enter_hibernate:
-0073 20203e23 branch mouse_app_enter_hibernate + 3 
+0082 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_app_init:
 
 p_mouse_init:
-0074 20406df3 call enable_authrom 
-0075 20403bf0 call mouse_setting_config 
-0076 204041a7 call mouse_init_sunt 
-0077 2040408e call mouse_dpi_config 
-0078 20758000 rtn wake 
-0079 20403d8a call mouse_usb_check_enable 
-007a 20404728 call mouse_drawing_optima_init 
-007b 2040007d call p_mouse_cb_fuction 
-007c 20203bc8 branch mouse_init + 7 
+0083 20406df3 call enable_authrom 
+0084 20403bf0 call mouse_setting_config 
+0085 204041a7 call mouse_init_sunt 
+0086 2040408e call mouse_dpi_config 
+0087 20758000 rtn wake 
+0088 20403d8a call mouse_usb_check_enable 
+0089 20404728 call mouse_drawing_optima_init 
+008a 2040008c call p_mouse_cb_fuction 
+008b 20203bc8 branch mouse_init + 7 
 
 p_mouse_cb_fuction:
-007d 58000080 setarg p_mouse_24g_package_data 
-007e 67e1489b store 2 ,mem_cb_24g_transmit_data 
-007f 20203bd1 branch mouse_cb_fuction + 2 
+008c 5800008f setarg p_mouse_24g_package_data 
+008d 67e1489b store 2 ,mem_cb_24g_transmit_data 
+008e 20203bd1 branch mouse_cb_fuction + 2 
 
 p_mouse_24g_package_data:
-0080 c6930000 rtnmark0 mark_24g 
-0081 20403f70 call mouse_motion 
-0082 24740000 nrtn user 
-0083 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0084 c30a8087 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-0085 6fe0cb8b fetch 1 ,mem_customer_key 
-0086 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
+008f c6930000 rtnmark0 mark_24g 
+0090 20403f70 call mouse_motion 
+0091 24740000 nrtn user 
+0092 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0093 c30a8096 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+0094 6fe0cb8b fetch 1 ,mem_customer_key 
+0095 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-0087 204042cb call mouse_data_xy_release 
-0088 6fe0c836 fetch 1 ,mem_24g_data_type 
-0089 c2808096 bbit1 1 ,p_mouse_24g_mouse_package_data_now 
-008a 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
-008b 6fe0c8d0 fetch 1 ,mem_mouse_key 
-008c 9841fe00 ior temp ,pdata 
-008d 67e0c8d0 store 1 ,mem_mouse_key 
-008e 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
-008f 6fe0c8d5 fetch 1 ,mem_mouse_z 
-0090 9840fe00 iadd temp ,pdata 
-0091 67e0c8d5 store 1 ,mem_mouse_z 
-0092 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
-0093 6fe0c8d6 fetch 1 ,mem_mouse_tz 
-0094 9840fe00 iadd temp ,pdata 
-0095 67e0c8d6 store 1 ,mem_mouse_tz 
+0096 204042cb call mouse_data_xy_release 
+0097 6fe0c836 fetch 1 ,mem_24g_data_type 
+0098 c28080a5 bbit1 1 ,p_mouse_24g_mouse_package_data_now 
+0099 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
+009a 6fe0c8d0 fetch 1 ,mem_mouse_key 
+009b 9841fe00 ior temp ,pdata 
+009c 67e0c8d0 store 1 ,mem_mouse_key 
+009d 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
+009e 6fe0c8d5 fetch 1 ,mem_mouse_z 
+009f 9840fe00 iadd temp ,pdata 
+00a0 67e0c8d5 store 1 ,mem_mouse_z 
+00a1 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
+00a2 6fe0c8d6 fetch 1 ,mem_mouse_tz 
+00a3 9840fe00 iadd temp ,pdata 
+00a4 67e0c8d6 store 1 ,mem_mouse_tz 
 
 p_mouse_24g_mouse_package_data_now:
-0096 70483601 jam type_ms ,mem_24g_data_type 
-0097 da200007 arg 7 ,rega 
-0098 da4048d0 arg mem_mouse_key ,regb 
-0099 6fe148d5 fetch 2 ,mem_mouse_z 
-009a 207a0000 rtn blank 
-009b 202026e1 branch g24_transmit_by_interrupt_enable 
+00a5 70483601 jam type_ms ,mem_24g_data_type 
+00a6 da200007 arg 7 ,rega 
+00a7 da4048d0 arg mem_mouse_key ,regb 
+00a8 6fe148d5 fetch 2 ,mem_mouse_z 
+00a9 207a0000 rtn blank 
+00aa 202026e1 branch g24_transmit_by_interrupt_enable 
 
 p_g24_transmit_no_interrupt:
-009c 20402631 call g24_txdata_prep 
-009d 243426a1 nbranch g24_nodata_transmit ,user 
+00ab 20402631 call g24_txdata_prep 
+00ac 243426a1 nbranch g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-009e 20402646 call g24_transmit_process 
-009f 204026ee call power_ctrl_start 
-00a0 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00a1 243a00a6 nbranch p_g24_short_sleep ,blank 
-00a2 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-00a3 67e4485c store 8 ,mem_24g_enter_hibernate 
-00a4 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-00a5 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+00ad 20402646 call g24_transmit_process 
+00ae 204026ee call power_ctrl_start 
+00af 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+00b0 243a00b5 nbranch p_g24_short_sleep ,blank 
+00b1 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+00b2 67e4485c store 8 ,mem_24g_enter_hibernate 
+00b3 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+00b4 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-00a6 204026bb call g24_lpm_wait 
-00a7 24740000 nrtn user 
-00a8 20407fdc call clear_wake 
-00a9 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-00aa 202026b8 branch g24_long_sleep2 
+00b5 204026bb call g24_lpm_wait 
+00b6 24740000 nrtn user 
+00b7 20407fdc call clear_wake 
+00b8 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+00b9 202026b8 branch g24_long_sleep2 
 
 p_mouse_setgpio_hibernate:
-00ab 204042e9 call mouse_set_sdio_high 
-00ac 20407fdc call clear_wake 
-00ad 20404015 call mouse_before_hibernate_wheel_gpio_set 
-00ae 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00af 20406069 call gpio_out_active 
-00b0 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00b1 20406042 call gpio_clr_wake 
-00b2 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-00b3 d840003f arg gpcfg_output_high ,temp 
-00b4 20406093 call gpio_config_function_int 
-00b5 20203e36 branch mouse_setgpio_hibernate + 3 
+00ba 204042e9 call mouse_set_sdio_high 
+00bb 20407fdc call clear_wake 
+00bc 20404015 call mouse_before_hibernate_wheel_gpio_set 
+00bd 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00be 20406069 call gpio_out_active 
+00bf 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00c0 20406042 call gpio_clr_wake 
+00c1 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+00c2 d840003f arg gpcfg_output_high ,temp 
+00c3 20406093 call gpio_config_function_int 
+00c4 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-00b6 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-00b7 20406050 call gpio_config_input 
-00b8 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-00b9 20406050 call gpio_config_input 
-00ba 20403f88 call mouse_wheel_check 
-00bb 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-00bc d840003f arg gpcfg_output_high ,temp 
-00bd 20406093 call gpio_config_function_int 
-00be 20203e44 branch mouse_lpm_before_common_next 
+00c5 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+00c6 20406050 call gpio_config_input 
+00c7 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+00c8 20406050 call gpio_config_input 
+00c9 20403f88 call mouse_wheel_check 
+00ca 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+00cb d840003f arg gpcfg_output_high ,temp 
+00cc 20406093 call gpio_config_function_int 
+00cd 20203e44 branch mouse_lpm_before_common_next 
 
 p_mouse_priority_bb_event:
-00bf 1a627e00 copy regc ,pdata 
-00c0 c01e00ca beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00c1 c01900c3 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-00c2 20204336 branch mouse_priority_bb_event + 2 
+00ce 1a627e00 copy regc ,pdata 
+00cf c01e00d9 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+00d0 c01900d2 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+00d1 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_ll_start_encryt:
-00c3 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-00c4 c00080c7 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-00c5 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-00c6 20204373 branch mouse_le_ll_enable_start_enc_flag 
+00d2 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+00d3 c00080d6 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+00d4 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+00d5 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-00c7 2040436c call mouse_updata_le_param 
-00c8 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-00c9 20204373 branch mouse_le_ll_enable_start_enc_flag 
+00d6 2040436c call mouse_updata_le_param 
+00d7 704b7605 jam 5 ,mem_le_start_encrypt_timer 
+00d8 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_24g_attempt_success:
-00ca 6fe2483c fetch 4 ,mem_24g_addr 
-00cb 67e24891 store 4 ,mem_24g_receiver_addr 
-00cc 67e24993 store 4 ,mem_mouse_24g_addr 
-00cd 204048c6 call mouse_device_poweron_timer_init 
-00ce 2020484e branch mouse_24g_attempt_success 
+00d9 6fe2483c fetch 4 ,mem_24g_addr 
+00da 67e24891 store 4 ,mem_24g_receiver_addr 
+00db 67e24993 store 4 ,mem_mouse_24g_addr 
+00dc 204048c6 call mouse_device_poweron_timer_init 
+00dd 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_start_work:
-00cf 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00d0 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-00d1 6fe0c938 fetch 1 ,mem_device_flag 
-00d2 c00000d4 beq mode_24g_device ,p_mouse_24g_start_mode 
-00d3 20203d57 branch mouse_start_work + 5 
+00de 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00df c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+00e0 6fe0c938 fetch 1 ,mem_device_flag 
+00e1 c00000e3 beq mode_24g_device ,p_mouse_24g_start_mode 
+00e2 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-00d4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00d5 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-00d6 20403d65 call mouse_wakeup_from_power_check 
-00d7 20344806 branch mouse_24g_reconn_dongle_start ,user 
-00d8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00d9 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-00da c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-00db 20404110 call mouse_key_check_once 
-00dc 1a217e07 and rega ,0x07 ,pdata 
-00dd 202047ff branch mouse_24g_start_mode + 9 
+00e3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00e4 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+00e5 20403d65 call mouse_wakeup_from_power_check 
+00e6 20344806 branch mouse_24g_reconn_dongle_start ,user 
+00e7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00e8 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+00e9 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+00ea 20404110 call mouse_key_check_once 
+00eb 1a217e07 and rega ,0x07 ,pdata 
+00ec 202047ff branch mouse_24g_start_mode + 9 
+
+p_mouse_dpi_process:
+00ed 20404072 call mouse_dpi_ghost_check 
+00ee 20740000 rtn user 
+00ef 6fe0c992 fetch 1 ,mem_mouse_dpi 
+00f0 1fe0fe01 increase 1 ,pdata 
+00f1 1fe17e03 and pdata ,0x03 ,pdata 
+00f2 67e0c992 store 1 ,mem_mouse_dpi 
+00f3 20404095 call mouse_seting_dpi 
+00f4 20204643 branch mouse_store_eerpom_dpi 
 
 p_mouse_seting_dpi:
-00de 2040408f call mouse_setting_dpi_4_level 
-00df 204000e1 call p_mouse_dpi_led_blink_delay 
-00e0 20204098 branch mouse_seting_sensor_type 
+00f5 2040408f call mouse_setting_dpi_4_level 
+00f6 204000f8 call p_mouse_dpi_led_blink_delay 
+00f7 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-00e1 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-00e2 c17f8000 rtneq gpio_disable 
-00e3 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-00e4 247a0000 nrtn blank 
-00e5 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-00e6 247a0000 nrtn blank 
-00e7 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-00e8 247a0000 nrtn blank 
-00e9 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-00ea 247a0000 nrtn blank 
-00eb 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-00ec 203a010a branch p_mouse_dpi_led_blink_init ,blank 
-00ed 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-00ee 20600000 rtn 
+00f8 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+00f9 c17f8000 rtneq gpio_disable 
+00fa 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+00fb 247a0000 nrtn blank 
+00fc 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+00fd 247a0000 nrtn blank 
+00fe 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+00ff 247a0000 nrtn blank 
+0100 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0101 247a0000 nrtn blank 
+0102 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0103 203a0121 branch p_mouse_dpi_led_blink_init ,blank 
+0104 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+0105 20600000 rtn 
 
 p_mouse_init_sunt:
-00ef 20403f65 call mouse_sensor_spi_init 
-00f0 20758000 rtn wake 
+0106 20403f65 call mouse_sensor_spi_init 
+0107 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-00f1 20404236 call mouse_sensor_poweron 
+0108 20404236 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-00f2 204041b5 call mouse_read_sensor_id 
-00f3 c01800f9 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-00f4 c018c217 beq p3065_id1 ,mouse_init_p3065 
-00f5 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
-00f6 204041b2 call mouse_twspi_reset 
-00f7 20001af4 nop 6900 
-00f8 202041ab branch mouse_init_sensor 
+0109 204041b5 call mouse_read_sensor_id 
+010a c0180110 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+010b c018c217 beq p3065_id1 ,mouse_init_p3065 
+010c c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+010d 204041b2 call mouse_twspi_reset 
+010e 20001af4 nop 6900 
+010f 202041ab branch mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-00f9 6fe0c9c2 fetch 1 ,mem_sensor_id2 
-00fa c02a41ff beq pka8_id2 ,mouse_ka8_init_param 
-00fb 202041bd branch mouse_init_p32xx_id2_judge + 1 
+0110 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+0111 c02a41ff beq pka8_id2 ,mouse_ka8_init_param 
+0112 202041bd branch mouse_init_p32xx_id2_judge + 1 
 
 p_mouse_bb_event_timer:
-00fc 20403e9b call mouse_adc_read 
-00fd 20404956 call mouse_low_voltage_led_timer 
-00fe 2040232b call g24_pair_timeout_timer 
-00ff 20402556 call g24_reconn_timeout_timer 
-0100 204047cd call mouse_24g_long_sleep_param_update_timer 
-0101 204048be call mouse_device_poweron_timer 
-0102 20400107 call p_mouse_dpi_led_blink_delay_timer 
-0103 2040407c call mouse_dpi_key_check_long_press 
-0104 204044cc call mouse_bt_discovery_check 
-0105 2040011f call p_mouse_commbination_key_process 
-0106 202044c0 branch mouse_bb_event_timer + 11 
+0113 20403e9b call mouse_adc_read 
+0114 20404956 call mouse_low_voltage_led_timer 
+0115 2040232b call g24_pair_timeout_timer 
+0116 20402556 call g24_reconn_timeout_timer 
+0117 204047cd call mouse_24g_long_sleep_param_update_timer 
+0118 204048be call mouse_device_poweron_timer 
+0119 2040011e call p_mouse_dpi_led_blink_delay_timer 
+011a 2040407c call mouse_dpi_key_check_long_press 
+011b 204044cc call mouse_bt_discovery_check 
+011c 20400136 call p_mouse_commbination_key_process 
+011d 202044c0 branch mouse_bb_event_timer + 11 
 
 p_mouse_dpi_led_blink_delay_timer:
-0107 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-0108 da40010a arg p_mouse_dpi_led_blink_init ,regb 
-0109 2020318a branch timer_single_step 
+011e da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+011f da400121 arg p_mouse_dpi_led_blink_init ,regb 
+0120 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-010a 6fe0c927 fetch 1 ,mem_config_sensor_type 
-010b c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-010c c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-010d 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-010e 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-010f 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-0110 67e14930 store 2 ,mem_mouse_on_time 
-0111 67e14932 store 2 ,mem_mouse_off_time 
-0112 da200000 arg 0 ,rega 
-0113 6848c992 fetcht 1 ,mem_mouse_dpi 
-0114 18408402 increase 2 ,temp 
-0115 18467c03 sub temp ,3 ,null 
-0116 20410119 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-0117 2441011d ncall p_mouse_dpi_led_blink_count_clean ,positive 
-0118 202048ff branch mouse_dpi_led_blink_init_end 
+0121 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0122 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+0123 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+0124 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0125 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+0126 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+0127 67e14930 store 2 ,mem_mouse_on_time 
+0128 67e14932 store 2 ,mem_mouse_off_time 
+0129 da200000 arg 0 ,rega 
+012a 6848c992 fetcht 1 ,mem_mouse_dpi 
+012b 18408402 increase 2 ,temp 
+012c 18467c03 sub temp ,3 ,null 
+012d 20410130 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+012e 24410134 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+012f 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0119 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-011a c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-011b 18408401 increase 1 ,temp 
-011c 20600000 rtn 
+0130 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0131 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+0132 18408401 increase 1 ,temp 
+0133 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-011d 184085fd increase -3 ,temp 
-011e 20600000 rtn 
+0134 184085fd increase -3 ,temp 
+0135 20600000 rtn 
 
 p_mouse_commbination_key_process:
-011f 6fe0c938 fetch 1 ,mem_device_flag 
-0120 c0000125 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-0121 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0122 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-0123 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-0124 20200128 branch p_mouse_commbination_key_start 
+0136 6fe0c938 fetch 1 ,mem_device_flag 
+0137 c000013c beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+0138 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0139 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+013a 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+013b 2020013f branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-0125 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0126 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-0127 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+013c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+013d c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+013e 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-0128 6048cb9d storet 1 ,mem_mouse_commbination_key 
-0129 20404115 call mouse_check_key_gpio 
-012a 1fe17e07 and pdata ,0x07 ,pdata 
-012b 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-012c 98467c00 isub temp ,null 
-012d 2022812f branch p_mouse_commbination_key_down ,zero 
-012e 202044eb branch mouse_commbination_key_up 
+013f 6048cb9d storet 1 ,mem_mouse_commbination_key 
+0140 20404115 call mouse_check_key_gpio 
+0141 1fe17e07 and pdata ,0x07 ,pdata 
+0142 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+0143 98467c00 isub temp ,null 
+0144 20228146 branch p_mouse_commbination_key_down ,zero 
+0145 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-012f 204044f6 call mouse_combination_ui_timer 
-0130 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-0131 c1008000 rtneq commbination_key_state_down 
-0132 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-0133 20600000 rtn 
+0146 204044f6 call mouse_combination_ui_timer 
+0147 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+0148 c1008000 rtneq commbination_key_state_down 
+0149 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+014a 20600000 rtn 
 
 p_mouse_start_discovery:
-0134 6fe1478c fetch 2 ,mem_ui_state_map 
-0135 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-0136 2040c581 call mouse_stop_le_adv ,true 
-0137 6fe1478c fetch 2 ,mem_ui_state_map 
-0138 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-0139 2040c322 call mouse_cancel_reconnect ,true 
-013a 20204554 branch mouse_start_discovery + 1 
+014b 6fe1478c fetch 2 ,mem_ui_state_map 
+014c 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+014d 2040c581 call mouse_stop_le_adv ,true 
+014e 6fe1478c fetch 2 ,mem_ui_state_map 
+014f 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+0150 2040c322 call mouse_cancel_reconnect ,true 
+0151 20204554 branch mouse_start_discovery + 1 
 
 p_ui_timer_check:
-013b 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-013c 245a7861 ncall ui_timer_init ,blank 
-013d 704be200 jam 0 ,mem_power_on_flag 
-013e 20207851 branch ui_timer_check + 1 
+0152 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+0153 245a7861 ncall ui_timer_init ,blank 
+0154 704be200 jam 0 ,mem_power_on_flag 
+0155 20207851 branch ui_timer_check + 1 
 
 p_le_slave_match:
-013f 6fe0c3dd fetch 1 ,mem_le_md_count 
-0140 1fe0fe01 pincrease 1 
-0141 67e0c3dd store 1 ,mem_le_md_count 
-0142 c006165a beq le_md_max_count ,le_slave_cont 
-0143 2040191b call le_acknowledge 
-0144 2040196a call le_prepare_tx 
-0145 6fe082bd fetch 1 ,mem_le_tx_phy 
-0146 2040168b call le_enable_phy_by_pdata 
-0147 20401838 call le_transmit 
-0148 20201655 branch le_slave_match + 10 
+0156 6fe0c3dd fetch 1 ,mem_le_md_count 
+0157 1fe0fe01 pincrease 1 
+0158 67e0c3dd store 1 ,mem_le_md_count 
+0159 c006165a beq le_md_max_count ,le_slave_cont 
+015a 2040191b call le_acknowledge 
+015b 2040196a call le_prepare_tx 
+015c 6fe082bd fetch 1 ,mem_le_tx_phy 
+015d 2040168b call le_enable_phy_by_pdata 
+015e 20401838 call le_transmit 
+015f 20201655 branch le_slave_match + 10 
 
 p_g24_lpm_wait:
-0149 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-014a 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-014b 202026bc branch g24_lpm_wait + 1 
+0160 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0161 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+0162 202026bc branch g24_lpm_wait + 1 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/ZhongXinSheng/AutoPair_24G/program/patch.prog	(revision 3584)
+++ /YC1308AC/branch/mouse_project/ZhongXinSheng/AutoPair_24G/program/patch.prog	(working copy)
@@ -14,6 +14,7 @@
 	beq patch19_1,p_mouse_setgpio_hibernate
 	beq patch19_2,p_mouse_lpm_before_common
 	beq patch19_4,p_mouse_adc_read_start
+	beq patch19_7,p_mouse_dpi_process
 	beq patch1a_0,p_mouse_seting_dpi
 	beq patch1a_3,p_mouse_init_sunt
 	beq patch1a_6,p_mouse_priority_bb_event
@@ -22,6 +23,7 @@
 	branch loop
 
 pf_patch_ext:
+	beq patch25_3,p_efuse_vdd_off
 	beq patch26_3,p_adc_init_data
 	beq patch26_4,p_enable_adc
 	beq patch30_7,p_ui_timer_check		
@@ -33,7 +35,20 @@
 	beq patch3d_2,p_g24_transmit_no_interrupt
 	beq patch3d_4,p_g24_lpm_wait
 	branch loop
-
+p_efuse_vdd_off:
+	fetch 1,core_rf_ldo_en1
+	set0 5,pdata
+	set0 4,pdata
+	set0 0,pdata
+	store 1,core_rf_ldo_en1
+	nop 24
+	set0 3,pdata
+	store 1,core_rf_ldo_en1
+	nop 200
+	fetch 1,core_rf_ldo_en0
+	set0 1,pdata
+	store 1,core_rf_ldo_en0
+	rtn
 
 p_soft_reset:
 	clear_stack
@@ -344,6 +359,17 @@
 
 
 ///////////////////dpi led adjust////////////////////////////////////////////////////////////////////
+p_mouse_dpi_process:
+	call mouse_dpi_ghost_check
+	rtn user
+	fetch 1,mem_mouse_dpi
+	increase 1,pdata
+	and pdata,0x03,pdata
+	store 1,mem_mouse_dpi
+	call mouse_seting_dpi
+	branch mouse_store_eerpom_dpi
+
+
 p_mouse_seting_dpi:
 	call mouse_setting_dpi_4_level
 	call p_mouse_dpi_led_blink_delay
