Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-892W_Only2.4G_LRpair/output/eeprom.dat	(revision 507)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-892W_Only2.4G_LRpair/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-fe
-03
+0e
+04
 c2
 84
 00
@@ -15,15 +15,15 @@
 c0
 45
 00
-f9
+fd
 c0
 45
 80
-5d
+60
 c0
 4f
 80
-5b
+5e
 c0
 57
 00
@@ -31,31 +31,31 @@
 c0
 61
 80
-23
+26
 c0
 64
 80
-70
+73
 c0
 65
 00
-80
+83
 c0
 67
 00
-9f
+a2
 c0
 68
 00
-b8
+bc
 c0
 6b
 00
-85
+88
 c0
 6c
 80
-c9
+cd
 20
 20
 13
@@ -87,15 +87,27 @@
 20
 40
 00
-17
+1a
 20
 40
 00
+44
+20
+40
 41
+a7
+20
+75
+80
+00
+20
+40
+40
+8e
 20
 20
 3b
-c2
+c5
 6f
 e0
 cb
@@ -151,7 +163,7 @@
 c0
 00
 00
-28
+2b
 20
 40
 3d
@@ -187,7 +199,7 @@
 20
 40
 00
-3c
+3f
 1f
 e1
 7e
@@ -239,7 +251,7 @@
 c2
 00
 00
-37
+3a
 20
 60
 00
@@ -423,7 +435,7 @@
 c0
 84
 00
-6a
+6d
 70
 8a
 08
@@ -446,8 +458,8 @@
 03
 20
 40
+01
 00
-fc
 20
 20
 12
@@ -471,7 +483,7 @@
 c0
 7f
 80
-79
+7c
 68
 48
 c9
@@ -511,7 +523,7 @@
 20
 40
 00
-db
+df
 20
 20
 3e
@@ -543,11 +555,11 @@
 c0
 1d
 00
-89
+8c
 c0
 1e
 00
-97
+9a
 20
 20
 43
@@ -567,7 +579,7 @@
 c0
 01
 00
-90
+93
 c0
 02
 48
@@ -587,7 +599,7 @@
 c2
 97
 80
-94
+97
 c2
 98
 48
@@ -599,7 +611,7 @@
 20
 40
 00
-33
+36
 20
 34
 48
@@ -623,7 +635,7 @@
 20
 22
 80
-9d
+a0
 67
 e2
 48
@@ -658,6 +670,10 @@
 40
 20
 40
+40
+8e
+20
+40
 3f
 7e
 20
@@ -683,7 +699,7 @@
 24
 34
 00
-ad
+b1
 20
 40
 47
@@ -691,7 +707,7 @@
 20
 40
 00
-b0
+b4
 20
 20
 45
@@ -747,7 +763,7 @@
 20
 40
 00
-bb
+bf
 20
 20
 40
@@ -799,7 +815,7 @@
 20
 3a
 00
-e2
+e6
 67
 e0
 cb
@@ -835,11 +851,11 @@
 20
 40
 00
-df
+e3
 20
 40
 00
-d2
+d6
 20
 20
 44
@@ -875,7 +891,7 @@
 da
 40
 00
-db
+df
 20
 20
 31
@@ -903,7 +919,7 @@
 da
 40
 00
-e2
+e6
 20
 20
 31
@@ -959,11 +975,11 @@
 20
 41
 00
-f1
+f5
 24
 41
 00
-f5
+f9
 20
 20
 48
@@ -1006,8 +1022,8 @@
 e8
 c0
 4f
-80
-fc
+81
+00
 20
 20
 12
@@ -1024,8 +1040,8 @@
 20
 12
 2a
-14
-21
+9b
+47
 aa
 55
 40
@@ -2187,24 +2203,8 @@
 e8
 41
 01
-c9
-4e
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+f5
+f1
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-63
-f3
+4e
+69
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-892W_Only2.4G_LRpair/output/program.lis	(revision 507)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-892W_Only2.4G_LRpair/output/program.lis	(working copy)
@@ -2,17 +2,17 @@
               org 0x0000
 0000 c284000e bbit1 8 ,pf_patch_ext 
 0001 c000000f beq patch00_0 ,p_soft_reset 
-0002 c04500f9 beq patch11_2 ,p_txon 
-0003 c045805d beq patch11_3 ,p_initialize_radio_cont 
-0004 c04f805b beq patch13_7 ,p_init_param 
+0002 c04500fd beq patch11_2 ,p_txon 
+0003 c0458060 beq patch11_3 ,p_initialize_radio_cont 
+0004 c04f805e beq patch13_7 ,p_init_param 
 0005 c0570013 beq patch15_6 ,p_app_init 
-0006 c0618023 beq patch18_3 ,p_mouse_start_work 
-0007 c0648070 beq patch19_1 ,p_mouse_setgpio_hibernate 
-0008 c0650080 beq patch19_2 ,p_mouse_lpm_before_common 
-0009 c067009f beq patch19_6 ,p_mouse_motion 
-000a c06800b8 beq patch1a_0 ,p_mouse_seting_dpi 
-000b c06b0085 beq patch1a_6 ,p_mouse_priority_bb_event 
-000c c06c80c9 beq patch1b_1 ,p_mouse_bb_event_timer 
+0006 c0618026 beq patch18_3 ,p_mouse_start_work 
+0007 c0648073 beq patch19_1 ,p_mouse_setgpio_hibernate 
+0008 c0650083 beq patch19_2 ,p_mouse_lpm_before_common 
+0009 c06700a2 beq patch19_6 ,p_mouse_motion 
+000a c06800bc beq patch1a_0 ,p_mouse_seting_dpi 
+000b c06b0088 beq patch1a_6 ,p_mouse_priority_bb_event 
+000c c06c80cd beq patch1b_1 ,p_mouse_bb_event_timer 
 000d 2020137c branch loop 
 
 pf_patch_ext:
@@ -28,321 +28,325 @@
 
 p_mouse_init:
 0013 20406df3 call enable_authrom 
-0014 20400017 call p_mouse_wheel_set_wakeup 
-0015 20400041 call p_mouse_setting_config 
-0016 20203bc2 branch mouse_init + 1 
+0014 2040001a call p_mouse_wheel_set_wakeup 
+0015 20400044 call p_mouse_setting_config 
+0016 204041a7 call mouse_init_sunt 
+0017 20758000 rtn wake 
+0018 2040408e call mouse_dpi_config 
+0019 20203bc5 branch mouse_init + 4 
 
 p_mouse_wheel_set_wakeup:
-0017 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0018 207a0000 rtn blank 
-0019 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-001a d8400040 arg gpcfg_pullup ,temp 
-001b 20406093 call gpio_config_function_int 
-001c 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+001a 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+001b 207a0000 rtn blank 
+001c 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
 001d d8400040 arg gpcfg_pullup ,temp 
-001e 20206093 branch gpio_config_function_int 
+001e 20406093 call gpio_config_function_int 
+001f 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+0020 d8400040 arg gpcfg_pullup ,temp 
+0021 20206093 branch gpio_config_function_int 
 
 p_lpm_write_ice_disable:
-001f 6ff10120 fetch 2 ,core_ucode_flag 
-0020 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
-0021 67f2004c store 4 ,core_lpm_reg 
-0022 20205caf branch lpm_write2_ctrl_option 
+0022 6ff10120 fetch 2 ,core_ucode_flag 
+0023 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
+0024 67f2004c store 4 ,core_lpm_reg 
+0025 20205caf branch lpm_write2_ctrl_option 
 
 p_mouse_start_work:
-0023 6fe0c938 fetch 1 ,mem_device_flag 
-0024 c0000028 beq mode_24g_device ,p_mouse_24g_start_mode 
-0025 20403d65 call mouse_wakeup_from_power_check 
-0026 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
-0027 20203d59 branch mouse_start_reconnect_device 
+0026 6fe0c938 fetch 1 ,mem_device_flag 
+0027 c000002b beq mode_24g_device ,p_mouse_24g_start_mode 
+0028 20403d65 call mouse_wakeup_from_power_check 
+0029 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
+002a 20203d59 branch mouse_start_reconnect_device 
 
 p_mouse_24g_start_mode:
-0028 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0029 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-002a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-002b c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-002c c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-002d 2040003c call p_mouse_key_check_once 
-002e 1fe17e07 and pdata ,0x07 ,pdata 
-002f 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
-0030 98467c00 isub temp ,null 
-0031 2022c827 branch mouse_24g_start_pair_mode ,zero 
-0032 2020480c branch mouse_24g_reconn_general_dongle 
+002b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+002c c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+002d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+002e c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+002f c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+0030 2040003f call p_mouse_key_check_once 
+0031 1fe17e07 and pdata ,0x07 ,pdata 
+0032 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+0033 98467c00 isub temp ,null 
+0034 2022c827 branch mouse_24g_start_pair_mode ,zero 
+0035 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_g24_factory_check:
-0033 df200002 arg 2 ,loopcnt 
-0034 d8c04993 arg mem_mouse_24g_addr ,contr 
+0036 df200002 arg 2 ,loopcnt 
+0037 d8c04993 arg mem_mouse_24g_addr ,contr 
 
 p_pdata_0xff_check:
-0035 20407e54 call enable_user 
-0036 5800ffff setarg 0xffff 
+0038 20407e54 call enable_user 
+0039 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-0037 e8410006 ifetcht 2 ,contr 
-0038 98467c00 isub temp ,null 
-0039 2442fe56 ncall disable_user ,zero 
-003a c2000037 loop p_pdata_0xff_check_loop 
-003b 20600000 rtn 
+003a e8410006 ifetcht 2 ,contr 
+003b 98467c00 isub temp ,null 
+003c 2442fe56 ncall disable_user ,zero 
+003d c200003a loop p_pdata_0xff_check_loop 
+003e 20600000 rtn 
 
 p_mouse_key_check_once:
-003c 20404121 call mouse_check_key_gpio_once 
-003d 20404115 call mouse_check_key_gpio 
-003e d8400000 arg 0 ,temp 
-003f 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
-0040 20600000 rtn 
+003f 20404121 call mouse_check_key_gpio_once 
+0040 20404115 call mouse_check_key_gpio 
+0041 d8400000 arg 0 ,temp 
+0042 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
+0043 20600000 rtn 
 
 p_mouse_setting_config:
-0041 20758000 rtn wake 
-0042 20402607 call g24_transmit_init 
-0043 204022ff call g24_chmap_param_init 
-0044 20403f1e call mouse_gpio_init 
-0045 20403d13 call mouse_param_init 
-0046 20203bf5 branch mouse_setting_config_next 
+0044 20758000 rtn wake 
+0045 20402607 call g24_transmit_init 
+0046 204022ff call g24_chmap_param_init 
+0047 20403f1e call mouse_gpio_init 
+0048 20403d13 call mouse_param_init 
+0049 20203bf5 branch mouse_setting_config_next 
 
 p_mouse_sensor_set_angle:
-0047 6fe0c924 fetch 1 ,mem_sensor_angle_default 
-0048 67e0c928 store 1 ,mem_config_sensor_angle 
-0049 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-004a c17f8000 rtneq gpio_disable 
-004b 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-004c d840003e arg gpcfg_output_low ,temp 
-004d 20406093 call gpio_config_function_int 
-004e 6fe0cbe2 fetch 1 ,mem_mouse_reuse_2ice_gpio 
+004a 6fe0c924 fetch 1 ,mem_sensor_angle_default 
+004b 67e0c928 store 1 ,mem_config_sensor_angle 
+004c 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+004d c17f8000 rtneq gpio_disable 
+004e 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
 004f d840003e arg gpcfg_output_low ,temp 
 0050 20406093 call gpio_config_function_int 
-0051 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0052 20403f56 call mouse_gpio_config_input_pu 
-0053 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0054 20406059 call gpio_get_bit 
-0055 2440c2aa ncall mouse_sensor_switch_angle ,true 
-0056 20203f54 branch mouse_gpio_config_input_pd 
+0051 6fe0cbe2 fetch 1 ,mem_mouse_reuse_2ice_gpio 
+0052 d840003e arg gpcfg_output_low ,temp 
+0053 20406093 call gpio_config_function_int 
+0054 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0055 20403f56 call mouse_gpio_config_input_pu 
+0056 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0057 20406059 call gpio_get_bit 
+0058 2440c2aa ncall mouse_sensor_switch_angle ,true 
+0059 20203f54 branch mouse_gpio_config_input_pd 
 
 p_ice_gpio_set_float:
-0057 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-0058 2040607f call gpio_set_high_impedance 
-0059 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-005a 2020607f branch gpio_set_high_impedance 
+005a 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+005b 2040607f call gpio_set_high_impedance 
+005c 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+005d 2020607f branch gpio_set_high_impedance 
 
 p_init_param:
-005b 70008000 jam 0 ,mem_lmo_tid2 
-005c 202013b7 branch init_param_next + 1 
+005e 70008000 jam 0 ,mem_lmo_tid2 
+005f 202013b7 branch init_param_next + 1 
 
 p_initialize_radio_cont:
-005d 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-005e 2040126a call initialize_syn_afc_cfg1 
-005f 20401271 call initialize_rf_ldo_cfg1 
-0060 20401277 call initialize_rc_cal 
-0061 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-0062 708a0305 jam 5 ,core_clkpll_cfg0 
-0063 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-0064 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-0065 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-0066 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0067 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-0068 c084006a bne xtal_16m ,p_initialize_radio_cont_next 
-0069 708a0834 jam 0x34 ,core_clkpll_cfg5 
+0060 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+0061 2040126a call initialize_syn_afc_cfg1 
+0062 20401271 call initialize_rf_ldo_cfg1 
+0063 20401277 call initialize_rc_cal 
+0064 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+0065 708a0305 jam 5 ,core_clkpll_cfg0 
+0066 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+0067 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+0068 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0069 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+006a 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+006b c084006d bne xtal_16m ,p_initialize_radio_cont_next 
+006c 708a0834 jam 0x34 ,core_clkpll_cfg5 
 
 p_initialize_radio_cont_next:
-006a 708a01ff jam 0xff ,core_clkpll_ctrl1 
-006b 20000064 nop 100 
-006c 708a020e jam 0x0e ,core_clkpll_ctrl2 
-006d 708a0003 jam 0x03 ,core_clkpll_ctrl0 
-006e 204000fc call p_set_tx_power_pair 
-006f 20201265 branch initialize_radio_cont_next2 
+006d 708a01ff jam 0xff ,core_clkpll_ctrl1 
+006e 20000064 nop 100 
+006f 708a020e jam 0x0e ,core_clkpll_ctrl2 
+0070 708a0003 jam 0x03 ,core_clkpll_ctrl0 
+0071 20400100 call p_set_tx_power_pair 
+0072 20201265 branch initialize_radio_cont_next2 
 
 p_mouse_setgpio_hibernate:
-0070 204042e9 call mouse_set_sdio_high 
-0071 20407fdc call clear_wake 
-0072 20404015 call mouse_before_hibernate_wheel_gpio_set 
-0073 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0074 c07f8079 beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
-0075 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0076 20406069 call gpio_out_active 
-0077 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0078 20406042 call gpio_clr_wake 
+0073 204042e9 call mouse_set_sdio_high 
+0074 20407fdc call clear_wake 
+0075 20404015 call mouse_before_hibernate_wheel_gpio_set 
+0076 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0077 c07f807c beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
+0078 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0079 20406069 call gpio_out_active 
+007a 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+007b 20406042 call gpio_clr_wake 
 
 p_mouse_setgpio_hibernate_skip_public_gpio:
-0079 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-007a 20403f56 call mouse_gpio_config_input_pu 
-007b 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-007c d840003f arg gpcfg_output_high ,temp 
-007d 20406093 call gpio_config_function_int 
-007e 204000db call p_mouse_logo_led_on_timeout 
-007f 20203e36 branch mouse_setgpio_hibernate + 3 
+007c 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+007d 20403f56 call mouse_gpio_config_input_pu 
+007e 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+007f d840003f arg gpcfg_output_high ,temp 
+0080 20406093 call gpio_config_function_int 
+0081 204000df call p_mouse_logo_led_on_timeout 
+0082 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-0080 20403f88 call mouse_wheel_check 
-0081 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0082 d840003f arg gpcfg_output_high ,temp 
-0083 20406093 call gpio_config_function_int 
-0084 20203e44 branch mouse_lpm_before_common_next 
+0083 20403f88 call mouse_wheel_check 
+0084 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0085 d840003f arg gpcfg_output_high ,temp 
+0086 20406093 call gpio_config_function_int 
+0087 20203e44 branch mouse_lpm_before_common_next 
 
 p_mouse_priority_bb_event:
-0085 1a627e00 copy regc ,pdata 
-0086 c01d0089 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0087 c01e0097 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0088 20204336 branch mouse_priority_bb_event + 2 
+0088 1a627e00 copy regc ,pdata 
+0089 c01d008c beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+008a c01e009a beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+008b 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_fail:
-0089 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-008a 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
+008c 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+008d 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
 
 p_mouse_24g_attempt_fail_next:
-008b 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-008c c0010090 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-008d c0024844 beq pair_and_3_0_addr ,mouse_24g_auto_pair_attempt_fail 
-008e c001c849 beq receiver_and_3_0_addr ,mouse_reconn_dongle_attempt_fail 
-008f 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
+008e 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+008f c0010093 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+0090 c0024844 beq pair_and_3_0_addr ,mouse_24g_auto_pair_attempt_fail 
+0091 c001c849 beq receiver_and_3_0_addr ,mouse_reconn_dongle_attempt_fail 
+0092 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0090 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0091 c2978094 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-0092 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-0093 20204806 branch mouse_24g_reconn_dongle_start 
+0093 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0094 c2978097 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+0095 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+0096 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_auto_pair:
-0094 20400033 call p_g24_factory_check 
-0095 20344812 branch mouse_24g_start_auto_pair_next ,user 
-0096 20204806 branch mouse_24g_reconn_dongle_start 
+0097 20400036 call p_g24_factory_check 
+0098 20344812 branch mouse_24g_start_auto_pair_next ,user 
+0099 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_attempt_success:
-0097 6fe2483c fetch 4 ,mem_24g_addr 
-0098 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
-0099 98467c00 isub temp ,null 
-009a 2022809d branch p_mouse_24g_attempt_success_skip_store_addr ,zero 
-009b 67e24891 store 4 ,mem_24g_receiver_addr 
-009c 67e24993 store 4 ,mem_mouse_24g_addr 
+009a 6fe2483c fetch 4 ,mem_24g_addr 
+009b 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
+009c 98467c00 isub temp ,null 
+009d 202280a0 branch p_mouse_24g_attempt_success_skip_store_addr ,zero 
+009e 67e24891 store 4 ,mem_24g_receiver_addr 
+009f 67e24993 store 4 ,mem_mouse_24g_addr 
 
 p_mouse_24g_attempt_success_skip_store_addr:
-009d 204048c6 call mouse_device_poweron_timer_init 
-009e 2020484e branch mouse_24g_attempt_success 
+00a0 204048c6 call mouse_device_poweron_timer_init 
+00a1 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_motion:
-009f 78547c00 disable user 
-00a0 58000000 setarg 0 
-00a1 67e348d1 store 6 ,mem_mouse_x 
-00a2 20404240 call mouse_check_sensor_data 
-00a3 20403f7e call mouse_zwheel 
-00a4 20403f83 call mouse_t_zwheel 
-00a5 204040dc call mouse_key 
-00a6 6fe0c8d0 fetch 1 ,mem_mouse_key 
-00a7 1fe17e1f and_into 0x1f ,pdata 
-00a8 67e0c8d0 store 1 ,mem_mouse_key 
-00a9 243400ad nbranch p_mouse_motion_nodata ,user 
-00aa 2040471a call mouse_drawing_optima 
-00ab 204000b0 call p_mouse_logo_led_on_check 
-00ac 20204544 branch mouse_no_data_timer_init 
+00a2 78547c00 disable user 
+00a3 58000000 setarg 0 
+00a4 67e348d1 store 6 ,mem_mouse_x 
+00a5 20404240 call mouse_check_sensor_data 
+00a6 2040408e call mouse_dpi_config 
+00a7 20403f7e call mouse_zwheel 
+00a8 20403f83 call mouse_t_zwheel 
+00a9 204040dc call mouse_key 
+00aa 6fe0c8d0 fetch 1 ,mem_mouse_key 
+00ab 1fe17e1f and_into 0x1f ,pdata 
+00ac 67e0c8d0 store 1 ,mem_mouse_key 
+00ad 243400b1 nbranch p_mouse_motion_nodata ,user 
+00ae 2040471a call mouse_drawing_optima 
+00af 204000b4 call p_mouse_logo_led_on_check 
+00b0 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_motion_nodata:
-00ad 20404728 call mouse_drawing_optima_init 
-00ae 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
-00af 20600000 rtn 
+00b1 20404728 call mouse_drawing_optima_init 
+00b2 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
+00b3 20600000 rtn 
 
 p_mouse_logo_led_on_check:
-00b0 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
-00b1 1fe0fe01 increase 1 ,pdata 
-00b2 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
-00b3 1fe67c08 sub pdata ,low_voltage_led_count ,null 
-00b4 20610000 rtn positive 
+00b4 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
+00b5 1fe0fe01 increase 1 ,pdata 
+00b6 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
+00b7 1fe67c08 sub pdata ,low_voltage_led_count ,null 
+00b8 20610000 rtn positive 
 
 p_mouse_logo_led_on:
-00b5 58000258 setarg 0x0258 
-00b6 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-00b7 20600000 rtn 
+00b9 58000258 setarg 0x0258 
+00ba 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+00bb 20600000 rtn 
 
 p_mouse_seting_dpi:
-00b8 2040408f call mouse_setting_dpi_4_level 
-00b9 204000bb call p_mouse_dpi_led_blink_delay 
-00ba 20204098 branch mouse_seting_sensor_type 
+00bc 2040408f call mouse_setting_dpi_4_level 
+00bd 204000bf call p_mouse_dpi_led_blink_delay 
+00be 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-00bb 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-00bc c17f8000 rtneq gpio_disable 
-00bd 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-00be 247a0000 nrtn blank 
-00bf 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-00c0 247a0000 nrtn blank 
-00c1 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+00bf 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+00c0 c17f8000 rtneq gpio_disable 
+00c1 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
 00c2 247a0000 nrtn blank 
-00c3 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+00c3 6fe14883 fetch 2 ,mem_24g_pair_timeout 
 00c4 247a0000 nrtn blank 
-00c5 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-00c6 203a00e2 branch p_mouse_dpi_led_blink_init ,blank 
-00c7 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-00c8 20600000 rtn 
+00c5 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+00c6 247a0000 nrtn blank 
+00c7 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+00c8 247a0000 nrtn blank 
+00c9 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+00ca 203a00e6 branch p_mouse_dpi_led_blink_init ,blank 
+00cb 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+00cc 20600000 rtn 
 
 p_mouse_bb_event_timer:
-00c9 20403e9b call mouse_adc_read 
-00ca 20404956 call mouse_low_voltage_led_timer 
-00cb 2040232b call g24_pair_timeout_timer 
-00cc 20402556 call g24_reconn_timeout_timer 
-00cd 204047cd call mouse_24g_long_sleep_param_update_timer 
-00ce 204048be call mouse_device_poweron_timer 
-00cf 204000df call p_mouse_dpi_led_blink_delay_timer 
-00d0 204000d2 call p_mouse_logo_led_on_timer 
-00d1 202044bd branch mouse_bb_event_timer + 8 
+00cd 20403e9b call mouse_adc_read 
+00ce 20404956 call mouse_low_voltage_led_timer 
+00cf 2040232b call g24_pair_timeout_timer 
+00d0 20402556 call g24_reconn_timeout_timer 
+00d1 204047cd call mouse_24g_long_sleep_param_update_timer 
+00d2 204048be call mouse_device_poweron_timer 
+00d3 204000e3 call p_mouse_dpi_led_blink_delay_timer 
+00d4 204000d6 call p_mouse_logo_led_on_timer 
+00d5 202044bd branch mouse_bb_event_timer + 8 
 
 p_mouse_logo_led_on_timer:
-00d2 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
-00d3 c17f8000 rtneq gpio_disable 
-00d4 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
-00d5 207a0000 rtn blank 
-00d6 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-00d7 20406069 call gpio_out_active 
-00d8 da604be5 arg mem_mouse_logo_led_on_timer ,regc 
-00d9 da4000db arg p_mouse_logo_led_on_timeout ,regb 
-00da 20203191 branch timer_single_step_2b 
+00d6 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
+00d7 c17f8000 rtneq gpio_disable 
+00d8 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
+00d9 207a0000 rtn blank 
+00da 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+00db 20406069 call gpio_out_active 
+00dc da604be5 arg mem_mouse_logo_led_on_timer ,regc 
+00dd da4000df arg p_mouse_logo_led_on_timeout ,regb 
+00de 20203191 branch timer_single_step_2b 
 
 p_mouse_logo_led_on_timeout:
-00db 58000000 setarg 0 
-00dc 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-00dd 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-00de 20206065 branch gpio_out_inactive 
+00df 58000000 setarg 0 
+00e0 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+00e1 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+00e2 20206065 branch gpio_out_inactive 
 
 p_mouse_dpi_led_blink_delay_timer:
-00df da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-00e0 da4000e2 arg p_mouse_dpi_led_blink_init ,regb 
-00e1 2020318a branch timer_single_step 
+00e3 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+00e4 da4000e6 arg p_mouse_dpi_led_blink_init ,regb 
+00e5 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-00e2 6fe0c927 fetch 1 ,mem_config_sensor_type 
-00e3 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-00e4 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-00e5 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-00e6 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-00e7 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-00e8 67e14930 store 2 ,mem_mouse_on_time 
-00e9 67e14932 store 2 ,mem_mouse_off_time 
-00ea da200000 arg 0 ,rega 
-00eb 6848c992 fetcht 1 ,mem_mouse_dpi 
-00ec 18408402 increase 2 ,temp 
-00ed 18467c03 sub temp ,3 ,null 
-00ee 204100f1 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-00ef 244100f5 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-00f0 202048ff branch mouse_dpi_led_blink_init_end 
+00e6 6fe0c927 fetch 1 ,mem_config_sensor_type 
+00e7 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+00e8 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+00e9 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+00ea 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+00eb 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+00ec 67e14930 store 2 ,mem_mouse_on_time 
+00ed 67e14932 store 2 ,mem_mouse_off_time 
+00ee da200000 arg 0 ,rega 
+00ef 6848c992 fetcht 1 ,mem_mouse_dpi 
+00f0 18408402 increase 2 ,temp 
+00f1 18467c03 sub temp ,3 ,null 
+00f2 204100f5 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+00f3 244100f9 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+00f4 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-00f1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00f2 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-00f3 18408401 increase 1 ,temp 
-00f4 20600000 rtn 
+00f5 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00f6 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+00f7 18408401 increase 1 ,temp 
+00f8 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-00f5 184085fd increase -3 ,temp 
-00f6 20600000 rtn 
+00f9 184085fd increase -3 ,temp 
+00fa 20600000 rtn 
 
 p_spid_init:
-00f7 70448476 jam 0x76 ,mem_spi_init_clk 
-00f8 20205cb6 branch spid_init_common 
+00fb 70448476 jam 0x76 ,mem_spi_init_clk 
+00fc 20205cb6 branch spid_init_common 
 
 p_txon:
-00f9 6fe0c1e8 fetch 1 ,mem_tx_power 
-00fa c04f80fc beq tx_power_pair ,p_set_tx_power_pair 
-00fb 2020121f branch txon_next 
+00fd 6fe0c1e8 fetch 1 ,mem_tx_power 
+00fe c04f8100 beq tx_power_pair ,p_set_tx_power_pair 
+00ff 2020121f branch txon_next 
 
 p_set_tx_power_pair:
-00fc 708a3905 jam 0x05 ,core_tx_pwr_ctrl0 
-00fd 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
-00fe 2020122a branch set_rf_ldo_cfg89 
+0100 708a3905 jam 0x05 ,core_tx_pwr_ctrl0 
+0101 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
+0102 2020122a branch set_rf_ldo_cfg89 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-892W_Only2.4G_LRpair/program/patch.prog	(revision 507)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-892W_Only2.4G_LRpair/program/patch.prog	(working copy)
@@ -31,7 +31,10 @@
 	call p_mouse_wheel_set_wakeup
 	call p_mouse_setting_config
 //	call p_lpm_write_ice_disable
-	branch mouse_init+1
+	call mouse_init_sunt
+	rtn wake
+	call mouse_dpi_config
+	branch mouse_init+4
 
 p_mouse_wheel_set_wakeup:
 	fetch 1,mem_sensor_shutdown_flag
@@ -235,6 +238,7 @@
 	setarg 0
 	store 6,mem_mouse_x
 	call mouse_check_sensor_data
+	call mouse_dpi_config
 	call mouse_zwheel
 	call mouse_t_zwheel
 	call mouse_key
