Index: output/eeprom.dat
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/eeprom.dat	(revision 2349)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-32
+1e
 13
 c2
 84
@@ -11,7 +11,7 @@
 c0
 00
 02
-d2
+ce
 c0
 01
 00
@@ -55,11 +55,11 @@
 c0
 34
 82
-e3
+df
 c0
 35
 02
-df
+db
 c0
 36
 02
@@ -67,15 +67,15 @@
 c0
 37
 03
-b1
+ad
 c0
 37
 83
-b7
+b3
 c0
 39
 84
-0e
+09
 c0
 3a
 02
@@ -83,35 +83,35 @@
 c0
 3d
 04
-8d
+88
 c0
 3d
 84
-65
+60
 c0
 3e
 04
-73
+6e
 c0
 3e
 84
-75
+70
 c0
 3f
 83
-ee
+ea
 c0
 40
 84
-4d
+48
 c0
 42
 02
-f6
+f2
 c0
 42
 83
-54
+50
 c0
 43
 02
@@ -119,35 +119,35 @@
 c0
 43
 83
-32
+2e
 c0
 44
 03
-52
+4e
 c0
 45
 03
-07
+03
 c0
 45
 82
-e5
+e1
 c0
 47
 03
-d8
+d4
 c0
 48
 04
-36
+31
 c0
 4a
 84
-05
+00
 c0
 4b
 04
-1f
+1a
 c0
 58
 80
@@ -211,7 +211,7 @@
 c0
 4b
 03
-f9
+f5
 c0
 4d
 01
@@ -2251,7 +2251,7 @@
 20
 40
 04
-2b
+26
 20
 20
 5b
@@ -2342,8 +2342,8 @@
 44
 20
 40
-04
-00
+03
+fb
 70
 4b
 1d
@@ -2398,8 +2398,8 @@
 25
 6f
 e0
-cb
-1e
+c6
+02
 20
 7a
 00
@@ -2866,8 +2866,8 @@
 f8
 58
 00
-02
-ce
+62
+2b
 67
 e1
 45
@@ -2876,22 +2876,6 @@
 20
 53
 f3
-20
-40
-36
-b4
-24
-74
-00
-00
-70
-4b
-1e
-01
-20
-20
-62
-2d
 24
 35
 a0
@@ -2911,7 +2895,7 @@
 20
 55
 82
-d8
+d4
 20
 20
 20
@@ -2934,8 +2918,8 @@
 dd
 6f
 e0
-cb
-1e
+c6
+02
 20
 7a
 00
@@ -2963,7 +2947,7 @@
 20
 40
 03
-d2
+ce
 20
 40
 5d
@@ -2971,7 +2955,7 @@
 20
 40
 02
-ef
+eb
 6f
 e1
 46
@@ -2987,7 +2971,7 @@
 20
 22
 82
-f4
+f0
 60
 49
 46
@@ -3031,7 +3015,7 @@
 20
 40
 02
-f8
+f4
 20
 20
 5c
@@ -3039,7 +3023,7 @@
 20
 40
 02
-f8
+f4
 20
 20
 5a
@@ -3055,11 +3039,11 @@
 c0
 00
 82
-fd
+f9
 c0
 01
-03
 02
+fe
 20
 60
 00
@@ -3123,11 +3107,11 @@
 20
 40
 03
-0e
+0a
 20
 40
 03
-1c
+18
 20
 20
 5c
@@ -3183,7 +3167,7 @@
 c2
 00
 03
-16
+12
 20
 60
 00
@@ -3227,11 +3211,11 @@
 c0
 00
 83
-28
+24
 c0
 01
 03
-2d
+29
 20
 60
 00
@@ -3279,7 +3263,7 @@
 20
 40
 03
-48
+44
 20
 40
 61
@@ -3351,7 +3335,7 @@
 20
 40
 03
-4b
+47
 20
 40
 56
@@ -3383,7 +3367,7 @@
 da
 40
 03
-4e
+4a
 20
 20
 42
@@ -3419,31 +3403,31 @@
 c0
 20
 03
-69
+65
 c0
 0a
 83
-6e
+6a
 c0
 19
 03
-60
+5c
 c0
 1e
 03
-8c
+88
 c0
 1c
 83
-9d
+99
 c0
 1d
 03
-a0
+9c
 c0
 0a
 03
-5d
+59
 20
 20
 5a
@@ -3467,7 +3451,7 @@
 c0
 00
 83
-64
+60
 70
 48
 44
@@ -3475,7 +3459,7 @@
 20
 20
 03
-66
+62
 20
 40
 5a
@@ -3551,7 +3535,7 @@
 c2
 8d
 83
-78
+74
 d8
 40
 00
@@ -3579,7 +3563,7 @@
 20
 20
 03
-7e
+7a
 20
 40
 5b
@@ -3591,7 +3575,7 @@
 c2
 83
 83
-83
+7f
 c2
 80
 42
@@ -3699,7 +3683,7 @@
 20
 40
 03
-d5
+d1
 20
 20
 60
@@ -3711,7 +3695,7 @@
 20
 40
 03
-d5
+d1
 20
 20
 60
@@ -3723,7 +3707,7 @@
 20
 40
 03
-d5
+d1
 6f
 e0
 c8
@@ -3747,7 +3731,7 @@
 c0
 02
 03
-aa
+a6
 c0
 00
 e0
@@ -3791,7 +3775,7 @@
 c2
 9f
 03
-bf
+bb
 6f
 e0
 c6
@@ -3799,7 +3783,7 @@
 c0
 00
 03
-ca
+c6
 20
 40
 61
@@ -3847,7 +3831,7 @@
 20
 34
 03
-c6
+c2
 70
 46
 66
@@ -3883,7 +3867,7 @@
 20
 20
 03
-ae
+aa
 6f
 e4
 47
@@ -3911,7 +3895,7 @@
 c2
 98
 03
-c1
+bd
 20
 20
 60
@@ -3951,7 +3935,7 @@
 20
 40
 03
-dc
+d8
 20
 20
 5e
@@ -3979,7 +3963,7 @@
 20
 40
 03
-e3
+df
 20
 20
 56
@@ -4007,7 +3991,7 @@
 c0
 7f
 83
-ea
+e6
 20
 20
 56
@@ -4027,7 +4011,7 @@
 20
 20
 03
-ee
+ea
 1a
 62
 7e
@@ -4086,12 +4070,8 @@
 be
 20
 40
-04
-00
-70
-4b
-1e
-00
+03
+fb
 6f
 e1
 c6
@@ -4154,16 +4134,16 @@
 ed
 20
 20
-02
-ce
+62
+2b
 20
 40
 5a
 92
 20
 40
-04
-00
+03
+fb
 20
 40
 56
@@ -4208,14 +4188,14 @@
 40
 55
 b5
+70
+46
+02
+01
 20
 40
 61
 1a
-70
-4b
-1e
-01
 20
 40
 02
@@ -4247,7 +4227,7 @@
 24
 5a
 04
-34
+2f
 6f
 e4
 47
@@ -4255,7 +4235,7 @@
 c3
 0b
 04
-29
+24
 6f
 e0
 c9
@@ -4267,7 +4247,7 @@
 20
 40
 04
-2b
+26
 20
 20
 60
@@ -4310,8 +4290,8 @@
 73
 20
 40
-04
-00
+03
+fb
 20
 20
 02
@@ -4327,7 +4307,7 @@
 c3
 1f
 84
-46
+41
 68
 48
 c6
@@ -4339,7 +4319,7 @@
 20
 40
 04
-40
+3b
 68
 48
 c6
@@ -4415,7 +4395,7 @@
 c0
 18
 04
-5a
+55
 c0
 18
 d9
@@ -4423,7 +4403,7 @@
 c0
 2c
 04
-52
+4d
 20
 20
 59
@@ -4439,11 +4419,11 @@
 c0
 2b
 84
-5e
+59
 c0
 2c
 84
-57
+52
 20
 20
 59
@@ -4471,7 +4451,7 @@
 c0
 60
 04
-61
+5c
 20
 20
 59
@@ -4519,7 +4499,7 @@
 c0
 06
 84
-6a
+65
 20
 20
 56
@@ -4563,7 +4543,7 @@
 20
 40
 04
-6f
+6a
 20
 40
 61
@@ -4579,7 +4559,7 @@
 c0
 06
 04
-79
+74
 20
 20
 57
@@ -4619,7 +4599,7 @@
 c0
 05
 84
-83
+7e
 20
 20
 59
@@ -4635,7 +4615,7 @@
 c0
 7f
 84
-89
+84
 68
 48
 c6
@@ -4679,7 +4659,7 @@
 20
 40
 04
-7e
+79
 58
 00
 00
@@ -4703,7 +4683,7 @@
 20
 40
 04
-98
+93
 20
 20
 56
@@ -4735,7 +4715,7 @@
 20
 40
 04
-a0
+9b
 20
 20
 57
@@ -4771,7 +4751,7 @@
 20
 22
 84
-b2
+ad
 6f
 e0
 c6
@@ -4783,7 +4763,7 @@
 20
 22
 84
-b8
+b3
 68
 48
 c6
@@ -4799,7 +4779,7 @@
 20
 22
 84
-c1
+bc
 20
 40
 57
@@ -4807,7 +4787,7 @@
 20
 40
 04
-c6
+c1
 20
 20
 57
@@ -4835,7 +4815,7 @@
 20
 20
 04
-c2
+bd
 68
 48
 c6
@@ -4851,23 +4831,23 @@
 20
 22
 84
-be
+b9
 20
 40
 04
-c8
+c3
 20
 20
 04
-b0
+ab
 20
 40
 04
-c8
+c3
 20
 40
 04
-c4
+bf
 20
 20
 57
@@ -4875,11 +4855,11 @@
 20
 40
 04
-c4
+bf
 20
 40
 04
-ca
+c5
 20
 20
 57
@@ -4916,8 +4896,8 @@
 20
 57
 ff
-5b
-06
+d0
+a8
 aa
 55
 40
@@ -6163,8 +6143,8 @@
 55
 a9
 60
-87
-7a
+e2
+ca
 ff
 ff
 ff
@@ -8188,5 +8168,25 @@
 ff
 ff
 ff
-e4
-3f
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+9e
+68
Index: output/program.lis
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/program.lis	(revision 2349)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/program.lis	(working copy)
@@ -1,7 +1,7 @@
               include "bt_format "
               org 0x0000
 0000 c284002a bbit1 8 ,pf_patch_ext 
-0001 c00002d2 beq patch00_0 ,p_soft_reset 
+0001 c00002ce beq patch00_0 ,p_soft_reset 
 0002 c0010039 beq patch00_2 ,p_main_loop 
 0003 c0080042 beq patch02_0 ,p_shutdown_radio 
 0004 c0088044 beq patch02_1 ,p_set_sync_on 
@@ -12,30 +12,30 @@
 0009 c00d0052 beq patch03_2 ,p_initialize_radio_cont 
 000a c0128250 beq patch04_5 ,p_lpm_sleep 
 000b c03402c9 beq patch0d_0 ,p_mouse_cb_fuction 
-000c c03482e3 beq patch0d_1 ,p_mouse_load_device_info_check 
-000d c03502df beq patch0d_2 ,p_mouse_default_init 
+000c c03482df beq patch0d_1 ,p_mouse_load_device_info_check 
+000d c03502db beq patch0d_2 ,p_mouse_default_init 
 000e c036028d beq patch0d_4 ,p_mouse_param_init 
-000f c03703b1 beq patch0d_6 ,p_mouse_start_work 
-0010 c03783b7 beq patch0d_7 ,p_mouse_start_reconnect_device 
-0011 c039840e beq patch0e_3 ,p_mouse_setgpio_hibernate 
+000f c03703ad beq patch0d_6 ,p_mouse_start_work 
+0010 c03783b3 beq patch0d_7 ,p_mouse_start_reconnect_device 
+0011 c0398409 beq patch0e_3 ,p_mouse_setgpio_hibernate 
 0012 c03a0248 beq patch0e_4 ,p_mouse_lpm_before_common 
-0013 c03d048d beq patch0f_2 ,p_mouse_motion 
-0014 c03d8465 beq patch0f_3 ,p_mouse_dpi_process 
-0015 c03e0473 beq patch0f_4 ,p_mouse_setting_dpi 
-0016 c03e8475 beq patch0f_5 ,p_mouse_setting_sensor_type 
-0017 c03f83ee beq patch0f_7 ,p_mouse_3io6key_check 
-0018 c040844d beq patch10_1 ,p_mouse_init_sensor 
-0019 c04202f6 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
-001a c0428354 beq patch10_5 ,p_mouse_priority_bb_event 
+0013 c03d0488 beq patch0f_2 ,p_mouse_motion 
+0014 c03d8460 beq patch0f_3 ,p_mouse_dpi_process 
+0015 c03e046e beq patch0f_4 ,p_mouse_setting_dpi 
+0016 c03e8470 beq patch0f_5 ,p_mouse_setting_sensor_type 
+0017 c03f83ea beq patch0f_7 ,p_mouse_3io6key_check 
+0018 c0408448 beq patch10_1 ,p_mouse_init_sensor 
+0019 c04202f2 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
+001a c0428350 beq patch10_5 ,p_mouse_priority_bb_event 
 001b c043021b beq patch10_6 ,p_mouse_le 
-001c c0438332 beq patch10_7 ,p_mouse_bb_event_timer 
-001d c0440352 beq patch11_0 ,p_mouse_start_discovery 
-001e c0450307 beq patch11_2 ,p_mouse_store_remote_bdaddr 
-001f c04582e5 beq patch11_3 ,p_mouse_app_initflag_check 
-0020 c04703d8 beq patch11_6 ,p_mouse_idle 
-0021 c0480436 beq patch12_0 ,p_mouse_check_select_device_by_switch 
-0022 c04a8405 beq patch12_5 ,p_mouse_24g_hibernate_set 
-0023 c04b041f beq patch12_6 ,p_mouse_24g_package_data 
+001c c043832e beq patch10_7 ,p_mouse_bb_event_timer 
+001d c044034e beq patch11_0 ,p_mouse_start_discovery 
+001e c0450303 beq patch11_2 ,p_mouse_store_remote_bdaddr 
+001f c04582e1 beq patch11_3 ,p_mouse_app_initflag_check 
+0020 c04703d4 beq patch11_6 ,p_mouse_idle 
+0021 c0480431 beq patch12_0 ,p_mouse_check_select_device_by_switch 
+0022 c04a8400 beq patch12_5 ,p_mouse_24g_hibernate_set 
+0023 c04b041a beq patch12_6 ,p_mouse_24g_package_data 
 0024 c058809d beq patch16_1 ,p_app_init 
 0025 c0628273 beq patch18_5 ,p_otp_read_data 
 0026 c06a823a beq patch1a_5 ,p_gpio_set_wake_by_current_state 
@@ -53,7 +53,7 @@
 0030 c02601f1 beq patch29_4 ,p_le_adv_not_match 
 0031 c02681ef beq patch29_5 ,p_le_init_adv 
 0032 c0480276 beq patch32_0 ,p_g24_reconn_dispatch 
-0033 c04b03f9 beq patch32_6 ,p_g24_short_sleep 
+0033 c04b03f5 beq patch32_6 ,p_g24_short_sleep 
 0034 c04d011b beq patch33_2 ,p_mouse_g24_retransmit 
 0035 c04e8122 beq patch33_5 ,p_g24_transmit_hop_process 
 0036 c04f829a beq patch33_7 ,p_power_ctrl_start 
@@ -695,7 +695,7 @@
 022e 20405ab2 call mouse_check_125hz 
 022f 24740000 nrtn user 
 0230 20405abc call mouse_current_mult_update 
-0231 2040042b call p_mouse_data_xy_release 
+0231 20400426 call p_mouse_data_xy_release 
 0232 20205b37 branch mouse_le_next + 12 
 
 p_gpio_set_wake:
@@ -736,7 +736,7 @@
 0247 20200244 branch p_mouse_puchk_set 
 
 p_mouse_lpm_before_common:
-0248 20400400 call p_clear_wake 
+0248 204003fb call p_clear_wake 
 0249 704b1d00 jam 0 ,mem_mouse_qdec_set_flag 
 024a 2040550d call mouse_lpm_before_common + 1 
 024b 204054f9 call mouse_gpio_pd_idle 
@@ -758,7 +758,7 @@
 0255 20202425 branch lpm_sleep_skip_cb_function + 4 
 
 p_mouse_puchk_set_check:
-0256 6fe0cb1e fetch 1 ,mem_mouse_lpm_puchk_flag 
+0256 6fe0c602 fetch 1 ,mem_24g_abort_pac 
 0257 207a0000 rtn blank 
 0258 6fe0cb1d fetch 1 ,mem_mouse_qdec_set_flag 
 0259 203a0243 branch p_mouse_puchk_disable ,blank 
@@ -919,709 +919,702 @@
 p_mouse_cb_fuction:
 02c9 58006235 setarg mouse_24g_short_sleep 
 02ca 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
-02cb 580002ce setarg p_mouse_24g_long_sleep 
+02cb 5800622b setarg mouse_24g_long_sleep 
 02cc 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
 02cd 202053f3 branch mouse_cb_fuction + 7 
 
-p_mouse_24g_long_sleep:
-02ce 204036b4 call g24_lpm_wait 
-02cf 24740000 nrtn user 
-02d0 704b1e01 jam 1 ,mem_mouse_lpm_puchk_flag 
-02d1 2020622d branch mouse_24g_long_sleep + 2 
-
 p_soft_reset:
-02d2 2435a002 nbranch soft_reset + 1 ,wake 
-02d3 37d98200 until null ,lpo_edge 
-02d4 37d98200 until null ,lpo_edge 
-02d5 20800000 clear_stack 
-02d6 205582d8 call p_mouse_wheel_init_set ,wake 
-02d7 20202003 branch soft_reset + 2 
+02ce 2435a002 nbranch soft_reset + 1 ,wake 
+02cf 37d98200 until null ,lpo_edge 
+02d0 37d98200 until null ,lpo_edge 
+02d1 20800000 clear_stack 
+02d2 205582d4 call p_mouse_wheel_init_set ,wake 
+02d3 20202003 branch soft_reset + 2 
 
 p_mouse_wheel_init_set:
-02d8 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-02d9 20406edd call gpio_config_input 
-02da 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-02db 20406edd call gpio_config_input 
+02d4 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+02d5 20406edd call gpio_config_input 
+02d6 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
+02d7 20406edd call gpio_config_input 
 
 p_mouse_puchk_disable_check:
-02dc 6fe0cb1e fetch 1 ,mem_mouse_lpm_puchk_flag 
-02dd 207a0000 rtn blank 
-02de 20200243 branch p_mouse_puchk_disable 
+02d8 6fe0c602 fetch 1 ,mem_24g_abort_pac 
+02d9 207a0000 rtn blank 
+02da 20200243 branch p_mouse_puchk_disable 
 
 p_mouse_default_init:
-02df 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02e0 2feffe16 isolate1 mouse_enable_keyboard ,pdata 
-02e1 2040df08 call mouse_customer_key_enable ,true 
-02e2 2020542c branch mouse_default_parm_init 
+02db 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02dc 2feffe16 isolate1 mouse_enable_keyboard ,pdata 
+02dd 2040df08 call mouse_customer_key_enable ,true 
+02de 2020542c branch mouse_default_parm_init 
 
 p_mouse_load_device_info_check:
-02e3 204003d2 call p_mouse_store_normal_tx_power 
-02e4 20405d60 call mouse_load_eeprom_info_check 
+02df 204003ce call p_mouse_store_normal_tx_power 
+02e0 20405d60 call mouse_load_eeprom_info_check 
 
 p_mouse_app_initflag_check:
-02e5 204002ef call p_mouse_load_device_flag_check 
-02e6 6fe1468e fetch 2 ,mem_store_flag 
-02e7 d840aa55 arg eeprom_init_flag ,temp 
-02e8 98467c00 isub temp ,null 
-02e9 202282f4 branch p_mouse_load_device_info ,zero 
-02ea 6049468e storet 2 ,mem_store_flag 
-02eb 20405c9c call mouse_ble_init_address 
-02ec 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
-02ed 67e0c666 store 1 ,mem_device_flag 
-02ee 20205c8c branch mouse_load_default_dpi 
+02e1 204002eb call p_mouse_load_device_flag_check 
+02e2 6fe1468e fetch 2 ,mem_store_flag 
+02e3 d840aa55 arg eeprom_init_flag ,temp 
+02e4 98467c00 isub temp ,null 
+02e5 202282f0 branch p_mouse_load_device_info ,zero 
+02e6 6049468e storet 2 ,mem_store_flag 
+02e7 20405c9c call mouse_ble_init_address 
+02e8 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
+02e9 67e0c666 store 1 ,mem_device_flag 
+02ea 20205c8c branch mouse_load_default_dpi 
 
 p_mouse_load_device_flag_check:
-02ef 6fe0c666 fetch 1 ,mem_device_flag 
-02f0 1fe67c03 sub pdata ,3 ,null 
-02f1 20610000 rtn positive 
-02f2 70466600 jam mode_24g_device ,mem_device_flag 
-02f3 20600000 rtn 
+02eb 6fe0c666 fetch 1 ,mem_device_flag 
+02ec 1fe67c03 sub pdata ,3 ,null 
+02ed 20610000 rtn positive 
+02ee 70466600 jam mode_24g_device ,mem_device_flag 
+02ef 20600000 rtn 
 
 p_mouse_load_device_info:
-02f4 204002f8 call p_mouse_select_reconn_device 
-02f5 20205c90 branch mouse_load_device_info + 1 
+02f0 204002f4 call p_mouse_select_reconn_device 
+02f1 20205c90 branch mouse_load_device_info + 1 
 
 p_mouse_buletooth_fast_conn_end:
-02f6 204002f8 call p_mouse_select_reconn_device 
-02f7 20205a9c branch mouse_buletooth_fast_conn_end + 2 
+02f2 204002f4 call p_mouse_select_reconn_device 
+02f3 20205a9c branch mouse_buletooth_fast_conn_end + 2 
 
 p_mouse_select_reconn_device:
-02f8 6fe0c666 fetch 1 ,mem_device_flag 
-02f9 c1000000 rtneq mode_24g_device 
-02fa c00082fd beq mode_bt_device1 ,p_mouse_load_le_device1 
-02fb c0010302 beq mode_bt_device2 ,p_mouse_load_le_device2 
-02fc 20600000 rtn 
+02f4 6fe0c666 fetch 1 ,mem_device_flag 
+02f5 c1000000 rtneq mode_24g_device 
+02f6 c00082f9 beq mode_bt_device1 ,p_mouse_load_le_device1 
+02f7 c00102fe beq mode_bt_device2 ,p_mouse_load_le_device2 
+02f8 20600000 rtn 
 
 p_mouse_load_le_device1:
-02fd 6fe34668 fetch 6 ,mem_device1_addr 
-02fe 67e34116 store 6 ,mem_hci_plap 
-02ff 6fe3466e fetch 6 ,mem_device1_locall_addr 
-0300 67e342db store 6 ,mem_le_lap 
-0301 20600000 rtn 
+02f9 6fe34668 fetch 6 ,mem_device1_addr 
+02fa 67e34116 store 6 ,mem_hci_plap 
+02fb 6fe3466e fetch 6 ,mem_device1_locall_addr 
+02fc 67e342db store 6 ,mem_le_lap 
+02fd 20600000 rtn 
 
 p_mouse_load_le_device2:
-0302 6fe34675 fetch 6 ,mem_device2_addr 
-0303 67e34116 store 6 ,mem_hci_plap 
-0304 6fe3467b fetch 6 ,mem_device2_locall_addr 
-0305 67e342db store 6 ,mem_le_lap 
-0306 20600000 rtn 
+02fe 6fe34675 fetch 6 ,mem_device2_addr 
+02ff 67e34116 store 6 ,mem_hci_plap 
+0300 6fe3467b fetch 6 ,mem_device2_locall_addr 
+0301 67e342db store 6 ,mem_le_lap 
+0302 20600000 rtn 
 
 p_mouse_store_remote_bdaddr:
-0307 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0308 c4010000 rtnbit0 mouse_store_eeprom_flag 
-0309 d8e00002 arg mouse_store_eeprom_flag ,queue 
-030a 20405f04 call mouse_disable_function_flag 
-030b 2040030e call p_mouse_check_device_addr 
-030c 2040031c call p_mouse_before_store_reconn_info 
-030d 20205ca3 branch mouse_store_device_info_delay 
+0303 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0304 c4010000 rtnbit0 mouse_store_eeprom_flag 
+0305 d8e00002 arg mouse_store_eeprom_flag ,queue 
+0306 20405f04 call mouse_disable_function_flag 
+0307 2040030a call p_mouse_check_device_addr 
+0308 20400318 call p_mouse_before_store_reconn_info 
+0309 20205ca3 branch mouse_store_device_info_delay 
 
 p_mouse_check_device_addr:
-030e 6fe08032 fetch 1 ,mem_record_bt_mode 
-030f c19a0000 rtnne rec_4_mode 
-0310 67e0c95a store 1 ,mem_device_addr_temp 
-0311 6fe30178 fetch 6 ,mem_le_plap 
-0312 67e3495b store 6 ,mem_device_addr_temp + 1 
-0313 6fe3c95a fetch 7 ,mem_device_addr_temp 
-0314 d8c04667 arg mem_device1_type ,contr 
-0315 df200003 arg 3 ,loopcnt 
+030a 6fe08032 fetch 1 ,mem_record_bt_mode 
+030b c19a0000 rtnne rec_4_mode 
+030c 67e0c95a store 1 ,mem_device_addr_temp 
+030d 6fe30178 fetch 6 ,mem_le_plap 
+030e 67e3495b store 6 ,mem_device_addr_temp + 1 
+030f 6fe3c95a fetch 7 ,mem_device_addr_temp 
+0310 d8c04667 arg mem_device1_type ,contr 
+0311 df200003 arg 3 ,loopcnt 
 
 p_mouse_check_device_addr_end:
-0316 e8438006 ifetcht 7 ,contr 
-0317 98467c00 isub temp ,null 
-0318 2022dc69 branch mouse_clean_addr ,zero 
-0319 18c08c07 increase 7 ,contr 
-031a c2000316 loop p_mouse_check_device_addr_end 
-031b 20600000 rtn 
+0312 e8438006 ifetcht 7 ,contr 
+0313 98467c00 isub temp ,null 
+0314 2022dc69 branch mouse_clean_addr ,zero 
+0315 18c08c07 increase 7 ,contr 
+0316 c2000312 loop p_mouse_check_device_addr_end 
+0317 20600000 rtn 
 
 p_mouse_before_store_reconn_info:
-031c da204667 arg mem_device1_type ,rega 
-031d 6fe0c666 fetch 1 ,mem_device_flag 
-031e 1fe0ffff increase -1 ,pdata 
-031f 1feffe0d mul32 pdata ,13 ,pdata 
-0320 9a20a200 iadd rega ,rega 
-0321 6fe08032 fetch 1 ,mem_record_bt_mode 
-0322 e7e08011 istore 1 ,rega 
-0323 c19a0000 rtnne rec_4_mode 
-0324 6fe0c666 fetch 1 ,mem_device_flag 
-0325 c0008328 beq mode_bt_device1 ,p_mouse_store_le_device1 
-0326 c001032d beq mode_bt_device2 ,p_mouse_store_le_device2 
-0327 20600000 rtn 
+0318 da204667 arg mem_device1_type ,rega 
+0319 6fe0c666 fetch 1 ,mem_device_flag 
+031a 1fe0ffff increase -1 ,pdata 
+031b 1feffe0d mul32 pdata ,13 ,pdata 
+031c 9a20a200 iadd rega ,rega 
+031d 6fe08032 fetch 1 ,mem_record_bt_mode 
+031e e7e08011 istore 1 ,rega 
+031f c19a0000 rtnne rec_4_mode 
+0320 6fe0c666 fetch 1 ,mem_device_flag 
+0321 c0008324 beq mode_bt_device1 ,p_mouse_store_le_device1 
+0322 c0010329 beq mode_bt_device2 ,p_mouse_store_le_device2 
+0323 20600000 rtn 
 
 p_mouse_store_le_device1:
-0328 6fe30178 fetch 6 ,mem_le_plap 
-0329 67e34668 store 6 ,mem_device1_addr 
-032a 6fe342db fetch 6 ,mem_le_lap 
-032b 67e3466e store 6 ,mem_device1_locall_addr 
-032c 20600000 rtn 
+0324 6fe30178 fetch 6 ,mem_le_plap 
+0325 67e34668 store 6 ,mem_device1_addr 
+0326 6fe342db fetch 6 ,mem_le_lap 
+0327 67e3466e store 6 ,mem_device1_locall_addr 
+0328 20600000 rtn 
 
 p_mouse_store_le_device2:
-032d 6fe30178 fetch 6 ,mem_le_plap 
-032e 67e34675 store 6 ,mem_device2_addr 
-032f 6fe342db fetch 6 ,mem_le_lap 
-0330 67e3467b store 6 ,mem_device2_locall_addr 
-0331 20600000 rtn 
+0329 6fe30178 fetch 6 ,mem_le_plap 
+032a 67e34675 store 6 ,mem_device2_addr 
+032b 6fe342db fetch 6 ,mem_le_lap 
+032c 67e3467b store 6 ,mem_device2_locall_addr 
+032d 20600000 rtn 
 
 p_mouse_bb_event_timer:
-0332 20400348 call p_mouse_le_send_conn_param_update_timer 
-0333 2040614d call mouse_low_voltage_led_timer 
-0334 2040553d call mouse_adc_read 
-0335 20406110 call mouse_logo_led_on_timer 
-0336 204061b1 call mouse_led_multi_timer 
-0337 2040611e call mouse_dpi_led_blink_delay_timer 
-0338 2040328e call g24_pair_timeout_timer 
-0339 20403531 call g24_reconn_timeout_timer 
-033a 20405fdd call mouse_24g_long_sleep_param_update_timer 
-033b 2040572c call mouse_dpi_key_check_long_press 
-033c 20405b9b call mouse_bt_discovery_check 
-033d 20405bab call mouse_commbination_key_process 
-033e 20405bce call mouse_check_discovery_timeout_timer 
-033f 20405bd3 call mouse_check_direct_timeout_timer 
-0340 20405be1 call mouse_le_enable_att_list_timer 
-0341 20405bee call mouse_le_battery_updata_timer 
-0342 20405be4 call mouse_le_send_smp_security_request_timer 
-0343 20405bfb call mouse_check_reconnect_delay_long_sleep 
-0344 2040034b call p_mouse_current_mult_update_timer 
-0345 204056b6 call mouse_wheel_trigger_timer 
-0346 20405c0e call mouse_store_information_delay_timer 
-0347 20205c05 branch mouse_check_no_data_timeout_timer 
+032e 20400344 call p_mouse_le_send_conn_param_update_timer 
+032f 2040614d call mouse_low_voltage_led_timer 
+0330 2040553d call mouse_adc_read 
+0331 20406110 call mouse_logo_led_on_timer 
+0332 204061b1 call mouse_led_multi_timer 
+0333 2040611e call mouse_dpi_led_blink_delay_timer 
+0334 2040328e call g24_pair_timeout_timer 
+0335 20403531 call g24_reconn_timeout_timer 
+0336 20405fdd call mouse_24g_long_sleep_param_update_timer 
+0337 2040572c call mouse_dpi_key_check_long_press 
+0338 20405b9b call mouse_bt_discovery_check 
+0339 20405bab call mouse_commbination_key_process 
+033a 20405bce call mouse_check_discovery_timeout_timer 
+033b 20405bd3 call mouse_check_direct_timeout_timer 
+033c 20405be1 call mouse_le_enable_att_list_timer 
+033d 20405bee call mouse_le_battery_updata_timer 
+033e 20405be4 call mouse_le_send_smp_security_request_timer 
+033f 20405bfb call mouse_check_reconnect_delay_long_sleep 
+0340 20400347 call p_mouse_current_mult_update_timer 
+0341 204056b6 call mouse_wheel_trigger_timer 
+0342 20405c0e call mouse_store_information_delay_timer 
+0343 20205c05 branch mouse_check_no_data_timeout_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-0348 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-0349 da405aef arg mouse_updata_le_param ,regb 
-034a 202042e0 branch timer_single_step 
+0344 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+0345 da405aef arg mouse_updata_le_param ,regb 
+0346 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_update_timer:
-034b da60477e arg mem_mouse_current_mult_timer ,regc 
-034c da40034e arg p_mouse_current_mult_reinit ,regb 
-034d 202042e0 branch timer_single_step 
+0347 da60477e arg mem_mouse_current_mult_timer ,regc 
+0348 da40034a arg p_mouse_current_mult_reinit ,regb 
+0349 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_reinit:
-034e 6fe0c96b fetch 1 ,mem_lpm_mult_init 
-034f 67e0c0c0 store 1 ,mem_lpm_mult 
-0350 70477d03 jam 3 ,mem_mouse_long_mult_flag 
-0351 20600000 rtn 
+034a 6fe0c96b fetch 1 ,mem_lpm_mult_init 
+034b 67e0c0c0 store 1 ,mem_lpm_mult 
+034c 70477d03 jam 3 ,mem_mouse_long_mult_flag 
+034d 20600000 rtn 
 
 p_mouse_start_discovery:
-0352 204059ed call mouse_sensor_powerdown 
-0353 20205c1b branch mouse_start_discovery + 1 
+034e 204059ed call mouse_sensor_powerdown 
+034f 20205c1b branch mouse_start_discovery + 1 
 
 p_mouse_priority_bb_event:
-0354 1a627e00 copy regc ,pdata 
-0355 c0200369 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0356 c00a836e beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-0357 c0190360 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0358 c01e038c beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0359 c01c839d beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-035a c01d03a0 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-035b c00a035d beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-035c 20205ac3 branch mouse_priority_bb_event + 2 
+0350 1a627e00 copy regc ,pdata 
+0351 c0200365 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+0352 c00a836a beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0353 c019035c beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0354 c01e0388 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0355 c01c8399 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0356 c01d039c beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0357 c00a0359 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0358 20205ac3 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-035d 58000000 setarg 0 
-035e 67e24bfb store 4 ,mem_le_conn_first_rcv 
-035f 20205ad0 branch mouse_le_bb_event_connected 
+0359 58000000 setarg 0 
+035a 67e24bfb store 4 ,mem_le_conn_first_rcv 
+035b 20205ad0 branch mouse_le_bb_event_connected 
 
 p_mouse_le_ll_start_encryt:
-0360 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-0361 c0008364 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0362 70484414 jam 20 ,mem_le_start_encrypt_timer 
-0363 20200366 branch p_mouse_le_ll_reconn_start_encryt_new 
+035c 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+035d c0008360 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+035e 70484414 jam 20 ,mem_le_start_encrypt_timer 
+035f 20200362 branch p_mouse_le_ll_reconn_start_encryt_new 
 
 p_mouse_le_ll_reconn_start_encryt:
-0364 20405aef call mouse_updata_le_param 
-0365 70484405 jam 5 ,mem_le_start_encrypt_timer 
+0360 20405aef call mouse_updata_le_param 
+0361 70484405 jam 5 ,mem_le_start_encrypt_timer 
 
 p_mouse_le_ll_reconn_start_encryt_new:
-0366 6fe0cbfa fetch 1 ,mem_le_conn_rcv_new 
-0367 67e0cbfb store 1 ,mem_le_conn_first_rcv 
-0368 20205af6 branch mouse_le_ll_enable_start_enc_flag 
+0362 6fe0cbfa fetch 1 ,mem_le_conn_rcv_new 
+0363 67e0cbfb store 1 ,mem_le_conn_first_rcv 
+0364 20205af6 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-0369 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
-036a 247a0000 nrtn blank 
-036b 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
-036c 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-036d 20600000 rtn 
+0365 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
+0366 247a0000 nrtn blank 
+0367 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
+0368 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+0369 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-036e 58000000 setarg 0 
-036f 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
-0370 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-0371 58000000 setarg 0 
-0372 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
-0373 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
-0374 d8400006 arg le_interval_7_5ms ,temp 
-0375 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0376 c28d8378 bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
-0377 d8400007 arg le_interval_8_75ms ,temp 
+036a 58000000 setarg 0 
+036b 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
+036c 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+036d 58000000 setarg 0 
+036e 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
+036f 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
+0370 d8400006 arg le_interval_7_5ms ,temp 
+0371 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0372 c28d8374 bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
+0373 d8400007 arg le_interval_8_75ms ,temp 
 
 p_mouse_le_bb_disconnected_next:
-0378 604942d3 storet 2 ,mem_le_interval_min 
-0379 604942d5 storet 2 ,mem_le_interval_min + 2 
-037a 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-037b 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
-037c 204029cb call le_clr_config_more_data 
-037d 2020037e branch p_mouse_bb_disconnected 
+0374 604942d3 storet 2 ,mem_le_interval_min 
+0375 604942d5 storet 2 ,mem_le_interval_min + 2 
+0376 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0377 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
+0378 204029cb call le_clr_config_more_data 
+0379 2020037a branch p_mouse_bb_disconnected 
 
 p_mouse_bb_disconnected:
-037e 20405b7b call mouse_bb_discon_clear_stack 
-037f 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-0380 c2838383 bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
-0381 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-0382 20205c1a branch mouse_start_discovery 
+037a 20405b7b call mouse_bb_discon_clear_stack 
+037b 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+037c c283837f bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
+037d c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+037e 20205c1a branch mouse_start_discovery 
 
 p_mouse4_0_event_bb_disconn:
-0383 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-0384 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-0385 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-0386 1fe17e03 and pdata ,0x03 ,pdata 
-0387 20405b21 call mouse_le_clean_connect_flag 
-0388 c081d4a9 bne 0x03 ,mouse_start_reconnect 
-0389 6fe0cbfe fetch 1 ,mem_le_check_retransmit_discon_flag 
-038a 243a54a9 nbranch mouse_start_reconnect ,blank 
-038b 202054cd branch mouse_app_enter_hibernate 
+037f 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0380 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0381 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+0382 1fe17e03 and pdata ,0x03 ,pdata 
+0383 20405b21 call mouse_le_clean_connect_flag 
+0384 c081d4a9 bne 0x03 ,mouse_start_reconnect 
+0385 6fe0cbfe fetch 1 ,mem_le_check_retransmit_discon_flag 
+0386 243a54a9 nbranch mouse_start_reconnect ,blank 
+0387 202054cd branch mouse_app_enter_hibernate 
 
 p_mouse_24g_attempt_success:
-038c 6fe2458f fetch 4 ,mem_24g_addr 
-038d 67e245e8 store 4 ,mem_24g_receiver_addr 
-038e 67e24691 store 4 ,mem_mouse_24g_addr 
-038f 2040355a call g24_ch_syncword_crc8_init 
-0390 20405c0b call mouse_no_data_timer_init 
-0391 2040618e call mouse_device_poweron_led_config 
-0392 20405a73 call mouse_init_sensor_reset 
-0393 70477d00 jam 0 ,mem_mouse_long_mult_flag 
-0394 7045fc00 jam 0 ,mem_24g_conn_sm 
-0395 7045e200 jam 0 ,mem_24g_reconn_type 
-0396 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
-0397 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-0398 98467c00 isub temp ,null 
-0399 20628000 rtn zero 
-039a 20406016 call mouse_soft_agc_disable 
-039b 204003d5 call p_mouse_fetch_normal_tx_power 
-039c 20206042 branch mouse_24g_first_store_reconn_info 
+0388 6fe2458f fetch 4 ,mem_24g_addr 
+0389 67e245e8 store 4 ,mem_24g_receiver_addr 
+038a 67e24691 store 4 ,mem_mouse_24g_addr 
+038b 2040355a call g24_ch_syncword_crc8_init 
+038c 20405c0b call mouse_no_data_timer_init 
+038d 2040618e call mouse_device_poweron_led_config 
+038e 20405a73 call mouse_init_sensor_reset 
+038f 70477d00 jam 0 ,mem_mouse_long_mult_flag 
+0390 7045fc00 jam 0 ,mem_24g_conn_sm 
+0391 7045e200 jam 0 ,mem_24g_reconn_type 
+0392 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
+0393 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+0394 98467c00 isub temp ,null 
+0395 20628000 rtn zero 
+0396 20406016 call mouse_soft_agc_disable 
+0397 204003d1 call p_mouse_fetch_normal_tx_power 
+0398 20206042 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_pairing_complete:
-039d 20406016 call mouse_soft_agc_disable 
-039e 204003d5 call p_mouse_fetch_normal_tx_power 
-039f 20206084 branch mouse_24g_pairing_complete 
+0399 20406016 call mouse_soft_agc_disable 
+039a 204003d1 call p_mouse_fetch_normal_tx_power 
+039b 20206084 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_fail:
-03a0 20406016 call mouse_soft_agc_disable 
-03a1 204003d5 call p_mouse_fetch_normal_tx_power 
-03a2 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
-03a3 c1008000 rtneq dpi_button_state_down 
-03a4 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
-03a5 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
-03a6 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
-03a7 c00203aa beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-03a8 c000e05f beq fast_conn_and_receiver ,mouse_24g_fast_conn_attempt_fail 
-03a9 20206055 branch mouse_24g_attempt_fail + 2 
+039c 20406016 call mouse_soft_agc_disable 
+039d 204003d1 call p_mouse_fetch_normal_tx_power 
+039e 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
+039f c1008000 rtneq dpi_button_state_down 
+03a0 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
+03a1 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
+03a2 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+03a3 c00203a6 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+03a4 c000e05f beq fast_conn_and_receiver ,mouse_24g_fast_conn_attempt_fail 
+03a5 20206055 branch mouse_24g_attempt_fail + 2 
 
 p_mouse_24g_auto_pair_attempt_fail:
-03aa 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03ab c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-03ac 6fe0c71b fetch 1 ,mem_device_number 
-03ad c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+03a6 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03a7 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+03a8 6fe0c71b fetch 1 ,mem_device_number 
+03a9 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_first_bluetooth_reconnect:
-03ae 20406018 call mouse_24g_stop 
-03af 70466601 jam mode_bt_device1 ,mem_device_flag 
-03b0 20205491 branch mouse_le_fast_conn_judge 
+03aa 20406018 call mouse_24g_stop 
+03ab 70466601 jam mode_bt_device1 ,mem_device_flag 
+03ac 20205491 branch mouse_le_fast_conn_judge 
 
 p_mouse_start_work:
-03b1 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03b2 c29f03bf bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
-03b3 6fe0c666 fetch 1 ,mem_device_flag 
-03b4 c00003ca beq mode_24g_device ,p_mouse_24g_start_mode 
-03b5 2040619f call mouse_device_le_reconn_led_config 
-03b6 20205491 branch mouse_le_fast_conn_judge 
+03ad 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03ae c29f03bb bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
+03af 6fe0c666 fetch 1 ,mem_device_flag 
+03b0 c00003c6 beq mode_24g_device ,p_mouse_24g_start_mode 
+03b1 2040619f call mouse_device_le_reconn_led_config 
+03b2 20205491 branch mouse_le_fast_conn_judge 
 
 p_mouse_start_reconnect_device:
-03b7 da204667 arg mem_device1_type ,rega 
-03b8 6fe0c666 fetch 1 ,mem_device_flag 
-03b9 1fe0ffff increase -1 ,pdata 
-03ba 1feffe0d mul32 pdata ,13 ,pdata 
-03bb 9a20a200 iadd rega ,rega 
-03bc efe08011 ifetch 1 ,rega 
-03bd 67e0c3f3 store 1 ,mem_xrecord_mode 
-03be 202054a9 branch mouse_start_reconnect 
+03b3 da204667 arg mem_device1_type ,rega 
+03b4 6fe0c666 fetch 1 ,mem_device_flag 
+03b5 1fe0ffff increase -1 ,pdata 
+03b6 1feffe0d mul32 pdata ,13 ,pdata 
+03b7 9a20a200 iadd rega ,rega 
+03b8 efe08011 ifetch 1 ,rega 
+03b9 67e0c3f3 store 1 ,mem_xrecord_mode 
+03ba 202054a9 branch mouse_start_reconnect 
 
 p_mouse_24g_first_start_auto_pair_mode:
-03bf 204054ac call mouse_wakeup_from_power_check 
-03c0 203403c6 branch p_mouse_24g_first_start_reconn ,user 
+03bb 204054ac call mouse_wakeup_from_power_check 
+03bc 203403c2 branch p_mouse_24g_first_start_reconn ,user 
 
 p_mouse_24g_reconn_general_dongle:
-03c1 70466600 jam mode_24g_device ,mem_device_flag 
-03c2 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
-03c3 67e145de store 2 ,mem_24g_reconn_timeout 
-03c4 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
-03c5 20203534 branch g24_reconn_start 
+03bd 70466600 jam mode_24g_device ,mem_device_flag 
+03be 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+03bf 67e145de store 2 ,mem_24g_reconn_timeout 
+03c0 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
+03c1 20203534 branch g24_reconn_start 
 
 p_mouse_24g_first_start_reconn:
-03c6 6fe0c666 fetch 1 ,mem_device_flag 
-03c7 c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
-03c8 20405aa8 call mouse_bluetooth_fast_conn_disable 
-03c9 202003ae branch p_mouse_24g_first_bluetooth_reconnect 
+03c2 6fe0c666 fetch 1 ,mem_device_flag 
+03c3 c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+03c4 20405aa8 call mouse_bluetooth_fast_conn_disable 
+03c5 202003aa branch p_mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_start_mode:
-03ca 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03cb c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-03cc 20406195 call mouse_device_24g_pair_led_config 
-03cd 204054ac call mouse_wakeup_from_power_check 
-03ce 20346067 branch mouse_24g_reconn_dongle_start ,user 
-03cf 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03d0 c29803c1 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
-03d1 20206023 branch mouse_24g_start_mode + 7 
+03c6 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03c7 c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+03c8 20406195 call mouse_device_24g_pair_led_config 
+03c9 204054ac call mouse_wakeup_from_power_check 
+03ca 20346067 branch mouse_24g_reconn_dongle_start ,user 
+03cb 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03cc c29803bd bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
+03cd 20206023 branch mouse_24g_start_mode + 7 
 
 p_mouse_store_normal_tx_power:
-03d2 6fe0c141 fetch 1 ,mem_tx_power 
-03d3 67e0ca07 store 1 ,mem_normal_tx_power 
-03d4 20600000 rtn 
+03ce 6fe0c141 fetch 1 ,mem_tx_power 
+03cf 67e0ca07 store 1 ,mem_normal_tx_power 
+03d0 20600000 rtn 
 
 p_mouse_fetch_normal_tx_power:
-03d5 6fe0ca07 fetch 1 ,mem_normal_tx_power 
-03d6 67e0c141 store 1 ,mem_tx_power 
-03d7 20600000 rtn 
+03d1 6fe0ca07 fetch 1 ,mem_normal_tx_power 
+03d2 67e0c141 store 1 ,mem_tx_power 
+03d3 20600000 rtn 
 
 p_mouse_idle:
-03d8 2040620e call mouse_low_voltage_led_no_enter_lpm 
-03d9 204078aa call ui_check_paring_button 
-03da 204003dc call p_mouse_dpi_check 
-03db 20205e61 branch mouse_idle + 4 
+03d4 2040620e call mouse_low_voltage_led_no_enter_lpm 
+03d5 204078aa call ui_check_paring_button 
+03d6 204003d8 call p_mouse_dpi_check 
+03d7 20205e61 branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-03dc 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-03dd c17f8000 rtneq gpio_disable 
-03de da200000 arg 0 ,rega 
-03df 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
-03e0 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-03e1 204003e3 call p_mouse_dpi_key_check 
-03e2 202056c1 branch mouse_dpi_check_next 
+03d8 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+03d9 c17f8000 rtneq gpio_disable 
+03da da200000 arg 0 ,rega 
+03db 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
+03dc 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+03dd 204003df call p_mouse_dpi_key_check 
+03de 202056c1 branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-03e3 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03e4 c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-03e5 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
-03e6 1fe22600 copy pdata ,regc 
-03e7 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
-03e8 c07f83ea beq gpio_disable ,p_mouse_3io6key_dpi_check 
-03e9 202056ce branch mouse_dpi_key_check_next 
+03df 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03e0 c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+03e1 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
+03e2 1fe22600 copy pdata ,regc 
+03e3 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
+03e4 c07f83e6 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+03e5 202056ce branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-03ea 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-03eb 20405946 call mouse_gpio_config_output_low 
-03ec 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-03ed 202003ee branch p_mouse_3io6key_check 
+03e6 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+03e7 20405946 call mouse_gpio_config_output_low 
+03e8 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+03e9 202003ea branch p_mouse_3io6key_check 
 
 p_mouse_3io6key_check:
-03ee 1a627e00 copy regc ,pdata 
-03ef 67e0c978 store 1 ,mem_mouse_key_status 
-03f0 1fe3fe00 lshift pdata ,pdata 
-03f1 1fe22400 copy pdata ,regb 
-03f2 18422600 copy temp ,regc 
-03f3 204055b1 call mouse_gpio_config_input_pd 
-03f4 1a620400 copy regc ,temp 
-03f5 20406ee6 call gpio_get_bit 
-03f6 7d20a400 nsetflag true ,0 ,regb 
-03f7 2040593d call mouse_check_press 
-03f8 20205929 branch mouse_check_key_connect_gnd_1 
+03ea 1a627e00 copy regc ,pdata 
+03eb 67e0c978 store 1 ,mem_mouse_key_status 
+03ec 1fe3fe00 lshift pdata ,pdata 
+03ed 1fe22400 copy pdata ,regb 
+03ee 18422600 copy temp ,regc 
+03ef 204055b1 call mouse_gpio_config_input_pd 
+03f0 1a620400 copy regc ,temp 
+03f1 20406ee6 call gpio_get_bit 
+03f2 7d20a400 nsetflag true ,0 ,regb 
+03f3 2040593d call mouse_check_press 
+03f4 20205929 branch mouse_check_key_connect_gnd_1 
 
 p_g24_short_sleep:
-03f9 204036b4 call g24_lpm_wait 
-03fa 24740000 nrtn user 
-03fb 204036be call g24_setgpio_lpm_before 
-03fc 20400400 call p_clear_wake 
-03fd 704b1e00 jam 0 ,mem_mouse_lpm_puchk_flag 
-03fe 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
-03ff 20203622 branch g24_long_seep2 
+03f5 204036b4 call g24_lpm_wait 
+03f6 24740000 nrtn user 
+03f7 204036be call g24_setgpio_lpm_before 
+03f8 204003fb call p_clear_wake 
+03f9 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
+03fa 20203622 branch g24_long_seep2 
 
 p_clear_wake:
-0400 58000000 setarg 0 
-0401 67e40016 store 8 ,mem_gpio_wakeup_cfg 
-0402 58000000 setarg 0 
-0403 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
-0404 20600000 rtn 
+03fb 58000000 setarg 0 
+03fc 67e40016 store 8 ,mem_gpio_wakeup_cfg 
+03fd 58000000 setarg 0 
+03fe 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
+03ff 20600000 rtn 
 
 p_mouse_24g_hibernate_set:
-0405 70460000 jam 0 ,mem_24g_attempt_fail_flag 
-0406 20403647 call g24_transmit_next_packet 
-0407 5fffffff setarg -1 
-0408 67e245af store 4 ,mem_24g_enter_hibernate 
-0409 58000000 setarg 0 
-040a 67e3c846 store 7 ,mem_mouse_key 
-040b 70473f01 jam 1 ,mem_sensor_shutdown_flag 
-040c 204059ed call mouse_sensor_powerdown 
-040d 202002ce branch p_mouse_24g_long_sleep 
+0400 70460000 jam 0 ,mem_24g_attempt_fail_flag 
+0401 20403647 call g24_transmit_next_packet 
+0402 5fffffff setarg -1 
+0403 67e245af store 4 ,mem_24g_enter_hibernate 
+0404 58000000 setarg 0 
+0405 67e3c846 store 7 ,mem_mouse_key 
+0406 70473f01 jam 1 ,mem_sensor_shutdown_flag 
+0407 204059ed call mouse_sensor_powerdown 
+0408 2020622b branch mouse_24g_long_sleep 
 
 p_mouse_setgpio_hibernate:
-040e 20405a92 call mouse_set_sdio_high 
-040f 20400400 call p_clear_wake 
-0410 204056a9 call mouse_before_hibernate_wheel_gpio_set 
-0411 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-0412 20406ef7 call gpio_out_active 
-0413 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-0414 20406ed3 call gpio_clr_wake 
-0415 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0416 20405943 call mouse_gpio_config_output_high 
-0417 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0418 204055ab call mouse_gpio_set_pupd_by_input 
-0419 d8400009 arg 9 ,temp 
-041a 204055b5 call mouse_gpio_config_input_pu 
-041b 2040611a call mouse_logo_led_off 
-041c 704b1e01 jam 1 ,mem_mouse_lpm_puchk_flag 
-041d 20400248 call p_mouse_lpm_before_common 
-041e 202054e2 branch mouse_setgpio_hibernate_next 
+0409 20405a92 call mouse_set_sdio_high 
+040a 204003fb call p_clear_wake 
+040b 204056a9 call mouse_before_hibernate_wheel_gpio_set 
+040c 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+040d 20406ef7 call gpio_out_active 
+040e 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+040f 20406ed3 call gpio_clr_wake 
+0410 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0411 20405943 call mouse_gpio_config_output_high 
+0412 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0413 204055ab call mouse_gpio_set_pupd_by_input 
+0414 d8400009 arg 9 ,temp 
+0415 204055b5 call mouse_gpio_config_input_pu 
+0416 70460201 jam 1 ,mem_24g_abort_pac 
+0417 2040611a call mouse_logo_led_off 
+0418 20400248 call p_mouse_lpm_before_common 
+0419 202054e2 branch mouse_setgpio_hibernate_next 
 
 p_mouse_24g_package_data:
-041f c6930000 rtnmark0 mark_24g 
-0420 20405601 call mouse_motion 
-0421 24740000 nrtn user 
-0422 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
-0423 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
-0424 245a0434 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
-0425 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0426 c30b0429 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-0427 6fe0c96c fetch 1 ,mem_customer_key 
-0428 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
+041a c6930000 rtnmark0 mark_24g 
+041b 20405601 call mouse_motion 
+041c 24740000 nrtn user 
+041d 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
+041e 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
+041f 245a042f ncall p_mouse_24g_short_sleep_clear_wake ,blank 
+0420 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0421 c30b0424 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+0422 6fe0c96c fetch 1 ,mem_customer_key 
+0423 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-0429 2040042b call p_mouse_data_xy_release 
-042a 202060a2 branch mouse_24g_mouse_package_data + 1 
+0424 20400426 call p_mouse_data_xy_release 
+0425 202060a2 branch mouse_24g_mouse_package_data + 1 
 
 p_mouse_data_xy_release:
-042b 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-042c c1ff8000 rtnne gpio_disable 
-042d 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
-042e 207a0000 rtn blank 
-042f 1fe0ffff increase -1 ,pdata 
-0430 67e0c77d store 1 ,mem_mouse_long_mult_flag 
-0431 58000000 setarg 0 
-0432 67e24847 store 4 ,mem_mouse_x 
-0433 20205a73 branch mouse_init_sensor_reset 
+0426 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+0427 c1ff8000 rtnne gpio_disable 
+0428 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
+0429 207a0000 rtn blank 
+042a 1fe0ffff increase -1 ,pdata 
+042b 67e0c77d store 1 ,mem_mouse_long_mult_flag 
+042c 58000000 setarg 0 
+042d 67e24847 store 4 ,mem_mouse_x 
+042e 20205a73 branch mouse_init_sensor_reset 
 
 p_mouse_24g_short_sleep_clear_wake:
-0434 20400400 call p_clear_wake 
-0435 20200264 branch p_lpm_write_gpio_wakeup 
+042f 204003fb call p_clear_wake 
+0430 20200264 branch p_lpm_write_gpio_wakeup 
 
 p_mouse_check_select_device_by_switch:
-0436 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0437 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-0438 c31f8446 bbit0 mouse_enable_switch_gpio_connect_vin ,p_mouse_switch_gpio_connect_gnd 
+0431 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0432 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+0433 c31f8441 bbit0 mouse_enable_switch_gpio_connect_vin ,p_mouse_switch_gpio_connect_gnd 
 
 p_mouse_switch_gpio_connect_vin_check:
+0434 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0435 20406ef7 call gpio_out_active 
+0436 2040043b call p_mouse_switch_gpio_connect_vin 
+0437 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0438 20406ef3 call gpio_out_inactive 
 0439 6848c65a fetcht 1 ,mem_device_switch_gpio 
-043a 20406ef7 call gpio_out_active 
-043b 20400440 call p_mouse_switch_gpio_connect_vin 
-043c 6848c65a fetcht 1 ,mem_device_switch_gpio 
-043d 20406ef3 call gpio_out_inactive 
-043e 6848c65a fetcht 1 ,mem_device_switch_gpio 
-043f 202055b5 branch mouse_gpio_config_input_pu 
+043a 202055b5 branch mouse_gpio_config_input_pu 
 
 p_mouse_switch_gpio_connect_vin:
-0440 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0441 204055b1 call mouse_gpio_config_input_pd 
-0442 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0443 20406ee6 call gpio_get_bit 
-0444 2420dec2 nbranch mouse_check_select_24g_device ,true 
-0445 20205ebe branch mouse_select_btdevice 
+043b 6848c65a fetcht 1 ,mem_device_switch_gpio 
+043c 204055b1 call mouse_gpio_config_input_pd 
+043d 6848c65a fetcht 1 ,mem_device_switch_gpio 
+043e 20406ee6 call gpio_get_bit 
+043f 2420dec2 nbranch mouse_check_select_24g_device ,true 
+0440 20205ebe branch mouse_select_btdevice 
 
 p_mouse_switch_gpio_connect_gnd:
+0441 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0442 20406ef3 call gpio_out_inactive 
+0443 20405eb9 call mouse_switch_gpio_connect_gnd 
+0444 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0445 20406ef7 call gpio_out_active 
 0446 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0447 20406ef3 call gpio_out_inactive 
-0448 20405eb9 call mouse_switch_gpio_connect_gnd 
-0449 6848c65a fetcht 1 ,mem_device_switch_gpio 
-044a 20406ef7 call gpio_out_active 
-044b 6848c65a fetcht 1 ,mem_device_switch_gpio 
-044c 202055b1 branch mouse_gpio_config_input_pd 
+0447 202055b1 branch mouse_gpio_config_input_pd 
 
 p_mouse_init_sensor:
-044d 20405958 call mouse_read_sensor_id 
-044e c018045a beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-044f c018d9c6 beq p3065_id1 ,mouse_init_p3065 
-0450 c02c0452 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
-0451 20205952 branch mouse_init_sensor + 5 
+0448 20405958 call mouse_read_sensor_id 
+0449 c0180455 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+044a c018d9c6 beq p3065_id1 ,mouse_init_p3065 
+044b c02c044d beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
+044c 20205952 branch mouse_init_sensor + 5 
 
 p_mouse_ka8g2_id2_judge:
-0452 204059e7 call mouse_sensor_poweron 
-0453 6fe0c85a fetch 1 ,mem_sensor_id2 
-0454 c02b845e beq ka5857_id2 ,p_mouse_ka5857_init_param 
-0455 c02c8457 beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
-0456 2020595f branch mouse_init_p32xx_id2_judge 
+044d 204059e7 call mouse_sensor_poweron 
+044e 6fe0c85a fetch 1 ,mem_sensor_id2 
+044f c02b8459 beq ka5857_id2 ,p_mouse_ka5857_init_param 
+0450 c02c8452 beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
+0451 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka8g2_init_param:
-0457 7049570b jam ka8g2 ,mem_config_sensor_type 
-0458 da604a0b arg mem_sensor_ka8g2_init_new ,regc 
-0459 20205995 branch mouse_sensor_wr_seq 
+0452 7049570b jam ka8g2 ,mem_config_sensor_type 
+0453 da604a0b arg mem_sensor_ka8g2_init_new ,regc 
+0454 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_init_p32xx_id2_judge:
-045a 6fe0c85a fetch 1 ,mem_sensor_id2 
-045b 1fe17ef0 and_into 0xf0 ,pdata 
-045c c0600461 beq p3204_tjdm_id2 ,p_mouse_p3204_tjdm_init_param 
-045d 2020595f branch mouse_init_p32xx_id2_judge 
+0455 6fe0c85a fetch 1 ,mem_sensor_id2 
+0456 1fe17ef0 and_into 0xf0 ,pdata 
+0457 c060045c beq p3204_tjdm_id2 ,p_mouse_p3204_tjdm_init_param 
+0458 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka5857_init_param:
-045e 7049570d jam ka5857 ,mem_config_sensor_type 
-045f da604bff arg mem_sensor_ka5857_init ,regc 
-0460 20205995 branch mouse_sensor_wr_seq 
+0459 7049570d jam ka5857 ,mem_config_sensor_type 
+045a da604bff arg mem_sensor_ka5857_init ,regc 
+045b 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_p3204_tjdm_init_param:
-0461 58000049 setarg 0x49 
-0462 204069e5 call twspi_read 
-0463 c050d96c beq 0xa1 ,mouse_s201x_init_param 
-0464 202059cd branch mouse_p3065xy_init_param 
+045c 58000049 setarg 0x49 
+045d 204069e5 call twspi_read 
+045e c050d96c beq 0xa1 ,mouse_s201x_init_param 
+045f 202059cd branch mouse_p3065xy_init_param 
 
 p_mouse_dpi_process:
-0465 20405728 call mouse_dpi_ghost_check 
-0466 20740000 rtn user 
-0467 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0468 c006846a beq ka5857 ,p_mouse_dpi_process_5_level 
-0469 202056fa branch mouse_dpi_process + 3 
+0460 20405728 call mouse_dpi_ghost_check 
+0461 20740000 rtn user 
+0462 6fe0c957 fetch 1 ,mem_config_sensor_type 
+0463 c0068465 beq ka5857 ,p_mouse_dpi_process_5_level 
+0464 202056fa branch mouse_dpi_process + 3 
 
 p_mouse_dpi_process_5_level:
-046a 6fe0c690 fetch 1 ,mem_mouse_dpi 
-046b 1fe0fe01 increase 1 ,pdata 
-046c 1fe67c04 sub pdata ,4 ,null 
-046d 24417dca ncall set_pdata_0 ,positive 
-046e 20205701 branch mouse_dpi_level_store 
+0465 6fe0c690 fetch 1 ,mem_mouse_dpi 
+0466 1fe0fe01 increase 1 ,pdata 
+0467 1fe67c04 sub pdata ,4 ,null 
+0468 24417dca ncall set_pdata_0 ,positive 
+0469 20205701 branch mouse_dpi_level_store 
 
 p_mouse_setting_dpi_4_level:
-046f 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0470 c1068000 rtneq ka5857 
-0471 c1018000 rtneq p3212 
-0472 2020573e branch mouse_setting_dpi_4_level 
+046a 6fe0c957 fetch 1 ,mem_config_sensor_type 
+046b c1068000 rtneq ka5857 
+046c c1018000 rtneq p3212 
+046d 2020573e branch mouse_setting_dpi_4_level 
 
 p_mouse_setting_dpi:
-0473 2040046f call p_mouse_setting_dpi_4_level 
-0474 2040613a call mouse_dpi_led_blink_delay 
+046e 2040046a call p_mouse_setting_dpi_4_level 
+046f 2040613a call mouse_dpi_led_blink_delay 
 
 p_mouse_setting_sensor_type:
-0475 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0476 c006d785 beq ka5857 ,mouse_seting_3212_dpi 
-0477 c0060479 beq s201x ,p_mouse_seting_s201_dpi 
-0478 20205749 branch mouse_setting_sensor_type + 2 
+0470 6fe0c957 fetch 1 ,mem_config_sensor_type 
+0471 c006d785 beq ka5857 ,mouse_seting_3212_dpi 
+0472 c0060474 beq s201x ,p_mouse_seting_s201_dpi 
+0473 20205749 branch mouse_setting_sensor_type + 2 
 
 p_mouse_seting_s201_dpi:
-0479 6fe0c690 fetch 1 ,mem_mouse_dpi 
-047a c000576f beq mouse_dpi_level1 ,mouse_set_s201_dpi_0 
-047b c000d772 beq mouse_dpi_level2 ,mouse_set_s201_dpi_1 
-047c c001577b beq mouse_dpi_level3 ,mouse_set_s201_dpi_4 
-047d 2020576f branch mouse_set_s201_dpi_0 
+0474 6fe0c690 fetch 1 ,mem_mouse_dpi 
+0475 c000576f beq mouse_dpi_level1 ,mouse_set_s201_dpi_0 
+0476 c000d772 beq mouse_dpi_level2 ,mouse_set_s201_dpi_1 
+0477 c001577b beq mouse_dpi_level3 ,mouse_set_s201_dpi_4 
+0478 2020576f branch mouse_set_s201_dpi_0 
 
 p_mouse_check_sensor_data:
-047e 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
-047f c1800000 rtnne flash_sm_no_buys 
-0480 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0481 c0058483 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
-0482 202059f8 branch mouse_check_sensor_data + 2 
+0479 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
+047a c1800000 rtnne flash_sm_no_buys 
+047b 6fe0c957 fetch 1 ,mem_config_sensor_type 
+047c c005847e beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
+047d 202059f8 branch mouse_check_sensor_data + 2 
 
 p_mouse_pka8g2_sensor_motion:
-0483 20405a6d call mouse_clear_sensor_data 
-0484 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-0485 c07f8489 beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
-0486 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
-0487 20406ee6 call gpio_get_bit 
-0488 24608000 nrtn true 
+047e 20405a6d call mouse_clear_sensor_data 
+047f 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+0480 c07f8484 beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
+0481 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
+0482 20406ee6 call gpio_get_bit 
+0483 24608000 nrtn true 
 
 p_mouse_pka8g2_sensor_motion_1:
-0489 58000000 setarg pan_reg_pid_l 
-048a 204069e5 call twspi_read 
-048b c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
-048c 20205a2f branch mouse_p3212_sensor_motion_2 
+0484 58000000 setarg pan_reg_pid_l 
+0485 204069e5 call twspi_read 
+0486 c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
+0487 20205a2f branch mouse_p3212_sensor_motion_2 
 
 p_mouse_motion:
-048d 78547c00 disable user 
-048e 58000000 setarg 0 
-048f 67e34847 store 6 ,mem_mouse_x 
-0490 2040047e call p_mouse_check_sensor_data 
-0491 58000089 setarg 0x0089 
-0492 204069e4 call twspi_write 
-0493 20405747 call mouse_setting_sensor_type 
-0494 20405612 call mouse_zwheel 
-0495 20405617 call mouse_t_zwheel 
-0496 20400498 call p_mouse_key 
-0497 2020560c branch mouse_motion + 11 
+0488 78547c00 disable user 
+0489 58000000 setarg 0 
+048a 67e34847 store 6 ,mem_mouse_x 
+048b 20400479 call p_mouse_check_sensor_data 
+048c 58000089 setarg 0x0089 
+048d 204069e4 call twspi_write 
+048e 20405747 call mouse_setting_sensor_type 
+048f 20405612 call mouse_zwheel 
+0490 20405617 call mouse_t_zwheel 
+0491 20400493 call p_mouse_key 
+0492 2020560c branch mouse_motion + 11 
 
 p_mouse_key:
-0498 2040584c call mouse_check_firekey_gpio 
-0499 6fe0c987 fetch 1 ,mem_fire_key_flag 
-049a 243a5860 nbranch fire_key_press ,blank 
-049b 6fe0c982 fetch 1 ,mem_fire_key_status 
-049c 243a585f nbranch fire_key_process ,blank 
-049d 20405888 call mouse_check_key_gpio 
-049e 204004a0 call p_mouse_ghost_key_check 
-049f 202057ad branch mouse_key + 7 
+0493 2040584c call mouse_check_firekey_gpio 
+0494 6fe0c987 fetch 1 ,mem_fire_key_flag 
+0495 243a5860 nbranch fire_key_press ,blank 
+0496 6fe0c982 fetch 1 ,mem_fire_key_status 
+0497 243a585f nbranch fire_key_process ,blank 
+0498 20405888 call mouse_check_key_gpio 
+0499 2040049b call p_mouse_ghost_key_check 
+049a 202057ad branch mouse_key + 7 
 
 p_mouse_ghost_key_check:
-04a0 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
-04a1 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
-04a2 70497b00 jam 0 ,mem_mouse_ghost_flag 
-04a3 1fe22400 copy pdata ,regb 
-04a4 6848c644 fetcht 1 ,mem_lbutton_gpio 
-04a5 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-04a6 98467c00 isub temp ,null 
-04a7 202284b2 branch p_mouse_matrix_ghost_key_l_bk ,zero 
-04a8 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-04a9 98467c00 isub temp ,null 
-04aa 202284b8 branch p_mouse_matrix_ghost_key_l_fw ,zero 
-04ab 6848c645 fetcht 1 ,mem_mbutton_gpio 
-04ac 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-04ad 98467c00 isub temp ,null 
-04ae 202284c1 branch p_mouse_ghost_key_mbk_rfw ,zero 
+049b 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
+049c 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
+049d 70497b00 jam 0 ,mem_mouse_ghost_flag 
+049e 1fe22400 copy pdata ,regb 
+049f 6848c644 fetcht 1 ,mem_lbutton_gpio 
+04a0 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04a1 98467c00 isub temp ,null 
+04a2 202284ad branch p_mouse_matrix_ghost_key_l_bk ,zero 
+04a3 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+04a4 98467c00 isub temp ,null 
+04a5 202284b3 branch p_mouse_matrix_ghost_key_l_fw ,zero 
+04a6 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04a7 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04a8 98467c00 isub temp ,null 
+04a9 202284bc branch p_mouse_ghost_key_mbk_rfw ,zero 
 
 p_mouse_ghost_key_mfw_rbk:
-04af 204057fb call mouse_ghost_key_check_m_fw 
+04aa 204057fb call mouse_ghost_key_check_m_fw 
 
 p_mouse_ghost_key_rbk:
-04b0 204004c6 call p_mouse_ghost_key_check_r_bk 
-04b1 202057e5 branch mouse_ghost_key_check_next 
+04ab 204004c1 call p_mouse_ghost_key_check_r_bk 
+04ac 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_matrix_ghost_key_l_bk:
-04b2 6848c645 fetcht 1 ,mem_mbutton_gpio 
-04b3 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-04b4 98467c00 isub temp ,null 
-04b5 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
+04ad 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04ae 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+04af 98467c00 isub temp ,null 
+04b0 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
 
 p_mouse_ghost_key_lbk_rfw:
-04b6 204057ef call mouse_ghost_key_check_l_bk 
-04b7 202004c2 branch p_mouse_ghost_key_rfw 
+04b1 204057ef call mouse_ghost_key_check_l_bk 
+04b2 202004bd branch p_mouse_ghost_key_rfw 
 
 p_mouse_matrix_ghost_key_l_fw:
-04b8 6848c645 fetcht 1 ,mem_mbutton_gpio 
-04b9 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-04ba 98467c00 isub temp ,null 
-04bb 202284be branch p_mouse_ghost_key_lfw_mbk ,zero 
+04b3 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04b4 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04b5 98467c00 isub temp ,null 
+04b6 202284b9 branch p_mouse_ghost_key_lfw_mbk ,zero 
 
 p_mouse_ghost_key_lfw_rbk:
-04bc 204004c8 call p_mouse_ghost_key_check_l_fw 
-04bd 202004b0 branch p_mouse_ghost_key_rbk 
+04b7 204004c3 call p_mouse_ghost_key_check_l_fw 
+04b8 202004ab branch p_mouse_ghost_key_rbk 
 
 p_mouse_ghost_key_lfw_mbk:
-04be 204004c8 call p_mouse_ghost_key_check_l_fw 
-04bf 204004c4 call p_mouse_ghost_key_check_m_bk 
-04c0 202057e5 branch mouse_ghost_key_check_next 
+04b9 204004c3 call p_mouse_ghost_key_check_l_fw 
+04ba 204004bf call p_mouse_ghost_key_check_m_bk 
+04bb 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_mbk_rfw:
-04c1 204004c4 call p_mouse_ghost_key_check_m_bk 
+04bc 204004bf call p_mouse_ghost_key_check_m_bk 
 
 p_mouse_ghost_key_rfw:
-04c2 204004ca call p_mouse_ghost_key_check_r_fw 
-04c3 202057e5 branch mouse_ghost_key_check_next 
+04bd 204004c5 call p_mouse_ghost_key_check_r_fw 
+04be 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_check_m_bk:
-04c4 1a417e12 and regb ,mouse_m_bk_button ,pdata 
-04c5 202057f3 branch mouse_ghost_key_check_m_bk + 1 
+04bf 1a417e12 and regb ,mouse_m_bk_button ,pdata 
+04c0 202057f3 branch mouse_ghost_key_check_m_bk + 1 
 
 p_mouse_ghost_key_check_r_bk:
-04c6 1a417e0a and regb ,mouse_r_bk_button ,pdata 
-04c7 202057f6 branch mouse_ghost_key_check_r_bk + 1 
+04c1 1a417e0a and regb ,mouse_r_bk_button ,pdata 
+04c2 202057f6 branch mouse_ghost_key_check_r_bk + 1 
 
 p_mouse_ghost_key_check_l_fw:
-04c8 1a417e11 and regb ,mouse_l_fw_button ,pdata 
-04c9 202057f9 branch mouse_ghost_key_check_l_fw + 1 
+04c3 1a417e11 and regb ,mouse_l_fw_button ,pdata 
+04c4 202057f9 branch mouse_ghost_key_check_l_fw + 1 
 
 p_mouse_ghost_key_check_r_fw:
-04ca 1a417e12 and regb ,mouse_r_fw_button ,pdata 
-04cb 202057ff branch mouse_ghost_key_check_r_fw + 1 
+04c5 1a417e12 and regb ,mouse_r_fw_button ,pdata 
+04c6 202057ff branch mouse_ghost_key_check_r_fw + 1 
               org 0x2000
 
 start:
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/ramcode.rom	(revision 2349)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/ramcode.rom	(working copy)
@@ -1,5 +1,5 @@
 c284002a
-c00002d2
+c00002ce
 c0010039
 c0080042
 c0088044
@@ -10,30 +10,30 @@
 c00d0052
 c0128250
 c03402c9
-c03482e3
-c03502df
+c03482df
+c03502db
 c036028d
-c03703b1
-c03783b7
-c039840e
+c03703ad
+c03783b3
+c0398409
 c03a0248
-c03d048d
-c03d8465
-c03e0473
-c03e8475
-c03f83ee
-c040844d
-c04202f6
-c0428354
+c03d0488
+c03d8460
+c03e046e
+c03e8470
+c03f83ea
+c0408448
+c04202f2
+c0428350
 c043021b
-c0438332
-c0440352
-c0450307
-c04582e5
-c04703d8
-c0480436
-c04a8405
-c04b041f
+c043832e
+c044034e
+c0450303
+c04582e1
+c04703d4
+c0480431
+c04a8400
+c04b041a
 c058809d
 c0628273
 c06a823a
@@ -49,7 +49,7 @@
 c02601f1
 c02681ef
 c0480276
-c04b03f9
+c04b03f5
 c04d011b
 c04e8122
 c04f829a
@@ -559,7 +559,7 @@
 20405ab2
 24740000
 20405abc
-2040042b
+20400426
 20205b37
 18467cff
 20628000
@@ -582,7 +582,7 @@
 202023e2
 58000080
 20200244
-20400400
+204003fb
 704b1d00
 2040550d
 204054f9
@@ -596,7 +596,7 @@
 2040025b
 20400256
 20202425
-6fe0cb1e
+6fe0c602
 207a0000
 6fe0cb1d
 203a0243
@@ -713,37 +713,33 @@
 20600000
 58006235
 67e145f8
-580002ce
+5800622b
 67e145fa
 202053f3
-204036b4
-24740000
-704b1e01
-2020622d
 2435a002
 37d98200
 37d98200
 20800000
-205582d8
+205582d4
 20202003
 6848c64a
 20406edd
 6848c64b
 20406edd
-6fe0cb1e
+6fe0c602
 207a0000
 20200243
 6fe44713
 2feffe16
 2040df08
 2020542c
-204003d2
+204003ce
 20405d60
-204002ef
+204002eb
 6fe1468e
 d840aa55
 98467c00
-202282f4
+202282f0
 6049468e
 20405c9c
 6fe0c9a1
@@ -754,14 +750,14 @@
 20610000
 70466600
 20600000
-204002f8
+204002f4
 20205c90
-204002f8
+204002f4
 20205a9c
 6fe0c666
 c1000000
-c00082fd
-c0010302
+c00082f9
+c00102fe
 20600000
 6fe34668
 67e34116
@@ -777,8 +773,8 @@
 c4010000
 d8e00002
 20405f04
-2040030e
-2040031c
+2040030a
+20400318
 20205ca3
 6fe08032
 c19a0000
@@ -792,7 +788,7 @@
 98467c00
 2022dc69
 18c08c07
-c2000316
+c2000312
 20600000
 da204667
 6fe0c666
@@ -803,8 +799,8 @@
 e7e08011
 c19a0000
 6fe0c666
-c0008328
-c001032d
+c0008324
+c0010329
 20600000
 6fe30178
 67e34668
@@ -816,7 +812,7 @@
 6fe342db
 67e3467b
 20600000
-20400348
+20400344
 2040614d
 2040553d
 20406110
@@ -834,7 +830,7 @@
 20405bee
 20405be4
 20405bfb
-2040034b
+20400347
 204056b6
 20405c0e
 20205c05
@@ -842,7 +838,7 @@
 da405aef
 202042e0
 da60477e
-da40034e
+da40034a
 202042e0
 6fe0c96b
 67e0c0c0
@@ -851,21 +847,21 @@
 204059ed
 20205c1b
 1a627e00
-c0200369
-c00a836e
-c0190360
-c01e038c
-c01c839d
-c01d03a0
-c00a035d
+c0200365
+c00a836a
+c019035c
+c01e0388
+c01c8399
+c01d039c
+c00a0359
 20205ac3
 58000000
 67e24bfb
 20205ad0
 6fe0c795
-c0008364
+c0008360
 70484414
-20200366
+20200362
 20405aef
 70484405
 6fe0cbfa
@@ -884,17 +880,17 @@
 70479400
 d8400006
 6fe44713
-c28d8378
+c28d8374
 d8400007
 604942d3
 604942d5
 7047c200
 70495600
 204029cb
-2020037e
+2020037a
 20405b7b
 6fe143ef
-c2838383
+c283837f
 c28042fc
 20205c1a
 6fe143ef
@@ -921,19 +917,19 @@
 98467c00
 20628000
 20406016
-204003d5
+204003d1
 20206042
 20406016
-204003d5
+204003d1
 20206084
 20406016
-204003d5
+204003d1
 6fe0c87a
 c1008000
 6fe0c600
 243a5ff2
 6fe0c5e2
-c00203aa
+c00203a6
 c000e05f
 20206055
 6fe44713
@@ -944,9 +940,9 @@
 70466601
 20205491
 6fe44713
-c29f03bf
+c29f03bb
 6fe0c666
-c00003ca
+c00003c6
 2040619f
 20205491
 da204667
@@ -958,7 +954,7 @@
 67e0c3f3
 202054a9
 204054ac
-203403c6
+203403c2
 70466600
 6fe14721
 67e145de
@@ -967,14 +963,14 @@
 6fe0c666
 c0006067
 20405aa8
-202003ae
+202003aa
 6fe44713
 c308e02a
 20406195
 204054ac
 20346067
 6fe44713
-c29803c1
+c29803bd
 20206023
 6fe0c141
 67e0ca07
@@ -984,26 +980,26 @@
 20600000
 2040620e
 204078aa
-204003dc
+204003d8
 20205e61
 6fe0c649
 c17f8000
 da200000
 70497705
 6848c649
-204003e3
+204003df
 202056c1
 6fe44713
 c295d6de
 6fe0c974
 1fe22600
 6fe0c654
-c07f83ea
+c07f83e6
 202056ce
 6fe0c649
 20405946
 6848c649
-202003ee
+202003ea
 1a627e00
 67e0c978
 1fe3fe00
@@ -1018,8 +1014,7 @@
 204036b4
 24740000
 204036be
-20400400
-704b1e00
+204003fb
 6fe1c608
 20203622
 58000000
@@ -1035,9 +1030,9 @@
 67e3c846
 70473f01
 204059ed
-202002ce
+2020622b
 20405a92
-20400400
+204003fb
 204056a9
 6848c654
 20406ef7
@@ -1049,8 +1044,8 @@
 204055ab
 d8400009
 204055b5
+70460201
 2040611a
-704b1e01
 20400248
 202054e2
 c6930000
@@ -1058,12 +1053,12 @@
 24740000
 6fe0c77c
 70477c00
-245a0434
+245a042f
 6fe44713
-c30b0429
+c30b0424
 6fe0c96c
 243a60b6
-2040042b
+20400426
 202060a2
 6fe0c659
 c1ff8000
@@ -1074,14 +1069,14 @@
 58000000
 67e24847
 20205a73
-20400400
+204003fb
 20200264
 6fe44713
 c4150000
-c31f8446
+c31f8441
 6848c65a
 20406ef7
-20400440
+2040043b
 6848c65a
 20406ef3
 6848c65a
@@ -1100,21 +1095,21 @@
 6848c65a
 202055b1
 20405958
-c018045a
+c0180455
 c018d9c6
-c02c0452
+c02c044d
 20205952
 204059e7
 6fe0c85a
-c02b845e
-c02c8457
+c02b8459
+c02c8452
 2020595f
 7049570b
 da604a0b
 20205995
 6fe0c85a
 1fe17ef0
-c0600461
+c060045c
 2020595f
 7049570d
 da604bff
@@ -1126,7 +1121,7 @@
 20405728
 20740000
 6fe0c957
-c006846a
+c0068465
 202056fa
 6fe0c690
 1fe0fe01
@@ -1137,11 +1132,11 @@
 c1068000
 c1018000
 2020573e
-2040046f
+2040046a
 2040613a
 6fe0c957
 c006d785
-c0060479
+c0060474
 20205749
 6fe0c690
 c000576f
@@ -1151,11 +1146,11 @@
 6fe0c420
 c1800000
 6fe0c957
-c0058483
+c005847e
 202059f8
 20405a6d
 6fe0c659
-c07f8489
+c07f8484
 6848c659
 20406ee6
 24608000
@@ -1166,13 +1161,13 @@
 78547c00
 58000000
 67e34847
-2040047e
+20400479
 58000089
 204069e4
 20405747
 20405612
 20405617
-20400498
+20400493
 2020560c
 2040584c
 6fe0c987
@@ -1180,7 +1175,7 @@
 6fe0c982
 243a585f
 20405888
-204004a0
+2040049b
 202057ad
 70497900
 70497a00
@@ -1189,34 +1184,34 @@
 6848c644
 6fe0c647
 98467c00
-202284b2
+202284ad
 6fe0c648
 98467c00
-202284b8
+202284b3
 6848c645
 6fe0c647
 98467c00
-202284c1
+202284bc
 204057fb
-204004c6
+204004c1
 202057e5
 6848c645
 6fe0c648
 98467c00
 2022d7d6
 204057ef
-202004c2
+202004bd
 6848c645
 6fe0c647
 98467c00
-202284be
-204004c8
-202004b0
-204004c8
-204004c4
+202284b9
+204004c3
+202004ab
+204004c3
+204004bf
 202057e5
-204004c4
-204004ca
+204004bf
+204004c5
 202057e5
 1a417e12
 202057f3
Index: program/patch.prog
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/patch.prog	(revision 2349)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/patch.prog	(working copy)
@@ -821,7 +821,7 @@
 	branch lpm_sleep_skip_cb_function+4
 
 p_mouse_puchk_set_check:
-	fetch 1,mem_mouse_lpm_puchk_flag
+	fetch 1,mem_24g_abort_pac
 	rtn blank
 	fetch 1,mem_mouse_qdec_set_flag
 	branch p_mouse_puchk_disable,blank
@@ -991,18 +991,12 @@
 p_mouse_cb_fuction:
 	setarg mouse_24g_short_sleep
 	store 2,mem_cb_24g_transmit_short_sleep
-	setarg p_mouse_24g_long_sleep
+	setarg mouse_24g_long_sleep
 	store 2,mem_cb_24g_transmit_long_sleep
 //	setarg p_mouse_24g_before_lpm_sleep
 //	store 2,mem_cb_before_lpm_sleep
 	branch mouse_cb_fuction+7
 
-p_mouse_24g_long_sleep:
-	call g24_lpm_wait
-	nrtn user
-	jam 1,mem_mouse_lpm_puchk_flag
-	branch mouse_24g_long_sleep+2
-
 p_soft_reset:
 	nbranch soft_reset+1,wake
 	until null,lpo_edge
@@ -1017,7 +1011,7 @@
 	fetcht 1,mem_whee_b_data_gpio
 	call gpio_config_input
 p_mouse_puchk_disable_check:
-	fetch 1,mem_mouse_lpm_puchk_flag
+	fetch 1,mem_24g_abort_pac
 	rtn blank
 	branch p_mouse_puchk_disable
 
@@ -1410,7 +1404,6 @@
 	nrtn user
 	call g24_setgpio_lpm_before
 	call p_clear_wake
-	jam 0,mem_mouse_lpm_puchk_flag
 	fetch 3,mem_24g_short_sleep_set
 	branch g24_long_seep2
 	
@@ -1433,7 +1426,7 @@
 	jam 1,mem_sensor_shutdown_flag
 	call mouse_sensor_powerdown
 //	call mouse_setgpio_hibernate
-	branch p_mouse_24g_long_sleep
+	branch mouse_24g_long_sleep
 
 p_mouse_setgpio_hibernate:
 	call mouse_set_sdio_high
@@ -1450,9 +1443,8 @@
 	call mouse_gpio_set_pupd_by_input
 	arg 9,temp	//ice band gpio			
 	call mouse_gpio_config_input_pu
-	
+	jam 1,mem_24g_abort_pac
 	call mouse_logo_led_off
-	jam 1,mem_mouse_lpm_puchk_flag
 	call p_mouse_lpm_before_common
 //	call p_mouse_gpio_set_high_impedance
 	branch mouse_setgpio_hibernate_next
