Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G_LRpair/output/eeprom.dat	(revision 726)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G_LRpair/output/eeprom.dat	(working copy)
@@ -3,7 +3,7 @@
 aa
 55
 3a
-04
+05
 c2
 84
 00
@@ -11,51 +11,51 @@
 c0
 00
 00
-11
+13
 c0
 45
 01
-08
+48
 c0
 45
 80
-49
+4b
 c0
 4f
 80
-47
+49
 c0
 57
 00
-15
+17
 c0
 61
 80
-9a
+c4
 c0
 64
 80
-5c
+5e
 c0
 65
 00
-6c
+6e
 c0
 67
 00
-a9
+d3
 c0
 68
 00
-c3
+ed
 c0
 6b
 00
-82
+aa
 c0
 6c
 80
-d4
+fe
 20
 20
 13
@@ -63,11 +63,19 @@
 c0
 10
 81
-06
+46
 c0
 43
 81
-02
+42
+c0
+71
+00
+c2
+c0
+75
+00
+84
 20
 20
 13
@@ -95,15 +103,15 @@
 20
 40
 00
-1d
+1f
 20
 40
 00
-29
+2b
 20
 40
 00
-25
+27
 20
 40
 41
@@ -191,7 +199,7 @@
 20
 40
 00
-33
+35
 68
 48
 c9
@@ -203,7 +211,7 @@
 20
 40
 00
-43
+45
 20
 20
 3b
@@ -343,7 +351,7 @@
 c0
 84
 00
-56
+58
 70
 8a
 08
@@ -367,7 +375,7 @@
 20
 40
 01
-0b
+4b
 20
 20
 12
@@ -391,7 +399,7 @@
 c0
 7f
 80
-65
+67
 68
 48
 c9
@@ -430,8 +438,8 @@
 93
 20
 40
-00
-e6
+01
+1e
 20
 20
 3e
@@ -524,6 +532,158 @@
 20
 60
 36
+20
+40
+26
+31
+24
+34
+00
+9c
+20
+40
+26
+46
+20
+40
+26
+ee
+6f
+e0
+cb
+e1
+24
+3a
+00
+8e
+6f
+e4
+48
+b0
+67
+e4
+48
+5c
+6f
+e1
+48
+c2
+67
+e1
+48
+c4
+20
+40
+26
+bb
+24
+74
+00
+00
+20
+40
+7f
+dc
+6f
+e1
+c8
+ad
+20
+20
+26
+b8
+70
+48
+a5
+00
+20
+40
+26
+52
+5f
+ff
+ff
+ff
+67
+e2
+48
+5c
+58
+00
+00
+00
+67
+e3
+c8
+d0
+70
+4b
+e1
+01
+20
+40
+42
+3c
+20
+20
+00
+a2
+6f
+e0
+c8
+a7
+20
+5a
+26
+a7
+6f
+e0
+c8
+bd
+c1
+00
+80
+00
+20
+40
+26
+9f
+20
+20
+00
+a2
+20
+40
+26
+bb
+24
+74
+00
+00
+6f
+e0
+cb
+e1
+24
+5a
+3e
+33
+6f
+e2
+48
+5c
+20
+40
+7d
+aa
+60
+4a
+41
+60
+20
+20
+14
+97
 1a
 62
 7e
@@ -531,11 +691,11 @@
 c0
 1e
 00
-86
+ae
 c0
 1d
 00
-8c
+b4
 20
 20
 43
@@ -570,8 +730,8 @@
 a5
 24
 3a
-47
-e1
+00
+93
 6f
 e0
 c8
@@ -579,7 +739,7 @@
 c0
 01
 00
-91
+b9
 20
 20
 48
@@ -620,6 +780,14 @@
 20
 48
 06
+70
+48
+8b
+00
+20
+20
+23
+41
 6f
 e4
 4b
@@ -635,7 +803,7 @@
 c0
 00
 00
-9f
+c9
 20
 20
 3d
@@ -727,7 +895,7 @@
 24
 34
 00
-b8
+e2
 20
 40
 47
@@ -735,7 +903,7 @@
 20
 40
 00
-bb
+e5
 20
 20
 45
@@ -791,7 +959,7 @@
 20
 40
 00
-c6
+f0
 20
 20
 40
@@ -842,8 +1010,8 @@
 c1
 20
 3a
-00
-ed
+01
+25
 67
 e0
 cb
@@ -878,28 +1046,84 @@
 be
 20
 40
-00
-ea
+01
+22
 20
 40
-00
-dd
+01
+15
 20
+40
+40
+7c
 20
+40
 44
-bd
-6f
-e0
-cb
-e3
-c1
-7f
-80
-00
-6f
-e1
-4b
-e5
+cc
+20
+40
+44
+dc
+20
+40
+44
+ff
+20
+40
+45
+04
+20
+40
+45
+12
+20
+40
+45
+1f
+20
+40
+45
+15
+20
+40
+45
+2a
+20
+40
+45
+2d
+20
+40
+45
+32
+20
+40
+45
+35
+20
+40
+40
+22
+20
+40
+45
+47
+20
+20
+01
+3a
+6f
+e0
+cb
+e3
+c1
+7f
+80
+00
+6f
+e1
+4b
+e5
 20
 7a
 00
@@ -918,8 +1142,8 @@
 e5
 da
 40
-00
-e6
+01
+1e
 20
 20
 31
@@ -946,8 +1170,8 @@
 a8
 da
 40
-00
-ed
+01
+25
 20
 20
 31
@@ -1002,12 +1226,12 @@
 03
 20
 41
-00
-fc
+01
+34
 24
 41
 01
-00
+38
 20
 20
 48
@@ -1038,6 +1262,38 @@
 00
 6f
 e0
+c9
+2a
+c3
+83
+80
+00
+da
+60
+4a
+b2
+da
+40
+01
+3f
+20
+20
+31
+91
+6f
+e0
+c9
+38
+c0
+00
+00
+93
+20
+20
+43
+1b
+6f
+e0
 cb
 e7
 24
@@ -1067,7 +1323,7 @@
 c0
 4f
 81
-0b
+4b
 20
 20
 12
@@ -1084,8 +1340,8 @@
 20
 12
 2a
-47
-90
+60
+c9
 aa
 55
 40
@@ -1152,8 +1408,8 @@
 00
 00
 00
-00
-00
+04
+04
 00
 00
 aa
@@ -2003,521 +2259,265 @@
 49
 39
 4a
-b0
-4b
-a0
-4c
-90
-4d
-70
-09
-00
-ff
-ff
-09
-5a
-06
-02
-09
-69
-0d
-48
-0e
-9f
-0f
-ba
-09
-00
-ff
-ff
-aa
-55
-08
-00
-a3
-4a
-09
-5a
-0b
-f3
-09
-00
-ff
-ff
-aa
-55
-02
-00
-8d
-44
-2d
-49
-aa
-55
-01
-00
-8c
-44
-01
-aa
-55
-01
-00
-65
-48
-01
-aa
-55
-01
-00
-64
-48
-01
-aa
-55
-01
-00
-36
-48
-01
-aa
-55
-01
-00
-a8
-48
-06
-aa
-55
-02
-00
-38
-48
-c0
-12
-aa
-55
-03
-00
-54
-48
-19
-19
-1c
-aa
-55
-10
-00
-40
-48
-00
-13
-2c
-42
-06
-15
-36
-48
-0f
-1a
-3a
-4c
-11
-23
-31
-4d
-aa
-55
-01
-00
-5b
-48
-00
-aa
-55
-05
-00
-77
-48
-20
-15
-10
-05
-4e
-aa
-55
-05
-00
-8c
-48
-01
-0f
-0f
-0f
-0f
-aa
-55
-06
-00
-ad
-48
-0c
-f8
-00
-00
-77
-01
-aa
-55
-03
-00
-5c
-48
-00
-48
-60
-aa
-55
-01
-00
-7d
-48
-07
-aa
-55
-02
-00
-99
-48
-b5
-4a
-aa
-55
-01
-00
-ca
-48
-32
-aa
-55
-02
-00
-c2
-48
-14
-00
-aa
-55
-02
-00
-c0
-48
-50
-00
-aa
-55
-03
-00
-b8
-48
-00
-a6
-0e
-aa
-55
-03
-00
-b8
-49
-00
-50
-00
-aa
-55
-02
-00
-79
-44
-80
-1f
-aa
-55
-01
-00
-83
-44
-80
-aa
-55
-01
-00
-e8
-41
-01
-55
-aa
-aa
-55
-0d
-5a
-76
-3f
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+b0
+4b
+a0
+4c
+90
+4d
+70
+09
+00
 ff
 ff
+09
+5a
+06
+02
+09
+69
+0d
+48
+0e
+9f
+0f
+ba
+09
+00
 ff
 ff
+aa
+55
+08
+00
+a3
+4a
+09
+5a
+0b
+f3
+09
+00
 ff
 ff
+aa
+55
+02
+00
+8d
+44
+2d
+49
+aa
+55
+01
+00
+8c
+44
+01
+aa
+55
+01
+00
+65
+48
+01
+aa
+55
+01
+00
+64
+48
+01
+aa
+55
+01
+00
+36
+48
+01
+aa
+55
+01
+00
+a8
+48
+06
+aa
+55
+02
+00
+38
+48
+c0
+12
+aa
+55
+03
+00
+54
+48
+19
+19
+1c
+aa
+55
+10
+00
+40
+48
+00
+13
+2c
+42
+06
+15
+36
+48
+0f
+1a
+3a
+4c
+11
+23
+31
+4d
+aa
+55
+01
+00
+5b
+48
+00
+aa
+55
+05
+00
+77
+48
+20
+15
+10
+05
+4e
+aa
+55
+05
+00
+8c
+48
+01
+0f
+0f
+0f
+0f
+aa
+55
+06
+00
+ad
+48
+0c
+f8
+00
+00
+77
+01
+aa
+55
+03
+00
+5c
+48
+00
+48
+60
+aa
+55
+01
+00
+7d
+48
+07
+aa
+55
+02
+00
+99
+48
+b5
+4a
+aa
+55
+01
+00
+ca
+48
+32
+aa
+55
+02
+00
+c2
+48
+14
+00
+aa
+55
+02
+00
+c0
+48
+50
+00
+aa
+55
+03
+00
+b8
+48
+00
+a6
+0e
+aa
+55
+03
+00
+b8
+49
+00
+50
+00
+aa
+55
+02
+00
+79
+44
+80
+1f
+aa
+55
+01
+00
+83
+44
+80
+aa
+55
+01
+00
+e8
+41
+01
+55
+aa
+aa
+55
+15
+5a
+66
+bd
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-13
-0b
+83
+ef
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G_LRpair/output/program.lis	(revision 726)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G_LRpair/output/program.lis	(working copy)
@@ -1,351 +1,433 @@
               include "bt_format "
               org 0x0000
 0000 c284000e bbit1 8 ,pf_patch_ext 
-0001 c0000011 beq patch00_0 ,p_soft_reset 
-0002 c0450108 beq patch11_2 ,p_txon 
-0003 c0458049 beq patch11_3 ,p_initialize_radio_cont 
-0004 c04f8047 beq patch13_7 ,p_init_param 
-0005 c0570015 beq patch15_6 ,p_app_init 
-0006 c061809a beq patch18_3 ,p_mouse_start_work 
-0007 c064805c beq patch19_1 ,p_mouse_setgpio_hibernate 
-0008 c065006c beq patch19_2 ,p_mouse_lpm_before_common 
-0009 c06700a9 beq patch19_6 ,p_mouse_motion 
-000a c06800c3 beq patch1a_0 ,p_mouse_seting_dpi 
-000b c06b0082 beq patch1a_6 ,p_mouse_priority_bb_event 
-000c c06c80d4 beq patch1b_1 ,p_mouse_bb_event_timer 
+0001 c0000013 beq patch00_0 ,p_soft_reset 
+0002 c0450148 beq patch11_2 ,p_txon 
+0003 c045804b beq patch11_3 ,p_initialize_radio_cont 
+0004 c04f8049 beq patch13_7 ,p_init_param 
+0005 c0570017 beq patch15_6 ,p_app_init 
+0006 c06180c4 beq patch18_3 ,p_mouse_start_work 
+0007 c064805e beq patch19_1 ,p_mouse_setgpio_hibernate 
+0008 c065006e beq patch19_2 ,p_mouse_lpm_before_common 
+0009 c06700d3 beq patch19_6 ,p_mouse_motion 
+000a c06800ed beq patch1a_0 ,p_mouse_seting_dpi 
+000b c06b00aa beq patch1a_6 ,p_mouse_priority_bb_event 
+000c c06c80fe beq patch1b_1 ,p_mouse_bb_event_timer 
 000d 2020137c branch loop 
 
 pf_patch_ext:
-000e c0108106 beq patch24_1 ,p_spid_init 
-000f c0438102 beq patch30_7 ,p_ui_timer_check 
-0010 2020137c branch loop 
+000e c0108146 beq patch24_1 ,p_spid_init 
+000f c0438142 beq patch30_7 ,p_ui_timer_check 
+0010 c07100c2 beq patch3c_2 ,p_g24_pair_dispatch 
+0011 c0750084 beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0012 2020137c branch loop 
 
 p_soft_reset:
-0011 20800000 clear_stack 
-0012 204030f3 call app_param_init 
-0013 20403bfd call mouse_xtal_init 
-0014 20200804 branch soft_reset + 3 
+0013 20800000 clear_stack 
+0014 204030f3 call app_param_init 
+0015 20403bfd call mouse_xtal_init 
+0016 20200804 branch soft_reset + 3 
 
 p_app_init:
 
 p_mouse_init:
-0015 20406df3 call enable_authrom 
-0016 2040001d call p_mouse_wheel_set_wakeup 
-0017 20400029 call p_mouse_setting_config 
-0018 20400025 call p_lpm_write_ice_disable 
-0019 204041a7 call mouse_init_sunt 
-001a 20758000 rtn wake 
-001b 2040408e call mouse_dpi_config 
-001c 20203bc5 branch mouse_init + 4 
+0017 20406df3 call enable_authrom 
+0018 2040001f call p_mouse_wheel_set_wakeup 
+0019 2040002b call p_mouse_setting_config 
+001a 20400027 call p_lpm_write_ice_disable 
+001b 204041a7 call mouse_init_sunt 
+001c 20758000 rtn wake 
+001d 2040408e call mouse_dpi_config 
+001e 20203bc5 branch mouse_init + 4 
 
 p_mouse_wheel_set_wakeup:
-001d 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-001e 207a0000 rtn blank 
-001f 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-0020 d8400040 arg gpcfg_pullup ,temp 
-0021 20406093 call gpio_config_function_int 
-0022 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-0023 d8400040 arg gpcfg_pullup ,temp 
-0024 20206093 branch gpio_config_function_int 
+001f 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0020 207a0000 rtn blank 
+0021 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+0022 d8400040 arg gpcfg_pullup ,temp 
+0023 20406093 call gpio_config_function_int 
+0024 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+0025 d8400040 arg gpcfg_pullup ,temp 
+0026 20206093 branch gpio_config_function_int 
 
 p_lpm_write_ice_disable:
-0025 6ff10120 fetch 2 ,core_ucode_flag 
-0026 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
-0027 67f2004c store 4 ,core_lpm_reg 
-0028 20205caf branch lpm_write2_ctrl_option 
+0027 6ff10120 fetch 2 ,core_ucode_flag 
+0028 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
+0029 67f2004c store 4 ,core_lpm_reg 
+002a 20205caf branch lpm_write2_ctrl_option 
 
 p_mouse_setting_config:
-0029 20758000 rtn wake 
-002a 20402607 call g24_transmit_init 
-002b 204022ff call g24_chmap_param_init 
-002c 20403f1e call mouse_gpio_init 
-002d 20403d13 call mouse_param_init 
-002e 20400033 call p_mouse_sensor_set_angle 
-002f 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0030 20406050 call gpio_config_input 
-0031 20400043 call p_ice_gpio_set_float 
-0032 20203bf5 branch mouse_setting_config_next 
+002b 20758000 rtn wake 
+002c 20402607 call g24_transmit_init 
+002d 204022ff call g24_chmap_param_init 
+002e 20403f1e call mouse_gpio_init 
+002f 20403d13 call mouse_param_init 
+0030 20400035 call p_mouse_sensor_set_angle 
+0031 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0032 20406050 call gpio_config_input 
+0033 20400045 call p_ice_gpio_set_float 
+0034 20203bf5 branch mouse_setting_config_next 
 
 p_mouse_sensor_set_angle:
-0033 6fe0c924 fetch 1 ,mem_sensor_angle_default 
-0034 67e0c928 store 1 ,mem_config_sensor_angle 
-0035 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-0036 c17f8000 rtneq gpio_disable 
+0035 6fe0c924 fetch 1 ,mem_sensor_angle_default 
+0036 67e0c928 store 1 ,mem_config_sensor_angle 
 0037 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-0038 d840003e arg gpcfg_output_low ,temp 
-0039 20406093 call gpio_config_function_int 
-003a 6fe0cbe2 fetch 1 ,mem_mouse_reuse_2ice_gpio 
-003b d840003e arg gpcfg_output_low ,temp 
-003c 20406093 call gpio_config_function_int 
-003d 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-003e 20403f56 call mouse_gpio_config_input_pu 
+0038 c17f8000 rtneq gpio_disable 
+0039 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+003a d840003e arg gpcfg_output_low ,temp 
+003b 20406093 call gpio_config_function_int 
+003c 6fe0cbe2 fetch 1 ,mem_mouse_reuse_2ice_gpio 
+003d d840003e arg gpcfg_output_low ,temp 
+003e 20406093 call gpio_config_function_int 
 003f 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0040 20406059 call gpio_get_bit 
-0041 2440c2aa ncall mouse_sensor_switch_angle ,true 
-0042 20203f54 branch mouse_gpio_config_input_pd 
+0040 20403f56 call mouse_gpio_config_input_pu 
+0041 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0042 20406059 call gpio_get_bit 
+0043 2440c2aa ncall mouse_sensor_switch_angle ,true 
+0044 20203f54 branch mouse_gpio_config_input_pd 
 
 p_ice_gpio_set_float:
-0043 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-0044 2040607f call gpio_set_high_impedance 
-0045 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-0046 2020607f branch gpio_set_high_impedance 
+0045 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+0046 2040607f call gpio_set_high_impedance 
+0047 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+0048 2020607f branch gpio_set_high_impedance 
 
 p_init_param:
-0047 70008000 jam 0 ,mem_lmo_tid2 
-0048 202013b7 branch init_param_next + 1 
+0049 70008000 jam 0 ,mem_lmo_tid2 
+004a 202013b7 branch init_param_next + 1 
 
 p_initialize_radio_cont:
-0049 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-004a 2040126a call initialize_syn_afc_cfg1 
-004b 20401271 call initialize_rf_ldo_cfg1 
-004c 20401277 call initialize_rc_cal 
-004d 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-004e 708a0305 jam 5 ,core_clkpll_cfg0 
-004f 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-0050 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-0051 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-0052 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0053 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-0054 c0840056 bne xtal_16m ,p_initialize_radio_cont_next 
-0055 708a0834 jam 0x34 ,core_clkpll_cfg5 
+004b 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+004c 2040126a call initialize_syn_afc_cfg1 
+004d 20401271 call initialize_rf_ldo_cfg1 
+004e 20401277 call initialize_rc_cal 
+004f 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+0050 708a0305 jam 5 ,core_clkpll_cfg0 
+0051 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+0052 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+0053 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0054 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0055 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+0056 c0840058 bne xtal_16m ,p_initialize_radio_cont_next 
+0057 708a0834 jam 0x34 ,core_clkpll_cfg5 
 
 p_initialize_radio_cont_next:
-0056 708a01ff jam 0xff ,core_clkpll_ctrl1 
-0057 20000064 nop 100 
-0058 708a020e jam 0x0e ,core_clkpll_ctrl2 
-0059 708a0003 jam 0x03 ,core_clkpll_ctrl0 
-005a 2040010b call p_set_tx_power_pair 
-005b 20201265 branch initialize_radio_cont_next2 
+0058 708a01ff jam 0xff ,core_clkpll_ctrl1 
+0059 20000064 nop 100 
+005a 708a020e jam 0x0e ,core_clkpll_ctrl2 
+005b 708a0003 jam 0x03 ,core_clkpll_ctrl0 
+005c 2040014b call p_set_tx_power_pair 
+005d 20201265 branch initialize_radio_cont_next2 
 
 p_mouse_setgpio_hibernate:
-005c 204042e9 call mouse_set_sdio_high 
-005d 20407fdc call clear_wake 
-005e 20404015 call mouse_before_hibernate_wheel_gpio_set 
-005f 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0060 c07f8065 beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
-0061 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0062 20406069 call gpio_out_active 
+005e 204042e9 call mouse_set_sdio_high 
+005f 20407fdc call clear_wake 
+0060 20404015 call mouse_before_hibernate_wheel_gpio_set 
+0061 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0062 c07f8067 beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
 0063 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0064 20406042 call gpio_clr_wake 
+0064 20406069 call gpio_out_active 
+0065 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0066 20406042 call gpio_clr_wake 
 
 p_mouse_setgpio_hibernate_skip_public_gpio:
-0065 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-0066 20403f56 call mouse_gpio_config_input_pu 
-0067 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0068 d840003f arg gpcfg_output_high ,temp 
-0069 20406093 call gpio_config_function_int 
-006a 204000e6 call p_mouse_logo_led_on_timeout 
-006b 20203e36 branch mouse_setgpio_hibernate + 3 
+0067 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+0068 20403f56 call mouse_gpio_config_input_pu 
+0069 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+006a d840003f arg gpcfg_output_high ,temp 
+006b 20406093 call gpio_config_function_int 
+006c 2040011e call p_mouse_logo_led_on_timeout 
+006d 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-006c 20403f88 call mouse_wheel_check 
-006d 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-006e d840003f arg gpcfg_output_high ,temp 
-006f 20406093 call gpio_config_function_int 
-0070 6fe080a1 fetch 1 ,mem_gpio_wakeup_low + 2 
-0071 793ffe03 set0 3 ,pdata 
-0072 67e080a1 store 1 ,mem_gpio_wakeup_low + 2 
-0073 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0074 20406042 call gpio_clr_wake 
-0075 20405b04 call twspi_disable 
-0076 6848c918 fetcht 1 ,mem_lbutton_gpio 
-0077 20406036 call gpio_set_wake 
-0078 6848c919 fetcht 1 ,mem_rbutton_gpio 
+006e 20403f88 call mouse_wheel_check 
+006f 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0070 d840003f arg gpcfg_output_high ,temp 
+0071 20406093 call gpio_config_function_int 
+0072 6fe080a1 fetch 1 ,mem_gpio_wakeup_low + 2 
+0073 793ffe03 set0 3 ,pdata 
+0074 67e080a1 store 1 ,mem_gpio_wakeup_low + 2 
+0075 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0076 20406042 call gpio_clr_wake 
+0077 20405b04 call twspi_disable 
+0078 6848c918 fetcht 1 ,mem_lbutton_gpio 
 0079 20406036 call gpio_set_wake 
-007a 6848c91a fetcht 1 ,mem_mbutton_gpio 
+007a 6848c919 fetcht 1 ,mem_rbutton_gpio 
 007b 20406036 call gpio_set_wake 
-007c 6848c90d fetcht 1 ,mem_bk_button_gpio 
+007c 6848c91a fetcht 1 ,mem_mbutton_gpio 
 007d 20406036 call gpio_set_wake 
-007e 6848c90e fetcht 1 ,mem_fw_button_gpio 
+007e 6848c90d fetcht 1 ,mem_bk_button_gpio 
 007f 20406036 call gpio_set_wake 
-0080 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0081 20206036 branch gpio_set_wake 
+0080 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0081 20406036 call gpio_set_wake 
+0082 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0083 20206036 branch gpio_set_wake 
+
+p_g24_transmit_no_interrupt:
+0084 20402631 call g24_txdata_prep 
+0085 2434009c nbranch p_g24_nodata_transmit ,user 
+
+p_g24_transmit_start:
+0086 20402646 call g24_transmit_process 
+0087 204026ee call power_ctrl_start 
+0088 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0089 243a008e nbranch p_g24_short_sleep ,blank 
+008a 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+008b 67e4485c store 8 ,mem_24g_enter_hibernate 
+008c 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+008d 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+
+p_g24_short_sleep:
+008e 204026bb call g24_lpm_wait 
+008f 24740000 nrtn user 
+0090 20407fdc call clear_wake 
+0091 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0092 202026b8 branch g24_long_sleep2 
+
+p_mouse_24g_hibernate_set:
+0093 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
+0094 20402652 call g24_transmit_next_packet 
+0095 5fffffff setarg -1 
+0096 67e2485c store 4 ,mem_24g_enter_hibernate 
+0097 58000000 setarg 0 
+0098 67e3c8d0 store 7 ,mem_mouse_key 
+0099 704be101 jam 1 ,mem_sensor_shutdown_flag 
+009a 2040423c call mouse_sensor_powerdown 
+009b 202000a2 branch p_g24_long_sleep 
+
+p_g24_nodata_transmit:
+009c 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+009d 205a26a7 call g24_send_abort_packet ,blank 
+009e 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+009f c1008000 rtneq g24_tx_timer_int_enable 
+00a0 2040269f call g24_search_receiver 
+00a1 202000a2 branch p_g24_long_sleep 
+
+p_g24_long_sleep:
+00a2 204026bb call g24_lpm_wait 
+00a3 24740000 nrtn user 
+00a4 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+00a5 245a3e33 ncall mouse_setgpio_hibernate ,blank 
+00a6 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
+00a7 20407daa call clk2lpo 
+00a8 604a4160 storet 4 ,mem_sleep_counter 
+00a9 20201497 branch lpm_sleep 
 
 p_mouse_priority_bb_event:
-0082 1a627e00 copy regc ,pdata 
-0083 c01e0086 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0084 c01d008c beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0085 20204336 branch mouse_priority_bb_event + 2 
+00aa 1a627e00 copy regc ,pdata 
+00ab c01e00ae beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+00ac c01d00b4 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+00ad 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_success:
-0086 6fe2483c fetch 4 ,mem_24g_addr 
-0087 67e24891 store 4 ,mem_24g_receiver_addr 
-0088 67e24993 store 4 ,mem_mouse_24g_addr 
-0089 2040257e call g24_ch_syncword_crc8_init 
-008a 204048c6 call mouse_device_poweron_timer_init 
-008b 2020484e branch mouse_24g_attempt_success 
+00ae 6fe2483c fetch 4 ,mem_24g_addr 
+00af 67e24891 store 4 ,mem_24g_receiver_addr 
+00b0 67e24993 store 4 ,mem_mouse_24g_addr 
+00b1 2040257e call g24_ch_syncword_crc8_init 
+00b2 204048c6 call mouse_device_poweron_timer_init 
+00b3 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_attempt_fail:
-008c 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-008d 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
-008e 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-008f c0010091 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-0090 20204837 branch mouse_24g_attempt_fail + 4 
+00b4 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+00b5 243a0093 nbranch p_mouse_24g_hibernate_set ,blank 
+00b6 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+00b7 c00100b9 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+00b8 20204837 branch mouse_24g_attempt_fail + 4 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0091 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0092 c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
-0093 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-0094 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-0095 6fe24993 fetch 4 ,mem_mouse_24g_addr 
-0096 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
-0097 98467c00 isub temp ,null 
-0098 2022c827 branch mouse_24g_start_pair_mode ,zero 
-0099 20204806 branch mouse_24g_reconn_dongle_start 
+00b9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00ba c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+00bb c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+00bc c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+00bd 6fe24993 fetch 4 ,mem_mouse_24g_addr 
+00be 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
+00bf 98467c00 isub temp ,null 
+00c0 2022c827 branch mouse_24g_start_pair_mode ,zero 
+00c1 20204806 branch mouse_24g_reconn_dongle_start 
+
+p_g24_pair_dispatch:
+00c2 70488b00 jam default_24g_device ,mem_24g_reconn_type 
+00c3 20202341 branch g24_pair_dispatch + 1 
 
 p_mouse_start_work:
-009a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-009b c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-009c 6fe0c938 fetch 1 ,mem_device_flag 
-009d c000009f beq mode_24g_device ,p_mouse_24g_start_mode 
-009e 20203d57 branch mouse_start_work + 5 
+00c4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00c5 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+00c6 6fe0c938 fetch 1 ,mem_device_flag 
+00c7 c00000c9 beq mode_24g_device ,p_mouse_24g_start_mode 
+00c8 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-009f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00a0 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-00a1 20403d65 call mouse_wakeup_from_power_check 
-00a2 20344806 branch mouse_24g_reconn_dongle_start ,user 
-00a3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00a4 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-00a5 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-00a6 20404110 call mouse_key_check_once 
-00a7 1a217e07 and rega ,0x07 ,pdata 
-00a8 202047ff branch mouse_24g_start_mode + 9 
+00c9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00ca c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+00cb 20403d65 call mouse_wakeup_from_power_check 
+00cc 20344806 branch mouse_24g_reconn_dongle_start ,user 
+00cd 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00ce c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+00cf c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+00d0 20404110 call mouse_key_check_once 
+00d1 1a217e07 and rega ,0x07 ,pdata 
+00d2 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_motion:
-00a9 78547c00 disable user 
-00aa 58000000 setarg 0 
-00ab 67e348d1 store 6 ,mem_mouse_x 
-00ac 20404240 call mouse_check_sensor_data 
-00ad 2040408e call mouse_dpi_config 
-00ae 20403f7e call mouse_zwheel 
-00af 20403f83 call mouse_t_zwheel 
-00b0 204040dc call mouse_key 
-00b1 6fe0c8d0 fetch 1 ,mem_mouse_key 
-00b2 1fe17e1f and_into 0x1f ,pdata 
-00b3 67e0c8d0 store 1 ,mem_mouse_key 
-00b4 243400b8 nbranch p_mouse_motion_nodata ,user 
-00b5 2040471a call mouse_drawing_optima 
-00b6 204000bb call p_mouse_logo_led_on_check 
-00b7 20204544 branch mouse_no_data_timer_init 
+00d3 78547c00 disable user 
+00d4 58000000 setarg 0 
+00d5 67e348d1 store 6 ,mem_mouse_x 
+00d6 20404240 call mouse_check_sensor_data 
+00d7 2040408e call mouse_dpi_config 
+00d8 20403f7e call mouse_zwheel 
+00d9 20403f83 call mouse_t_zwheel 
+00da 204040dc call mouse_key 
+00db 6fe0c8d0 fetch 1 ,mem_mouse_key 
+00dc 1fe17e1f and_into 0x1f ,pdata 
+00dd 67e0c8d0 store 1 ,mem_mouse_key 
+00de 243400e2 nbranch p_mouse_motion_nodata ,user 
+00df 2040471a call mouse_drawing_optima 
+00e0 204000e5 call p_mouse_logo_led_on_check 
+00e1 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_motion_nodata:
-00b8 20404728 call mouse_drawing_optima_init 
-00b9 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
-00ba 20600000 rtn 
+00e2 20404728 call mouse_drawing_optima_init 
+00e3 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
+00e4 20600000 rtn 
 
 p_mouse_logo_led_on_check:
-00bb 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
-00bc 1fe0fe01 increase 1 ,pdata 
-00bd 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
-00be 1fe67c08 sub pdata ,low_voltage_led_count ,null 
-00bf 20610000 rtn positive 
+00e5 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
+00e6 1fe0fe01 increase 1 ,pdata 
+00e7 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
+00e8 1fe67c08 sub pdata ,low_voltage_led_count ,null 
+00e9 20610000 rtn positive 
 
 p_mouse_logo_led_on:
-00c0 58000258 setarg 0x0258 
-00c1 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-00c2 20600000 rtn 
+00ea 58000258 setarg 0x0258 
+00eb 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+00ec 20600000 rtn 
 
 p_mouse_seting_dpi:
-00c3 2040408f call mouse_setting_dpi_4_level 
-00c4 204000c6 call p_mouse_dpi_led_blink_delay 
-00c5 20204098 branch mouse_seting_sensor_type 
+00ed 2040408f call mouse_setting_dpi_4_level 
+00ee 204000f0 call p_mouse_dpi_led_blink_delay 
+00ef 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-00c6 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-00c7 c17f8000 rtneq gpio_disable 
-00c8 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-00c9 247a0000 nrtn blank 
-00ca 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-00cb 247a0000 nrtn blank 
-00cc 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-00cd 247a0000 nrtn blank 
-00ce 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-00cf 247a0000 nrtn blank 
-00d0 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-00d1 203a00ed branch p_mouse_dpi_led_blink_init ,blank 
-00d2 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-00d3 20600000 rtn 
+00f0 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+00f1 c17f8000 rtneq gpio_disable 
+00f2 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+00f3 247a0000 nrtn blank 
+00f4 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+00f5 247a0000 nrtn blank 
+00f6 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+00f7 247a0000 nrtn blank 
+00f8 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+00f9 247a0000 nrtn blank 
+00fa 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+00fb 203a0125 branch p_mouse_dpi_led_blink_init ,blank 
+00fc 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+00fd 20600000 rtn 
 
 p_mouse_bb_event_timer:
-00d4 20403e9b call mouse_adc_read 
-00d5 20404956 call mouse_low_voltage_led_timer 
-00d6 2040232b call g24_pair_timeout_timer 
-00d7 20402556 call g24_reconn_timeout_timer 
-00d8 204047cd call mouse_24g_long_sleep_param_update_timer 
-00d9 204048be call mouse_device_poweron_timer 
-00da 204000ea call p_mouse_dpi_led_blink_delay_timer 
-00db 204000dd call p_mouse_logo_led_on_timer 
-00dc 202044bd branch mouse_bb_event_timer + 8 
+00fe 20403e9b call mouse_adc_read 
+00ff 20404956 call mouse_low_voltage_led_timer 
+0100 2040232b call g24_pair_timeout_timer 
+0101 20402556 call g24_reconn_timeout_timer 
+0102 204047cd call mouse_24g_long_sleep_param_update_timer 
+0103 204048be call mouse_device_poweron_timer 
+0104 20400122 call p_mouse_dpi_led_blink_delay_timer 
+0105 20400115 call p_mouse_logo_led_on_timer 
+0106 2040407c call mouse_dpi_key_check_long_press 
+0107 204044cc call mouse_bt_discovery_check 
+0108 204044dc call mouse_commbination_key_process 
+0109 204044ff call mouse_check_discovery_timeout_timer 
+010a 20404504 call mouse_check_direct_timeout_timer 
+010b 20404512 call mouse_le_enable_att_list_timer 
+010c 2040451f call mouse_le_battery_updata_timer 
+010d 20404515 call mouse_le_send_smp_security_request_timer 
+010e 2040452a call mouse_check_hid_handshake_timer 
+010f 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+0110 20404532 call mouse_check_reconnect_delay_long_sleep 
+0111 20404535 call mouse_current_mult_update_timer 
+0112 20404022 call mouse_wheel_trigger_timer 
+0113 20404547 call mouse_store_information_delay_timer 
+0114 2020013a branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_logo_led_on_timer:
-00dd 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
-00de c17f8000 rtneq gpio_disable 
-00df 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
-00e0 207a0000 rtn blank 
-00e1 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-00e2 20406069 call gpio_out_active 
-00e3 da604be5 arg mem_mouse_logo_led_on_timer ,regc 
-00e4 da4000e6 arg p_mouse_logo_led_on_timeout ,regb 
-00e5 20203191 branch timer_single_step_2b 
+0115 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
+0116 c17f8000 rtneq gpio_disable 
+0117 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
+0118 207a0000 rtn blank 
+0119 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+011a 20406069 call gpio_out_active 
+011b da604be5 arg mem_mouse_logo_led_on_timer ,regc 
+011c da40011e arg p_mouse_logo_led_on_timeout ,regb 
+011d 20203191 branch timer_single_step_2b 
 
 p_mouse_logo_led_on_timeout:
-00e6 58000000 setarg 0 
-00e7 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-00e8 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-00e9 20206065 branch gpio_out_inactive 
+011e 58000000 setarg 0 
+011f 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+0120 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+0121 20206065 branch gpio_out_inactive 
 
 p_mouse_dpi_led_blink_delay_timer:
-00ea da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-00eb da4000ed arg p_mouse_dpi_led_blink_init ,regb 
-00ec 2020318a branch timer_single_step 
+0122 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+0123 da400125 arg p_mouse_dpi_led_blink_init ,regb 
+0124 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-00ed 6fe0c927 fetch 1 ,mem_config_sensor_type 
-00ee c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-00ef c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-00f0 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-00f1 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-00f2 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-00f3 67e14930 store 2 ,mem_mouse_on_time 
-00f4 67e14932 store 2 ,mem_mouse_off_time 
-00f5 da200000 arg 0 ,rega 
-00f6 6848c992 fetcht 1 ,mem_mouse_dpi 
-00f7 18408402 increase 2 ,temp 
-00f8 18467c03 sub temp ,3 ,null 
-00f9 204100fc call p_mouse_dpi_led_blink_init_level_4 ,positive 
-00fa 24410100 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-00fb 202048ff branch mouse_dpi_led_blink_init_end 
+0125 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0126 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+0127 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+0128 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0129 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+012a 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+012b 67e14930 store 2 ,mem_mouse_on_time 
+012c 67e14932 store 2 ,mem_mouse_off_time 
+012d da200000 arg 0 ,rega 
+012e 6848c992 fetcht 1 ,mem_mouse_dpi 
+012f 18408402 increase 2 ,temp 
+0130 18467c03 sub temp ,3 ,null 
+0131 20410134 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+0132 24410138 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0133 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-00fc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00fd c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-00fe 18408401 increase 1 ,temp 
-00ff 20600000 rtn 
+0134 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0135 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+0136 18408401 increase 1 ,temp 
+0137 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-0100 184085fd increase -3 ,temp 
-0101 20600000 rtn 
+0138 184085fd increase -3 ,temp 
+0139 20600000 rtn 
+
+p_mouse_check_no_data_timeout_timer:
+013a 6fe0c92a fetch 1 ,mem_usb_addr 
+013b c3838000 rtnbit1 7 
+013c da604ab2 arg mem_mouse_no_data_timer ,regc 
+013d da40013f arg p_mouse_check_no_data_timeout ,regb 
+013e 20203191 branch timer_single_step_2b 
+
+p_mouse_check_no_data_timeout:
+013f 6fe0c938 fetch 1 ,mem_device_flag 
+0140 c0000093 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+0141 2020431b branch mouse_disconnect 
 
 p_ui_timer_check:
-0102 6fe0cbe7 fetch 1 ,mem_power_on_flag 
-0103 245a7861 ncall ui_timer_init ,blank 
-0104 704be700 jam 0 ,mem_power_on_flag 
-0105 20207851 branch ui_timer_check + 1 
+0142 6fe0cbe7 fetch 1 ,mem_power_on_flag 
+0143 245a7861 ncall ui_timer_init ,blank 
+0144 704be700 jam 0 ,mem_power_on_flag 
+0145 20207851 branch ui_timer_check + 1 
 
 p_spid_init:
-0106 70448476 jam 0x76 ,mem_spi_init_clk 
-0107 20205cb6 branch spid_init_common 
+0146 70448476 jam 0x76 ,mem_spi_init_clk 
+0147 20205cb6 branch spid_init_common 
 
 p_txon:
-0108 6fe0c1e8 fetch 1 ,mem_tx_power 
-0109 c04f810b beq tx_power_pair ,p_set_tx_power_pair 
-010a 2020121f branch txon_next 
+0148 6fe0c1e8 fetch 1 ,mem_tx_power 
+0149 c04f814b beq tx_power_pair ,p_set_tx_power_pair 
+014a 2020121f branch txon_next 
 
 p_set_tx_power_pair:
-010b 708a3905 jam 0x05 ,core_tx_pwr_ctrl0 
-010c 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
-010d 2020122a branch set_rf_ldo_cfg89 
+014b 708a3905 jam 0x05 ,core_tx_pwr_ctrl0 
+014c 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
+014d 2020122a branch set_rf_ldo_cfg89 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G_LRpair/program/patch.prog	(revision 726)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/MingAo_Only2.4G_LRpair/program/patch.prog	(working copy)
@@ -18,6 +18,9 @@
 pf_patch_ext:
 	beq patch24_1,p_spid_init
 	beq patch30_7,p_ui_timer_check			
+	beq patch3c_2,p_g24_pair_dispatch	
+	beq patch3d_2,p_g24_transmit_no_interrupt
+
 	branch loop
 
 p_soft_reset:
@@ -175,6 +178,57 @@
 	fetcht 1,mem_dpi_button_gpio
 	branch gpio_set_wake
 
+p_g24_transmit_no_interrupt:
+	call g24_txdata_prep
+	nbranch p_g24_nodata_transmit,user
+p_g24_transmit_start:
+	call g24_transmit_process
+	call power_ctrl_start
+	fetch 1,mem_sensor_shutdown_flag
+	nbranch p_g24_short_sleep,blank
+	fetch 8,mem_24g_long_sleep_set
+	store 8,mem_24g_enter_hibernate
+	fetch 2,mem_24g_long_sleep_param_update_timer_init
+	store 2,mem_24g_long_sleep_param_update_timer
+p_g24_short_sleep:
+	call g24_lpm_wait
+	nrtn user
+	call clear_wake
+	fetch 3,mem_24g_short_sleep_set
+	branch g24_long_sleep2
+
+
+p_mouse_24g_hibernate_set:
+	jam 0,mem_24g_attempt_fail_flag
+	call g24_transmit_next_packet
+	setarg -1
+	store 4,mem_24g_enter_hibernate
+	setarg 0
+	store 7,mem_mouse_key
+	jam 1,mem_sensor_shutdown_flag
+	call mouse_sensor_powerdown
+	branch p_g24_long_sleep
+
+p_g24_nodata_transmit:
+	fetch 1,mem_24g_abort_pac
+	call g24_send_abort_packet,blank
+	fetch 1,mem_24g_transmit_by_interrupt
+	rtneq G24_TX_TIMER_INT_ENABLE
+	call g24_search_receiver
+	branch p_g24_long_sleep
+
+
+p_g24_long_sleep:
+	call g24_lpm_wait
+	nrtn user
+	fetch 1,mem_sensor_shutdown_flag
+	ncall mouse_setgpio_hibernate,blank
+	fetch 4,mem_24g_enter_hibernate
+	call clk2lpo
+	storet 4,mem_sleep_counter
+  	branch lpm_sleep
+
+
 
 
 
@@ -195,7 +249,7 @@
 
 p_mouse_24g_attempt_fail:
 	fetch 1,mem_24g_attempt_fail_flag
-	nbranch mouse_24g_hibernate_set,blank
+	nbranch p_mouse_24g_hibernate_set,blank
 	fetch 1,mem_24g_reconn_type
 	beq FAST_CONN_AND_3_0_ADDR,p_mouse_24g_fast_conn_attempt_fail
 	branch mouse_24g_attempt_fail+4
@@ -210,6 +264,10 @@
 	isub temp,null
 	branch mouse_24g_start_pair_mode,zero
 	branch mouse_24g_reconn_dongle_start
+	
+p_g24_pair_dispatch:
+	jam DEFAULT_24G_DEVICE,mem_24g_reconn_type
+	branch g24_pair_dispatch+1
 
 
 p_mouse_start_work:
@@ -300,7 +358,24 @@
 	call mouse_device_poweron_timer
 	call p_mouse_dpi_led_blink_delay_timer
 	call p_mouse_logo_led_on_timer
-	branch mouse_bb_event_timer+8
+	//poll
+	call mouse_dpi_key_check_long_press
+	call mouse_bt_discovery_check
+	call mouse_commbination_key_process
+	call mouse_check_discovery_timeout_timer
+	//ble
+	call mouse_check_direct_timeout_timer
+	call mouse_le_enable_att_list_timer
+	call mouse_le_battery_updata_timer
+	call mouse_le_send_smp_security_request_timer
+	//bt
+	call mouse_check_hid_handshake_timer
+	call mouse_bt_check_sniff_req_timeout_timer
+	call mouse_check_reconnect_delay_long_sleep		//delete 3.0,reconnect fail
+	call mouse_current_mult_update_timer
+	call mouse_wheel_trigger_timer
+	call mouse_store_information_delay_timer
+	branch p_mouse_check_no_data_timeout_timer
 
 p_mouse_logo_led_on_timer:
 	fetch 1,mem_mouse_logo_led_gpio
@@ -351,6 +426,17 @@
 	rtn
 /////////////////////////////////////////////////////////////////////////////////////////////////
 
+p_mouse_check_no_data_timeout_timer:
+	fetch 1,mem_usb_addr
+	rtnbit1 7
+	arg mem_mouse_no_data_timer,regc
+	arg p_mouse_check_no_data_timeout,regb
+	branch timer_single_step_2B
+
+p_mouse_check_no_data_timeout:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,p_mouse_24g_hibernate_set
+	branch mouse_disconnect	
 p_ui_timer_check:		// 100ms timer will return 4 or 5 times when power on
 	fetch 1,mem_power_on_flag
 	ncall ui_timer_init,blank
