Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/format/app_mouse.format	(revision 545)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/format/app_mouse.format	(working copy)
@@ -383,6 +383,7 @@
 
 1 mem_mouse_led_state
 1 mem_mouse_led_gpio
+1 mem_multi_led_gpio
 1 mem_power_check_state_led_gpio
 1 mem_power_charge_in_check_gpio
 1 mem_mouse_multi_led_type
@@ -392,6 +393,7 @@
 1 mem_mouse_led_blink_count_limited
 1 mem_mouse_charge_in_state
 1 mem_power_charge_in_full_check_gpio
+
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/output/eeprom.dat	(revision 545)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/output/eeprom.dat	(working copy)
@@ -2,72 +2,76 @@
 02
 aa
 55
-9e
+82
 0b
 c2
 84
 00
-11
+12
 c0
 00
 00
-16
+17
 c0
 01
 80
-1a
+1b
 c0
 45
 00
-6e
+6f
 c0
 45
 80
-bb
+bc
 c0
 4f
 80
-b9
+ba
 c0
 57
 00
-74
+75
 c0
 61
 80
-93
+94
 c0
 64
 80
-c6
+c7
 c0
 65
 00
-d5
+cc
 c0
 67
 00
-f5
+ee
 c0
 68
 82
-49
+3e
 c0
 69
 81
-b8
+ad
 c0
 6a
 01
-b9
+ae
 c0
 6b
 00
-df
+d8
 c0
 6c
 80
-fc
+f5
+c0
+6f
+46
+4d
 20
 20
 13
@@ -75,19 +79,19 @@
 c0
 19
 80
-4d
+4e
 c0
 1a
 00
-53
+54
 c0
 43
 80
-27
+28
 c0
 75
 01
-ba
+af
 20
 20
 13
@@ -203,7 +207,7 @@
 24
 21
 00
-3a
+3b
 1a
 20
 a2
@@ -215,7 +219,7 @@
 24
 3a
 00
-2d
+2e
 da
 20
 00
@@ -223,7 +227,7 @@
 20
 40
 00
-40
+41
 1c
 42
 7e
@@ -311,7 +315,7 @@
 20
 20
 00
-41
+42
 da
 20
 09
@@ -451,7 +455,7 @@
 24
 3a
 00
-71
+72
 20
 20
 12
@@ -475,7 +479,7 @@
 20
 40
 00
-7a
+7b
 20
 75
 80
@@ -487,7 +491,7 @@
 20
 40
 00
-90
+91
 20
 20
 3b
@@ -507,7 +511,7 @@
 20
 40
 00
-7f
+80
 20
 20
 3b
@@ -523,7 +527,7 @@
 68
 48
 cc
-b5
+b6
 20
 40
 3f
@@ -531,7 +535,7 @@
 68
 48
 cc
-ae
+af
 20
 40
 3f
@@ -583,7 +587,7 @@
 58
 00
 01
-e6
+db
 67
 e1
 48
@@ -607,7 +611,7 @@
 c0
 00
 00
-9a
+9b
 20
 40
 3d
@@ -643,7 +647,7 @@
 20
 40
 00
-ae
+af
 1f
 e1
 7e
@@ -695,7 +699,7 @@
 c2
 00
 00
-a9
+aa
 20
 60
 00
@@ -804,34 +808,6 @@
 40
 7f
 dc
-20
-40
-40
-15
-6f
-e0
-c9
-10
-c0
-7f
-80
-cf
-68
-48
-c9
-10
-20
-40
-60
-69
-68
-48
-c9
-10
-20
-40
-60
-42
 68
 48
 cb
@@ -840,18 +816,6 @@
 40
 3f
 56
-6f
-e0
-c9
-20
-d8
-40
-00
-3f
-20
-40
-60
-93
 20
 20
 3e
@@ -893,9 +857,17 @@
 cb
 eb
 20
-20
+40
 60
 36
+d8
+40
+00
+04
+20
+20
+3f
+56
 1a
 62
 7e
@@ -903,15 +875,15 @@
 c0
 1e
 00
-e4
+dd
 c0
 1c
 80
-ea
+e3
 c0
 1d
 00
-ec
+e5
 20
 20
 43
@@ -967,7 +939,7 @@
 c0
 01
 80
-f2
+eb
 20
 20
 48
@@ -975,7 +947,7 @@
 20
 40
 00
-a5
+a6
 20
 34
 48
@@ -1015,27 +987,27 @@
 20
 40
 01
-0c
+05
 20
 40
 01
-24
+1d
 6f
 e0
 cc
-b4
+b5
 24
 3a
 00
-fc
+f5
 20
 40
 01
-3f
+3b
 20
 40
 01
-7f
+74
 20
 40
 23
@@ -1055,23 +1027,23 @@
 20
 40
 01
-89
+7e
 20
 40
 01
-9c
+91
 20
 40
 02
-93
+8c
 20
 40
 01
-ae
+a3
 20
 40
 01
-5b
+50
 20
 20
 44
@@ -1079,7 +1051,7 @@
 68
 48
 cc
-ae
+af
 20
 40
 3f
@@ -1087,7 +1059,7 @@
 68
 48
 cc
-ae
+af
 20
 40
 60
@@ -1095,27 +1067,27 @@
 24
 20
 81
-19
+12
 6f
 e0
 cc
-b4
+b5
 20
 7a
 00
 00
 70
 4c
-b4
+b5
 00
 20
 40
 01
-53
+4a
 68
 48
 cc
-b5
+b6
 20
 40
 3f
@@ -1123,7 +1095,7 @@
 68
 48
 cc
-ae
+af
 20
 20
 3f
@@ -1131,7 +1103,7 @@
 68
 48
 cc
-b5
+b6
 20
 40
 3f
@@ -1139,7 +1111,7 @@
 68
 48
 cc
-b5
+b6
 20
 40
 60
@@ -1147,31 +1119,31 @@
 24
 20
 81
-11
+0a
 20
 40
 01
-15
+0e
 6f
 e0
 cc
-b4
+b5
 24
 7a
 00
 00
 70
 4c
-b4
+b5
 01
 20
 40
 01
-78
+44
 20
 20
 01
-57
+64
 6f
 e4
 4b
@@ -1194,8 +1166,12 @@
 00
 20
 40
+01
+2d
+20
+40
 00
-53
+54
 20
 40
 61
@@ -1232,6 +1208,14 @@
 20
 3e
 ce
+d8
+40
+00
+04
+20
+20
+60
+7f
 ef
 e4
 00
@@ -1315,51 +1299,15 @@
 c3
 02
 01
-53
+4a
 6f
 e0
-c8
-f8
-1f
-e0
-fe
-01
+cc
+ae
 67
 e0
-c8
-f8
-1f
-e6
-7c
-3c
-24
-41
-01
-52
-c0
-02
-81
-57
-c0
-03
-81
-53
-c0
-06
-81
-57
-c0
-07
-81
-53
-20
-60
-00
-00
-70
-48
-f8
-01
+cc
+ac
 68
 48
 cc
@@ -1376,10 +1324,18 @@
 20
 60
 69
+6f
+e0
+cc
+ad
+67
+e0
+cc
+ac
 68
 48
 cc
-ad
+ae
 20
 40
 60
@@ -1387,11 +1343,11 @@
 68
 48
 cc
-ad
+ae
 20
 20
 60
-65
+69
 6f
 e0
 c8
@@ -1403,11 +1359,11 @@
 6f
 e0
 cc
-af
+b0
 c0
 00
 81
-62
+57
 6f
 e0
 cc
@@ -1415,19 +1371,19 @@
 24
 3a
 01
-6f
+64
 20
 20
 01
-78
+6d
 da
 60
 4c
-b1
+b2
 da
 40
 01
-65
+5a
 20
 20
 31
@@ -1435,19 +1391,19 @@
 6f
 e0
 cc
-b0
+b1
 67
 e0
 cc
-b1
+b2
 6f
 e0
 cc
-b2
+b3
 20
 3a
 01
-76
+6b
 1f
 e0
 ff
@@ -1455,7 +1411,7 @@
 67
 e0
 cc
-b2
+b3
 6f
 e0
 cc
@@ -1463,11 +1419,11 @@
 c0
 00
 81
-78
+6d
 c0
 00
 01
-6f
+64
 20
 60
 00
@@ -1502,11 +1458,11 @@
 65
 70
 4c
-af
+b0
 00
 70
 4c
-b1
+b2
 00
 6f
 e0
@@ -1559,7 +1515,7 @@
 20
 3a
 01
-78
+6d
 1f
 e1
 7e
@@ -1567,11 +1523,11 @@
 c0
 01
 81
-6f
+64
 c0
 00
 81
-78
+6d
 20
 60
 00
@@ -1587,7 +1543,7 @@
 20
 3a
 01
-96
+8b
 c1
 02
 80
@@ -1611,7 +1567,7 @@
 da
 40
 01
-93
+88
 20
 20
 31
@@ -1627,7 +1583,7 @@
 20
 20
 01
-9a
+8f
 6f
 e0
 cc
@@ -1659,7 +1615,7 @@
 c0
 83
 01
-ab
+a0
 da
 60
 4c
@@ -1667,7 +1623,7 @@
 da
 40
 01
-a1
+96
 20
 20
 31
@@ -1683,26 +1639,26 @@
 c0
 81
 81
-a5
+9a
 58
 00
 00
 00
 70
 4c
-af
+b0
 01
 70
 4c
-b1
+b2
 02
 70
 4c
-b0
+b1
 02
 70
 4c
-b2
+b3
 04
 67
 e0
@@ -1739,7 +1695,7 @@
 da
 40
 01
-b3
+a8
 20
 20
 31
@@ -1783,7 +1739,7 @@
 20
 40
 01
-d2
+c7
 20
 20
 26
@@ -1795,7 +1751,7 @@
 20
 5a
 01
-c4
+b9
 6f
 e0
 c8
@@ -1867,7 +1823,7 @@
 20
 20
 01
-bc
+b1
 70
 48
 a6
@@ -1895,11 +1851,11 @@
 24
 2c
 01
-dd
+d2
 24
 37
 81
-dd
+d2
 20
 40
 26
@@ -1947,7 +1903,7 @@
 20
 20
 01
-d3
+c8
 c6
 93
 00
@@ -1967,7 +1923,7 @@
 24
 3a
 01
-ec
+e1
 20
 60
 00
@@ -1987,15 +1943,15 @@
 24
 3a
 01
-f9
+ee
 6f
 e0
 cc
 9c
 24
 3a
-02
-00
+01
+f5
 68
 48
 cc
@@ -2007,7 +1963,7 @@
 20
 20
 82
-0f
+04
 28
 4f
 fe
@@ -2015,7 +1971,7 @@
 20
 20
 82
-13
+08
 da
 40
 4b
@@ -2030,24 +1986,24 @@
 8b
 c2
 80
-02
-02
+01
+f7
 c2
 80
 82
-18
+0d
 c2
 81
 02
-38
+2d
 c2
 81
 82
-45
+3a
 c2
 82
 02
-47
+3c
 20
 60
 00
@@ -2067,7 +2023,7 @@
 c2
 83
 82
-0d
+02
 6f
 e0
 cc
@@ -2079,11 +2035,11 @@
 c0
 01
 02
-0b
+00
 c0
 00
-82
-09
+81
+fe
 20
 60
 00
@@ -2135,7 +2091,7 @@
 c0
 00
 01
-f7
+ec
 79
 3f
 84
@@ -2147,7 +2103,7 @@
 20
 20
 01
-f7
+ec
 6f
 e0
 cb
@@ -2155,7 +2111,7 @@
 c2
 83
 82
-23
+18
 6f
 e0
 cc
@@ -2163,11 +2119,11 @@
 c0
 00
 82
-1f
+14
 c0
 01
 02
-21
+16
 da
 40
 4b
@@ -2199,7 +2155,7 @@
 c0
 00
 82
-28
+1d
 da
 40
 4c
@@ -2227,15 +2183,15 @@
 c0
 00
 82
-32
+27
 c0
 01
 02
-34
+29
 c0
 01
 82
-36
+2b
 da
 40
 4c
@@ -2283,7 +2239,7 @@
 c2
 83
 82
-3f
+34
 6f
 e0
 cc
@@ -2291,11 +2247,11 @@
 c0
 00
 82
-41
+36
 c0
 01
 02
-43
+38
 da
 40
 4b
@@ -2355,23 +2311,23 @@
 20
 40
 02
-83
+7c
 20
 40
 02
-9b
+94
 20
 40
 02
-a6
+9f
 20
 40
 02
-af
+a8
 20
 40
 02
-b8
+b1
 1a
 22
 7e
@@ -2380,6 +2336,22 @@
 e0
 cb
 8b
+6f
+e0
+cc
+a2
+c1
+00
+00
+00
+6f
+e4
+48
+b0
+67
+e4
+48
+5c
 20
 60
 00
@@ -2415,15 +2387,15 @@
 c0
 1c
 02
-6a
+63
 c0
 00
 02
-78
+71
 c0
 1f
 82
-5e
+57
 20
 60
 00
@@ -2447,7 +2419,7 @@
 20
 20
 82
-64
+5d
 20
 60
 00
@@ -2507,7 +2479,7 @@
 c0
 01
 02
-74
+6d
 70
 4c
 a9
@@ -2515,7 +2487,7 @@
 20
 20
 02
-78
+71
 70
 4c
 aa
@@ -2539,7 +2511,7 @@
 c0
 00
 82
-76
+6f
 68
 48
 cc
@@ -2591,7 +2563,7 @@
 20
 40
 02
-53
+4c
 67
 e0
 cc
@@ -2603,15 +2575,15 @@
 c2
 80
 02
-8c
+85
 20
 40
 02
-d7
+d0
 20
 20
 02
-a3
+9c
 2a
 2f
 fe
@@ -2619,11 +2591,11 @@
 20
 20
 82
-8f
+88
 20
 20
 02
-d3
+cc
 6f
 e0
 cc
@@ -2639,7 +2611,7 @@
 20
 20
 02
-d3
+cc
 6f
 e0
 cb
@@ -2687,7 +2659,7 @@
 20
 40
 02
-53
+4c
 67
 e0
 cc
@@ -2699,11 +2671,11 @@
 c2
 80
 82
-d3
+cc
 20
 40
 02
-d7
+d0
 6f
 e0
 cb
@@ -2731,7 +2703,7 @@
 20
 40
 02
-53
+4c
 67
 e0
 cc
@@ -2743,15 +2715,15 @@
 c2
 81
 02
-d3
+cc
 20
 40
 02
-d7
+d0
 20
 20
 02
-a3
+9c
 70
 4b
 96
@@ -2767,7 +2739,7 @@
 20
 40
 02
-c1
+ba
 67
 e0
 cc
@@ -2779,15 +2751,15 @@
 c2
 81
 82
-d3
+cc
 20
 40
 02
-df
+d8
 20
 20
 02
-a3
+9c
 70
 4b
 96
@@ -2803,7 +2775,7 @@
 20
 40
 02
-c1
+ba
 67
 e0
 cc
@@ -2815,15 +2787,15 @@
 c2
 82
 02
-d3
+cc
 20
 40
 02
-df
+d8
 20
 20
 02
-a3
+9c
 1f
 e3
 fe
@@ -2855,11 +2827,11 @@
 c0
 03
 82
-cb
+c4
 c0
 00
 02
-cf
+c8
 20
 60
 00
@@ -2911,7 +2883,7 @@
 20
 20
 02
-a3
+9c
 6f
 e0
 cb
@@ -2976,8 +2948,8 @@
 20
 41
 93
-99
-7b
+31
+32
 aa
 55
 40
@@ -3011,7 +2983,7 @@
 08
 46
 5a
-02
+42
 00
 00
 00
@@ -3172,7 +3144,7 @@
 55
 02
 00
-ac
+ad
 4c
 05
 06
@@ -3250,14 +3222,14 @@
 55
 01
 00
-ae
+af
 4c
 0c
 aa
 55
 01
 00
-b5
+b6
 4c
 03
 aa
@@ -3547,8 +3519,8 @@
 00
 64
 00
-70
-17
+32
+00
 14
 0a
 90
@@ -4187,10 +4159,10 @@
 aa
 aa
 55
-4b
+39
 34
-7d
-13
+5e
+5f
 ff
 ff
 ff
@@ -8188,5 +8160,33 @@
 ff
 ff
 ff
-3e
-a1
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+80
+ec
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/output/memmap.format	(revision 545)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/output/memmap.format	(working copy)
@@ -2254,15 +2254,16 @@
 0x4caa mem_key0_short_press_flag
 0x4cab mem_mouse_led_state
 0x4cac mem_mouse_led_gpio
-0x4cad mem_power_check_state_led_gpio
-0x4cae mem_power_charge_in_check_gpio
-0x4caf mem_mouse_multi_led_type
-0x4cb0 mem_mouse_led_blink_timer_init
-0x4cb1 mem_mouse_led_blink_timer
-0x4cb2 mem_mouse_led_blink_count
-0x4cb3 mem_mouse_led_blink_count_limited
-0x4cb4 mem_mouse_charge_in_state
-0x4cb5 mem_power_charge_in_full_check_gpio
+0x4cad mem_multi_led_gpio
+0x4cae mem_power_check_state_led_gpio
+0x4caf mem_power_charge_in_check_gpio
+0x4cb0 mem_mouse_multi_led_type
+0x4cb1 mem_mouse_led_blink_timer_init
+0x4cb2 mem_mouse_led_blink_timer
+0x4cb3 mem_mouse_led_blink_count
+0x4cb4 mem_mouse_led_blink_count_limited
+0x4cb5 mem_mouse_charge_in_state
+0x4cb6 mem_power_charge_in_full_check_gpio
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/output/program.lis	(revision 545)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/output/program.lis	(working copy)
@@ -1,996 +1,987 @@
               include "bt_format "
               org 0x0000
-0000 c2840011 bbit1 8 ,pf_patch_ext 
-0001 c0000016 beq patch00_0 ,p_soft_reset 
-0002 c001801a beq patch00_3 ,p_main_loop 
-0003 c045006e beq patch11_2 ,p_txon_next 
-0004 c04580bb beq patch11_3 ,p_initialize_radio_cont 
-0005 c04f80b9 beq patch13_7 ,p_init_param 
-0006 c0570074 beq patch15_6 ,p_app_init 
-0007 c0618093 beq patch18_3 ,p_mouse_start_work 
-0008 c06480c6 beq patch19_1 ,p_mouse_setgpio_hibernate 
-0009 c06500d5 beq patch19_2 ,p_mouse_lpm_before_common 
-000a c06700f5 beq patch19_6 ,p_mouse_motion 
-000b c0688249 beq patch1a_1 ,p_mouse_check_key_gpio 
-000c c06981b8 beq patch1a_3 ,p_mouse_init_sunt 
-000d c06a01b9 beq patch1a_4 ,p_mouse_sensor_poweron 
-000e c06b00df beq patch1a_6 ,p_mouse_priority_bb_event 
-000f c06c80fc beq patch1b_1 ,p_mouse_bb_event_timer 
-0010 2020137c branch loop 
+0000 c2840012 bbit1 8 ,pf_patch_ext 
+0001 c0000017 beq patch00_0 ,p_soft_reset 
+0002 c001801b beq patch00_3 ,p_main_loop 
+0003 c045006f beq patch11_2 ,p_txon_next 
+0004 c04580bc beq patch11_3 ,p_initialize_radio_cont 
+0005 c04f80ba beq patch13_7 ,p_init_param 
+0006 c0570075 beq patch15_6 ,p_app_init 
+0007 c0618094 beq patch18_3 ,p_mouse_start_work 
+0008 c06480c7 beq patch19_1 ,p_mouse_setgpio_hibernate 
+0009 c06500cc beq patch19_2 ,p_mouse_lpm_before_common 
+000a c06700ee beq patch19_6 ,p_mouse_motion 
+000b c068823e beq patch1a_1 ,p_mouse_check_key_gpio 
+000c c06981ad beq patch1a_3 ,p_mouse_init_sunt 
+000d c06a01ae beq patch1a_4 ,p_mouse_sensor_poweron 
+000e c06b00d8 beq patch1a_6 ,p_mouse_priority_bb_event 
+000f c06c80f5 beq patch1b_1 ,p_mouse_bb_event_timer 
+0010 c06f464d beq patch1b_6 ,mouse_idle + 2 
+0011 2020137c branch loop 
 
 pf_patch_ext:
-0011 c019804d beq patch26_3 ,p_adc_init_data 
-0012 c01a0053 beq patch26_4 ,p_enable_adc 
-0013 c0438027 beq patch30_7 ,p_ui_timer_check 
-0014 c07501ba beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0015 2020137c branch loop 
+0012 c019804e beq patch26_3 ,p_adc_init_data 
+0013 c01a0054 beq patch26_4 ,p_enable_adc 
+0014 c0438028 beq patch30_7 ,p_ui_timer_check 
+0015 c07501af beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0016 2020137c branch loop 
 
 p_soft_reset:
-0016 20800000 clear_stack 
-0017 204030f3 call app_param_init 
-0018 20403bfd call mouse_xtal_init 
-0019 20200804 branch soft_reset + 3 
+0017 20800000 clear_stack 
+0018 204030f3 call app_param_init 
+0019 20403bfd call mouse_xtal_init 
+001a 20200804 branch soft_reset + 3 
 
 p_main_loop:
-001a 2040706c call sp_calc_sequence 
-001b 20407597 call sp_calc_sequence_256 
-001c 20406ea7 call sp_calc_sequence_256_check 
-001d 20401b93 call le_advertising_dispatch + 1 
-001e 2040083a call idle_dispatch 
-001f 20403108 call app_process_idle + 1 
-0020 20400892 call inquiry_dispatch + 1 
-0021 20400b08 call inquiry_scan_dispatch + 1 
-0022 20400b7b call page_scan_dispatch + 1 
-0023 20400823 call connection_dispatch + 1 
-0024 204021d3 call g24_dispatch + 2 
-0025 204014dd call lpm_dispatch 
-0026 20200813 branch main_loop 
+001b 2040706c call sp_calc_sequence 
+001c 20407597 call sp_calc_sequence_256 
+001d 20406ea7 call sp_calc_sequence_256_check 
+001e 20401b93 call le_advertising_dispatch + 1 
+001f 2040083a call idle_dispatch 
+0020 20403108 call app_process_idle + 1 
+0021 20400892 call inquiry_dispatch + 1 
+0022 20400b08 call inquiry_scan_dispatch + 1 
+0023 20400b7b call page_scan_dispatch + 1 
+0024 20400823 call connection_dispatch + 1 
+0025 204021d3 call g24_dispatch + 2 
+0026 204014dd call lpm_dispatch 
+0027 20200813 branch main_loop 
 
 p_ui_timer_check:
-0027 da200000 arg 0 ,rega 
-0028 684a4784 fetcht 4 ,mem_ui_timer_last_btclk 
-0029 1c422400 copy clkn_bt ,regb 
-002a 1a427e00 copy regb ,pdata 
-002b 98467c00 isub temp ,null 
-002c 2441784c ncall ui_timer_timeout ,positive 
+0028 da200000 arg 0 ,rega 
+0029 684a4784 fetcht 4 ,mem_ui_timer_last_btclk 
+002a 1c422400 copy clkn_bt ,regb 
+002b 1a427e00 copy regb ,pdata 
+002c 98467c00 isub temp ,null 
+002d 2441784c ncall ui_timer_timeout ,positive 
 
 p_ui_timer_check_loop:
-002d 1a427e00 copy regb ,pdata 
-002e 184084a0 increase 160 ,temp 
+002e 1a427e00 copy regb ,pdata 
 002f 184084a0 increase 160 ,temp 
-0030 98467c00 isub temp ,null 
-0031 2421003a nbranch p_ui_timer_check_end ,positive 
-0032 1a20a201 increase 1 ,rega 
-0033 1a217e0f and rega ,0x0f ,pdata 
-0034 243a002d nbranch p_ui_timer_check_loop ,blank 
-0035 da200000 arg 0 ,rega 
-0036 20400040 call p_ui_timer_check_send_evt 
+0030 184084a0 increase 160 ,temp 
+0031 98467c00 isub temp ,null 
+0032 2421003b nbranch p_ui_timer_check_end ,positive 
+0033 1a20a201 increase 1 ,rega 
+0034 1a217e0f and rega ,0x0f ,pdata 
+0035 243a002e nbranch p_ui_timer_check_loop ,blank 
+0036 da200000 arg 0 ,rega 
+0037 20400041 call p_ui_timer_check_send_evt 
 
 p_ui_timer_init:
-0037 1c427e00 copy clkn_bt ,pdata 
-0038 67e24784 store 4 ,mem_ui_timer_last_btclk 
-0039 20600000 rtn 
+0038 1c427e00 copy clkn_bt ,pdata 
+0039 67e24784 store 4 ,mem_ui_timer_last_btclk 
+003a 20600000 rtn 
 
 p_ui_timer_check_end:
-003a 1a227e00 copy rega ,pdata 
-003b 207a0000 rtn blank 
-003c 18408560 increase -160 ,temp 
+003b 1a227e00 copy rega ,pdata 
+003c 207a0000 rtn blank 
 003d 18408560 increase -160 ,temp 
-003e 793f841c set0 28 ,temp 
-003f 604a4784 storet 4 ,mem_ui_timer_last_btclk 
+003e 18408560 increase -160 ,temp 
+003f 793f841c set0 28 ,temp 
+0040 604a4784 storet 4 ,mem_ui_timer_last_btclk 
 
 p_ui_timer_check_send_evt:
 
 p_app_evt_timer:
-0040 67e0830d store 1 ,mem_app_evt_timer_count 
+0041 67e0830d store 1 ,mem_app_evt_timer_count 
 
 p_app_evt_100ms_loop:
-0041 6fe0830d fetch 1 ,mem_app_evt_timer_count 
-0042 207a0000 rtn blank 
-0043 1fe0ffff increase -1 ,pdata 
-0044 67e0830d store 1 ,mem_app_evt_timer_count 
-0045 204077c5 call ui_button_polling 
-0046 204031e3 call app_lpm_wake_auto_lock_timer 
-0047 204031a4 call app_unsniff_delay_timer 
-0048 204031aa call app_discovery_timer 
-0049 20405cdc call flash_write_spi_sm_timer 
-004a 6fe1446f fetch 2 ,mem_cb_event_timer 
-004b 20407e05 call callback_func 
-004c 20200041 branch p_app_evt_100ms_loop 
+0042 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+0043 207a0000 rtn blank 
+0044 1fe0ffff increase -1 ,pdata 
+0045 67e0830d store 1 ,mem_app_evt_timer_count 
+0046 204077c5 call ui_button_polling 
+0047 204031e3 call app_lpm_wake_auto_lock_timer 
+0048 204031a4 call app_unsniff_delay_timer 
+0049 204031aa call app_discovery_timer 
+004a 20405cdc call flash_write_spi_sm_timer 
+004b 6fe1446f fetch 2 ,mem_cb_event_timer 
+004c 20407e05 call callback_func 
+004d 20200042 branch p_app_evt_100ms_loop 
 
 p_adc_init_data:
-004d da20099e arg mem_temp_block2 ,rega 
-004e d840000c arg 12 ,temp 
-004f 58000030 setarg efuse_offset_adc_param 
-0050 20405e63 call efuse_read_data 
-0051 204060d5 call adc_init_wait_count 
-0052 202060c0 branch adc_init_cal_data 
+004e da20099e arg mem_temp_block2 ,rega 
+004f d840000c arg 12 ,temp 
+0050 58000030 setarg efuse_offset_adc_param 
+0051 20405e63 call efuse_read_data 
+0052 204060d5 call adc_init_wait_count 
+0053 202060c0 branch adc_init_cal_data 
 
 p_enable_adc:
-0053 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-0054 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-0055 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-0056 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-0057 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-0058 79207e07 set1 7 ,pdata 
-0059 67f08a09 store 1 ,core_clkpll_cfg6 
-005a 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-005b 2000003c nop 60 
-005c 708a1600 jam 0 ,core_syn_en 
-005d 708a1706 jam 6 ,core_rx_en0 
-005e 2040611a call read_adc_mode 
-005f 67f08a97 store 1 ,core_gpadc_ctrl 
-0060 7080dc03 jam 0x03 ,core_sum_ctrl 
-0061 2000003c nop 60 
-0062 6ff08053 fetch 1 ,core_sum_en 
-0063 79207e07 set1 7 ,pdata 
-0064 67f08053 store 1 ,core_sum_en 
-0065 200003e8 nop 1000 
-0066 6ff10150 fetch 2 ,core_adc_sum 
-0067 67e144a2 store 2 ,mem_adc_current_value 
-0068 6ff08053 fetch 1 ,core_sum_en 
-0069 793ffe07 set0 7 ,pdata 
-006a 67f08053 store 1 ,core_sum_en 
-006b 708a9700 jam 0 ,core_gpadc_ctrl 
-006c 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-006d 20600000 rtn 
+0054 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+0055 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+0056 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+0057 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+0058 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+0059 79207e07 set1 7 ,pdata 
+005a 67f08a09 store 1 ,core_clkpll_cfg6 
+005b 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+005c 2000003c nop 60 
+005d 708a1600 jam 0 ,core_syn_en 
+005e 708a1706 jam 6 ,core_rx_en0 
+005f 2040611a call read_adc_mode 
+0060 67f08a97 store 1 ,core_gpadc_ctrl 
+0061 7080dc03 jam 0x03 ,core_sum_ctrl 
+0062 2000003c nop 60 
+0063 6ff08053 fetch 1 ,core_sum_en 
+0064 79207e07 set1 7 ,pdata 
+0065 67f08053 store 1 ,core_sum_en 
+0066 200003e8 nop 1000 
+0067 6ff10150 fetch 2 ,core_adc_sum 
+0068 67e144a2 store 2 ,mem_adc_current_value 
+0069 6ff08053 fetch 1 ,core_sum_en 
+006a 793ffe07 set0 7 ,pdata 
+006b 67f08053 store 1 ,core_sum_en 
+006c 708a9700 jam 0 ,core_gpadc_ctrl 
+006d 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+006e 20600000 rtn 
 
 p_txon_next:
-006e 6fe0cc9d fetch 1 ,mem_24g_attempt_success_flag 
-006f 243a0071 nbranch p_tx_power_increase ,blank 
-0070 2020121e branch txon_next 
+006f 6fe0cc9d fetch 1 ,mem_24g_attempt_success_flag 
+0070 243a0072 nbranch p_tx_power_increase ,blank 
+0071 2020121e branch txon_next 
 
 p_tx_power_increase:
 
 p_set_tx_power_13db:
-0071 708a39fd jam 0xfd ,core_tx_pwr_ctrl0 
-0072 708a3a0f jam 0x0f ,core_tx_pwr_ctrl1 
-0073 2020122f branch set_rf_ldo_cfg89_2 
+0072 708a39fd jam 0xfd ,core_tx_pwr_ctrl0 
+0073 708a3a0f jam 0x0f ,core_tx_pwr_ctrl1 
+0074 2020122f branch set_rf_ldo_cfg89_2 
 
 p_app_init:
 
 p_mouse_init:
-0074 20406df3 call enable_authrom 
-0075 2040007a call p_mouse_setting_config 
-0076 20758000 rtn wake 
-0077 20403d8a call mouse_usb_check_enable 
-0078 20400090 call p_mouse_cb_fuction 
-0079 20203bc9 branch mouse_init + 8 
+0075 20406df3 call enable_authrom 
+0076 2040007b call p_mouse_setting_config 
+0077 20758000 rtn wake 
+0078 20403d8a call mouse_usb_check_enable 
+0079 20400091 call p_mouse_cb_fuction 
+007a 20203bc9 branch mouse_init + 8 
 
 p_mouse_setting_config:
-007a 20758000 rtn wake 
-007b 20402607 call g24_transmit_init 
-007c 204022ff call g24_chmap_param_init 
-007d 2040007f call p_mouse_gpio_init 
-007e 20203bf4 branch mouse_setting_config + 4 
+007b 20758000 rtn wake 
+007c 20402607 call g24_transmit_init 
+007d 204022ff call g24_chmap_param_init 
+007e 20400080 call p_mouse_gpio_init 
+007f 20203bf4 branch mouse_setting_config + 4 
 
 p_mouse_gpio_init:
-007f 6848c4c1 fetcht 1 ,mem_eeprom_wp_gpio 
-0080 20406069 call gpio_config_output 
-0081 6848ccb5 fetcht 1 ,mem_power_charge_in_full_check_gpio 
-0082 20403f56 call mouse_gpio_config_input_pu 
-0083 6848ccae fetcht 1 ,mem_power_charge_in_check_gpio 
-0084 20403f56 call mouse_gpio_config_input_pu 
-0085 204079b4 call usb_offline_check_init 
-0086 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
-0087 20403f56 call mouse_gpio_config_input_pu 
-0088 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
-0089 20403f56 call mouse_gpio_config_input_pu 
-008a 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
-008b 20403f56 call mouse_gpio_config_input_pu 
-008c 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
-008d 20403f56 call mouse_gpio_config_input_pu 
-008e 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
-008f 20203f56 branch mouse_gpio_config_input_pu 
+0080 6848c4c1 fetcht 1 ,mem_eeprom_wp_gpio 
+0081 20406069 call gpio_config_output 
+0082 6848ccb6 fetcht 1 ,mem_power_charge_in_full_check_gpio 
+0083 20403f56 call mouse_gpio_config_input_pu 
+0084 6848ccaf fetcht 1 ,mem_power_charge_in_check_gpio 
+0085 20403f56 call mouse_gpio_config_input_pu 
+0086 204079b4 call usb_offline_check_init 
+0087 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
+0088 20403f56 call mouse_gpio_config_input_pu 
+0089 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
+008a 20403f56 call mouse_gpio_config_input_pu 
+008b 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
+008c 20403f56 call mouse_gpio_config_input_pu 
+008d 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
+008e 20403f56 call mouse_gpio_config_input_pu 
+008f 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
+0090 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_cb_fuction:
-0090 580001e6 setarg p_mouse_24g_package_data 
-0091 67e1489b store 2 ,mem_cb_24g_transmit_data 
-0092 20203bd1 branch mouse_cb_fuction + 2 
+0091 580001db setarg p_mouse_24g_package_data 
+0092 67e1489b store 2 ,mem_cb_24g_transmit_data 
+0093 20203bd1 branch mouse_cb_fuction + 2 
 
 p_mouse_start_work:
-0093 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0094 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-0095 6fe0c938 fetch 1 ,mem_device_flag 
-0096 c000009a beq mode_24g_device ,p_mouse_24g_start_mode 
-0097 20403d65 call mouse_wakeup_from_power_check 
-0098 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
-0099 20203d59 branch mouse_start_reconnect_device 
+0094 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0095 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+0096 6fe0c938 fetch 1 ,mem_device_flag 
+0097 c000009b beq mode_24g_device ,p_mouse_24g_start_mode 
+0098 20403d65 call mouse_wakeup_from_power_check 
+0099 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
+009a 20203d59 branch mouse_start_reconnect_device 
 
 p_mouse_24g_start_mode:
-009a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-009b c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-009c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-009d c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-009e c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-009f 204000ae call p_mouse_key_check_once 
-00a0 1fe17e07 and pdata ,0x07 ,pdata 
-00a1 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
-00a2 98467c00 isub temp ,null 
-00a3 2022c827 branch mouse_24g_start_pair_mode ,zero 
-00a4 2020480c branch mouse_24g_reconn_general_dongle 
+009b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+009c c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+009d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+009e c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+009f c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+00a0 204000af call p_mouse_key_check_once 
+00a1 1fe17e07 and pdata ,0x07 ,pdata 
+00a2 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+00a3 98467c00 isub temp ,null 
+00a4 2022c827 branch mouse_24g_start_pair_mode ,zero 
+00a5 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_g24_factory_check:
-00a5 df200002 arg 2 ,loopcnt 
-00a6 d8c04993 arg mem_mouse_24g_addr ,contr 
+00a6 df200002 arg 2 ,loopcnt 
+00a7 d8c04993 arg mem_mouse_24g_addr ,contr 
 
 p_pdata_0xff_check:
-00a7 20407e54 call enable_user 
-00a8 5800ffff setarg 0xffff 
+00a8 20407e54 call enable_user 
+00a9 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-00a9 e8410006 ifetcht 2 ,contr 
-00aa 98467c00 isub temp ,null 
-00ab 2442fe56 ncall disable_user ,zero 
-00ac c20000a9 loop p_pdata_0xff_check_loop 
-00ad 20600000 rtn 
+00aa e8410006 ifetcht 2 ,contr 
+00ab 98467c00 isub temp ,null 
+00ac 2442fe56 ncall disable_user ,zero 
+00ad c20000aa loop p_pdata_0xff_check_loop 
+00ae 20600000 rtn 
 
 p_mouse_key_check_once:
-00ae 6fe1cbea fetch 3 ,mem_flippen_key3_gpio 
-00af 67e1c918 store 3 ,mem_lbutton_gpio 
-00b0 20404121 call mouse_check_key_gpio_once 
-00b1 20404124 call mouse_check_lkey_gpio 
-00b2 2040412a call mouse_check_rkey_gpio 
-00b3 2040411f call mouse_check_key_gpio_output 
-00b4 d8400000 arg 0 ,temp 
-00b5 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
-00b6 d85fffff arg 0xffffff ,temp 
-00b7 6049c918 storet 3 ,mem_lbutton_gpio 
-00b8 20600000 rtn 
+00af 6fe1cbea fetch 3 ,mem_flippen_key3_gpio 
+00b0 67e1c918 store 3 ,mem_lbutton_gpio 
+00b1 20404121 call mouse_check_key_gpio_once 
+00b2 20404124 call mouse_check_lkey_gpio 
+00b3 2040412a call mouse_check_rkey_gpio 
+00b4 2040411f call mouse_check_key_gpio_output 
+00b5 d8400000 arg 0 ,temp 
+00b6 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
+00b7 d85fffff arg 0xffffff ,temp 
+00b8 6049c918 storet 3 ,mem_lbutton_gpio 
+00b9 20600000 rtn 
 
 p_init_param:
-00b9 70008000 jam 0 ,mem_lmo_tid2 
-00ba 202013b7 branch init_param_next + 1 
+00ba 70008000 jam 0 ,mem_lmo_tid2 
+00bb 202013b7 branch init_param_next + 1 
 
 p_initialize_radio_cont:
-00bb 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-00bc 2040126a call initialize_syn_afc_cfg1 
-00bd 20401271 call initialize_rf_ldo_cfg1 
-00be 20401277 call initialize_rc_cal 
-00bf 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-00c0 708a0305 jam 5 ,core_clkpll_cfg0 
-00c1 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-00c2 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-00c3 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-00c4 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-00c5 2020125d branch initialize_radio_cont + 8 
+00bc 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+00bd 2040126a call initialize_syn_afc_cfg1 
+00be 20401271 call initialize_rf_ldo_cfg1 
+00bf 20401277 call initialize_rc_cal 
+00c0 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+00c1 708a0305 jam 5 ,core_clkpll_cfg0 
+00c2 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+00c3 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+00c4 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+00c5 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+00c6 2020125d branch initialize_radio_cont + 8 
 
 p_mouse_setgpio_hibernate:
-00c6 204042e9 call mouse_set_sdio_high 
-00c7 20407fdc call clear_wake 
-00c8 20404015 call mouse_before_hibernate_wheel_gpio_set 
-00c9 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-00ca c07f80cf beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
-00cb 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00cc 20406069 call gpio_out_active 
-00cd 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00ce 20406042 call gpio_clr_wake 
-
-p_mouse_setgpio_hibernate_skip_public_gpio:
-00cf 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-00d0 20403f56 call mouse_gpio_config_input_pu 
-00d1 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-00d2 d840003f arg gpcfg_output_high ,temp 
-00d3 20406093 call gpio_config_function_int 
-00d4 20203e36 branch mouse_setgpio_hibernate + 3 
+00c7 204042e9 call mouse_set_sdio_high 
+00c8 20407fdc call clear_wake 
+00c9 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+00ca 20403f56 call mouse_gpio_config_input_pu 
+00cb 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-00d5 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
-00d6 20406036 call gpio_set_wake 
-00d7 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
-00d8 20406036 call gpio_set_wake 
-00d9 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
-00da 20406036 call gpio_set_wake 
-00db 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
-00dc 20406036 call gpio_set_wake 
-00dd 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
-00de 20206036 branch gpio_set_wake 
+00cc 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
+00cd 20406036 call gpio_set_wake 
+00ce 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
+00cf 20406036 call gpio_set_wake 
+00d0 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
+00d1 20406036 call gpio_set_wake 
+00d2 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
+00d3 20406036 call gpio_set_wake 
+00d4 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
+00d5 20406036 call gpio_set_wake 
+00d6 d8400004 arg 0x04 ,temp 
+00d7 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_priority_bb_event:
-00df 1a627e00 copy regc ,pdata 
-00e0 c01e00e4 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00e1 c01c80ea beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-00e2 c01d00ec beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00e3 20204336 branch mouse_priority_bb_event + 2 
+00d8 1a627e00 copy regc ,pdata 
+00d9 c01e00dd beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+00da c01c80e3 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+00db c01d00e5 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+00dc 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_success:
-00e4 704c9d01 jam 1 ,mem_24g_attempt_success_flag 
-00e5 6fe2483c fetch 4 ,mem_24g_addr 
-00e6 67e24891 store 4 ,mem_24g_receiver_addr 
-00e7 67e24993 store 4 ,mem_mouse_24g_addr 
-00e8 204048c6 call mouse_device_poweron_timer_init 
-00e9 2020484e branch mouse_24g_attempt_success 
+00dd 704c9d01 jam 1 ,mem_24g_attempt_success_flag 
+00de 6fe2483c fetch 4 ,mem_24g_addr 
+00df 67e24891 store 4 ,mem_24g_receiver_addr 
+00e0 67e24993 store 4 ,mem_mouse_24g_addr 
+00e1 204048c6 call mouse_device_poweron_timer_init 
+00e2 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_pairing_complete:
-00ea 704c9d01 jam 1 ,mem_24g_attempt_success_flag 
-00eb 20204857 branch mouse_24g_pairing_complete 
+00e3 704c9d01 jam 1 ,mem_24g_attempt_success_flag 
+00e4 20204857 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_fail:
-00ec 704c9d00 jam 0 ,mem_24g_attempt_success_flag 
-00ed 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-00ee 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
-00ef 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-00f0 c00180f2 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-00f1 20204836 branch mouse_24g_attempt_fail_next + 1 
+00e5 704c9d00 jam 0 ,mem_24g_attempt_success_flag 
+00e6 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+00e7 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
+00e8 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+00e9 c00180eb beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+00ea 20204836 branch mouse_24g_attempt_fail_next + 1 
 
 p_mouse_reconn_dongle_attempt_fail:
-00f2 204000a5 call p_g24_factory_check 
-00f3 20344812 branch mouse_24g_start_auto_pair + 1 ,user 
-00f4 20204849 branch mouse_reconn_dongle_attempt_fail 
+00eb 204000a6 call p_g24_factory_check 
+00ec 20344812 branch mouse_24g_start_auto_pair + 1 ,user 
+00ed 20204849 branch mouse_reconn_dongle_attempt_fail 
 
 p_mouse_motion:
-00f5 78547c00 disable user 
-00f6 204040dc call mouse_key 
-00f7 6fe0c8d0 fetch 1 ,mem_mouse_key 
-00f8 1fe17e1f and_into 0x1f ,pdata 
-00f9 67e0c8d0 store 1 ,mem_mouse_key 
-00fa 24740000 nrtn user 
-00fb 20204544 branch mouse_no_data_timer_init 
+00ee 78547c00 disable user 
+00ef 204040dc call mouse_key 
+00f0 6fe0c8d0 fetch 1 ,mem_mouse_key 
+00f1 1fe17e1f and_into 0x1f ,pdata 
+00f2 67e0c8d0 store 1 ,mem_mouse_key 
+00f3 24740000 nrtn user 
+00f4 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_bb_event_timer:
-00fc 2040010c call p_mouse_power_charge_in_check 
-00fd 20400124 call p_mouse_adc_read 
-00fe 6fe0ccb4 fetch 1 ,mem_mouse_charge_in_state 
-00ff 243a00fc nbranch p_mouse_bb_event_timer ,blank 
-0100 2040013f call p_mouse_low_voltage_led_timer 
-0101 2040017f call p_mouse_24g_led_blink 
-0102 2040232b call g24_pair_timeout_timer 
-0103 20402556 call g24_reconn_timeout_timer 
-0104 204047cd call mouse_24g_long_sleep_param_update_timer 
-0105 204048be call mouse_device_poweron_timer 
-0106 20400189 call p_mouse_long_key_press_timer 
-0107 2040019c call p_mouse_key_mode_check_timer 
-0108 20400293 call p_mouse_customer_key0_long_press_timer 
-0109 204001ae call p_mouse_two_clink_check_timer 
-010a 2040015b call p_mouse_led_type_timer 
-010b 202044bd branch mouse_bb_event_timer + 8 
+00f5 20400105 call p_mouse_power_charge_in_check 
+00f6 2040011d call p_mouse_adc_read 
+00f7 6fe0ccb5 fetch 1 ,mem_mouse_charge_in_state 
+00f8 243a00f5 nbranch p_mouse_bb_event_timer ,blank 
+00f9 2040013b call p_mouse_low_voltage_led_timer 
+00fa 20400174 call p_mouse_24g_led_blink 
+00fb 2040232b call g24_pair_timeout_timer 
+00fc 20402556 call g24_reconn_timeout_timer 
+00fd 204047cd call mouse_24g_long_sleep_param_update_timer 
+00fe 204048be call mouse_device_poweron_timer 
+00ff 2040017e call p_mouse_long_key_press_timer 
+0100 20400191 call p_mouse_key_mode_check_timer 
+0101 2040028c call p_mouse_customer_key0_long_press_timer 
+0102 204001a3 call p_mouse_two_clink_check_timer 
+0103 20400150 call p_mouse_led_type_timer 
+0104 202044bd branch mouse_bb_event_timer + 8 
 
 p_mouse_power_charge_in_check:
-010c 6848ccae fetcht 1 ,mem_power_charge_in_check_gpio 
-010d 20403f54 call mouse_gpio_config_input_pd 
-010e 6848ccae fetcht 1 ,mem_power_charge_in_check_gpio 
-010f 20406059 call gpio_get_bit 
-0110 24208119 nbranch p_mouse_power_charge_in ,true 
+0105 6848ccaf fetcht 1 ,mem_power_charge_in_check_gpio 
+0106 20403f54 call mouse_gpio_config_input_pd 
+0107 6848ccaf fetcht 1 ,mem_power_charge_in_check_gpio 
+0108 20406059 call gpio_get_bit 
+0109 24208112 nbranch p_mouse_power_charge_in ,true 
 
 p_mouse_power_charge_in_full:
 
 p_mouse_power_no_charge_in:
-0111 6fe0ccb4 fetch 1 ,mem_mouse_charge_in_state 
-0112 207a0000 rtn blank 
-0113 704cb400 jam 0 ,mem_mouse_charge_in_state 
-0114 20400153 call p_mouse_voltage_led_state_off 
+010a 6fe0ccb5 fetch 1 ,mem_mouse_charge_in_state 
+010b 207a0000 rtn blank 
+010c 704cb500 jam 0 ,mem_mouse_charge_in_state 
+010d 2040014a call p_mouse_voltage_led_state_off 
 
 p_mouse_power_charge_in_gpio_config_input_pu:
-0115 6848ccb5 fetcht 1 ,mem_power_charge_in_full_check_gpio 
-0116 20403f56 call mouse_gpio_config_input_pu 
-0117 6848ccae fetcht 1 ,mem_power_charge_in_check_gpio 
-0118 20203f56 branch mouse_gpio_config_input_pu 
+010e 6848ccb6 fetcht 1 ,mem_power_charge_in_full_check_gpio 
+010f 20403f56 call mouse_gpio_config_input_pu 
+0110 6848ccaf fetcht 1 ,mem_power_charge_in_check_gpio 
+0111 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_power_charge_in:
-0119 6848ccb5 fetcht 1 ,mem_power_charge_in_full_check_gpio 
-011a 20403f54 call mouse_gpio_config_input_pd 
-011b 6848ccb5 fetcht 1 ,mem_power_charge_in_full_check_gpio 
-011c 20406059 call gpio_get_bit 
-011d 24208111 nbranch p_mouse_power_charge_in_full ,true 
-011e 20400115 call p_mouse_power_charge_in_gpio_config_input_pu 
-011f 6fe0ccb4 fetch 1 ,mem_mouse_charge_in_state 
-0120 247a0000 nrtn blank 
-0121 704cb401 jam 1 ,mem_mouse_charge_in_state 
-0122 20400178 call p_mouse_led_off 
-0123 20200157 branch p_mouse_voltage_led_state_on 
+0112 6848ccb6 fetcht 1 ,mem_power_charge_in_full_check_gpio 
+0113 20403f54 call mouse_gpio_config_input_pd 
+0114 6848ccb6 fetcht 1 ,mem_power_charge_in_full_check_gpio 
+0115 20406059 call gpio_get_bit 
+0116 2420810a nbranch p_mouse_power_charge_in_full ,true 
+0117 2040010e call p_mouse_power_charge_in_gpio_config_input_pu 
+0118 6fe0ccb5 fetch 1 ,mem_mouse_charge_in_state 
+0119 247a0000 nrtn blank 
+011a 704cb501 jam 1 ,mem_mouse_charge_in_state 
+011b 20400144 call p_mouse_voltage_led_state_on 
+011c 20200164 branch p_mouse_led_on 
 
 p_mouse_adc_read:
-0124 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0125 c40a0000 rtnbit0 mouse_enable_adc 
-0126 20403e95 call mouse_adc_read_interval 
-0127 24610000 nrtn positive 
-0128 7048f600 jam 0 ,mem_adc_read_timer 
-0129 20400053 call p_enable_adc 
-012a 20406125 call vdd_calculate_by_mode 
-012b 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
-012c da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
-012d 20403ed8 call mouse_adc_bat_percent_lowpower_out 
-012e 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
-012f c280bf1c bbit1 1 ,mouse_power_down 
-0130 c3003ed0 bbit0 0 ,mouse_adc_no_low_voltage 
-0131 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-0132 20203ece branch mouse_adc_low_voltage 
+011d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+011e c40a0000 rtnbit0 mouse_enable_adc 
+011f 20403e95 call mouse_adc_read_interval 
+0120 24610000 nrtn positive 
+0121 7048f600 jam 0 ,mem_adc_read_timer 
+0122 2040012d call p_adc_gpio_set_impedance 
+0123 20400054 call p_enable_adc 
+0124 20406125 call vdd_calculate_by_mode 
+0125 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0126 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
+0127 20403ed8 call mouse_adc_bat_percent_lowpower_out 
+0128 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
+0129 c280bf1c bbit1 1 ,mouse_power_down 
+012a c3003ed0 bbit0 0 ,mouse_adc_no_low_voltage 
+012b 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+012c 20203ece branch mouse_adc_low_voltage 
+
+p_adc_gpio_set_impedance:
+012d d8400004 arg 4 ,temp 
+012e 2020607f branch gpio_set_high_impedance 
 
 p_mouse_adc_bat_percent_lowpower_out:
-0133 efe40011 ifetch 8 ,rega 
-0134 67e4095c store 8 ,mem_pdatatemp 
-0135 2040616e call adc_clear_no_power_flag 
-0136 20406166 call adc_clear_low_power_flag 
-0137 6fe10962 fetch 2 ,mem_pdatatemp + 6 
-0138 6849095e fetcht 2 ,mem_pdatatemp + 2 
-0139 98467c00 isub temp ,null 
-013a 2421616a nbranch adc_set_no_power_flag ,positive 
-013b 68490960 fetcht 2 ,mem_pdatatemp + 4 
-013c 98467c00 isub temp ,null 
-013d 24216162 nbranch adc_set_low_power_flag ,positive 
-013e 20600000 rtn 
+012f efe40011 ifetch 8 ,rega 
+0130 67e4095c store 8 ,mem_pdatatemp 
+0131 2040616e call adc_clear_no_power_flag 
+0132 20406166 call adc_clear_low_power_flag 
+0133 6fe10962 fetch 2 ,mem_pdatatemp + 6 
+0134 6849095e fetcht 2 ,mem_pdatatemp + 2 
+0135 98467c00 isub temp ,null 
+0136 2421616a nbranch adc_set_no_power_flag ,positive 
+0137 68490960 fetcht 2 ,mem_pdatatemp + 4 
+0138 98467c00 isub temp ,null 
+0139 24216162 nbranch adc_set_low_power_flag ,positive 
+013a 20600000 rtn 
 
 p_mouse_low_voltage_led_timer:
-013f 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+013b 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+013c 247a0000 nrtn blank 
+013d 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+013e 247a0000 nrtn blank 
+013f 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
 0140 247a0000 nrtn blank 
-0141 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0142 247a0000 nrtn blank 
-0143 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0144 247a0000 nrtn blank 
-0145 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0146 c4108000 rtnbit0 mouse_enable_low_voltage_led 
-0147 c3020153 bbit0 mouse_low_voltage_flag ,p_mouse_voltage_led_state_off 
-0148 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0149 1fe0fe01 increase 1 ,pdata 
-014a 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-014b 1fe67c3c sub pdata ,60 ,null 
-014c 24410152 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-014d c0028157 beq 5 ,p_mouse_voltage_led_state_on 
-014e c0038153 beq 7 ,p_mouse_voltage_led_state_off 
-014f c0068157 beq 13 ,p_mouse_voltage_led_state_on 
-0150 c0078153 beq 15 ,p_mouse_voltage_led_state_off 
-0151 20600000 rtn 
+0141 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0142 c4108000 rtnbit0 mouse_enable_low_voltage_led 
+0143 c302014a bbit0 mouse_low_voltage_flag ,p_mouse_voltage_led_state_off 
 
-p_mouse_adc_low_volatage_led_timer_count_clean:
-0152 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
+p_mouse_voltage_led_state_on:
+0144 6fe0ccae fetch 1 ,mem_power_check_state_led_gpio 
+0145 67e0ccac store 1 ,mem_mouse_led_gpio 
+0146 6848ccad fetcht 1 ,mem_multi_led_gpio 
+0147 20406069 call gpio_config_output 
+0148 6848ccad fetcht 1 ,mem_multi_led_gpio 
+0149 20206069 branch gpio_out_active 
 
 p_mouse_voltage_led_state_off:
-0153 6848ccad fetcht 1 ,mem_power_check_state_led_gpio 
-0154 20406069 call gpio_config_output 
-0155 6848ccad fetcht 1 ,mem_power_check_state_led_gpio 
-0156 20206069 branch gpio_out_active 
-
-p_mouse_voltage_led_state_on:
-0157 6848ccad fetcht 1 ,mem_power_check_state_led_gpio 
-0158 20406069 call gpio_config_output 
-0159 6848ccad fetcht 1 ,mem_power_check_state_led_gpio 
-015a 20206065 branch gpio_out_inactive 
+014a 6fe0ccad fetch 1 ,mem_multi_led_gpio 
+014b 67e0ccac store 1 ,mem_mouse_led_gpio 
+014c 6848ccae fetcht 1 ,mem_power_check_state_led_gpio 
+014d 20406069 call gpio_config_output 
+014e 6848ccae fetcht 1 ,mem_power_check_state_led_gpio 
+014f 20206069 branch gpio_out_active 
 
 p_mouse_led_type_timer:
-015b 6fe0c883 fetch 1 ,mem_24g_pair_timeout 
-015c 247a0000 nrtn blank 
-015d 6fe0ccaf fetch 1 ,mem_mouse_multi_led_type 
-015e c0008162 beq multi_led_blink ,p_mouse_led_type_blink_timer 
-015f 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
-0160 243a016f nbranch p_mouse_led_on ,blank 
-0161 20200178 branch p_mouse_led_off 
+0150 6fe0c883 fetch 1 ,mem_24g_pair_timeout 
+0151 247a0000 nrtn blank 
+0152 6fe0ccb0 fetch 1 ,mem_mouse_multi_led_type 
+0153 c0008157 beq multi_led_blink ,p_mouse_led_type_blink_timer 
+0154 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
+0155 243a0164 nbranch p_mouse_led_on ,blank 
+0156 2020016d branch p_mouse_led_off 
 
 p_mouse_led_type_blink_timer:
-0162 da604cb1 arg mem_mouse_led_blink_timer ,regc 
-0163 da400165 arg p_mouse_led_type_blink_timeout ,regb 
-0164 2020318a branch timer_single_step 
+0157 da604cb2 arg mem_mouse_led_blink_timer ,regc 
+0158 da40015a arg p_mouse_led_type_blink_timeout ,regb 
+0159 2020318a branch timer_single_step 
 
 p_mouse_led_type_blink_timeout:
-0165 6fe0ccb0 fetch 1 ,mem_mouse_led_blink_timer_init 
-0166 67e0ccb1 store 1 ,mem_mouse_led_blink_timer 
-0167 6fe0ccb2 fetch 1 ,mem_mouse_led_blink_count 
-0168 203a0176 branch p_mouse_led_blink_over_off ,blank 
-0169 1fe0ffff increase -1 ,pdata 
-016a 67e0ccb2 store 1 ,mem_mouse_led_blink_count 
+015a 6fe0ccb1 fetch 1 ,mem_mouse_led_blink_timer_init 
+015b 67e0ccb2 store 1 ,mem_mouse_led_blink_timer 
+015c 6fe0ccb3 fetch 1 ,mem_mouse_led_blink_count 
+015d 203a016b branch p_mouse_led_blink_over_off ,blank 
+015e 1fe0ffff increase -1 ,pdata 
+015f 67e0ccb3 store 1 ,mem_mouse_led_blink_count 
 
 p_mouse_led_blink_count_no_limited:
-016b 6fe0ccab fetch 1 ,mem_mouse_led_state 
-016c c0008178 beq on ,p_mouse_led_off 
-016d c000016f beq off ,p_mouse_led_on 
-016e 20600000 rtn 
+0160 6fe0ccab fetch 1 ,mem_mouse_led_state 
+0161 c000816d beq on ,p_mouse_led_off 
+0162 c0000164 beq off ,p_mouse_led_on 
+0163 20600000 rtn 
 
 p_mouse_led_on:
-016f 6fe0ccab fetch 1 ,mem_mouse_led_state 
-0170 704cab01 jam on ,mem_mouse_led_state 
-0171 c1008000 rtneq on 
-0172 6848ccac fetcht 1 ,mem_mouse_led_gpio 
-0173 20406069 call gpio_config_output 
-0174 6848ccac fetcht 1 ,mem_mouse_led_gpio 
-0175 20206065 branch gpio_out_inactive 
+0164 6fe0ccab fetch 1 ,mem_mouse_led_state 
+0165 704cab01 jam on ,mem_mouse_led_state 
+0166 c1008000 rtneq on 
+0167 6848ccac fetcht 1 ,mem_mouse_led_gpio 
+0168 20406069 call gpio_config_output 
+0169 6848ccac fetcht 1 ,mem_mouse_led_gpio 
+016a 20206065 branch gpio_out_inactive 
 
 p_mouse_led_blink_over_off:
-0176 704caf00 jam multi_led_on ,mem_mouse_multi_led_type 
-0177 704cb100 jam 0 ,mem_mouse_led_blink_timer 
+016b 704cb000 jam multi_led_on ,mem_mouse_multi_led_type 
+016c 704cb200 jam 0 ,mem_mouse_led_blink_timer 
 
 p_mouse_led_off:
-0178 6fe0ccab fetch 1 ,mem_mouse_led_state 
-0179 704cab00 jam off ,mem_mouse_led_state 
-017a c1000000 rtneq off 
-017b 6848ccac fetcht 1 ,mem_mouse_led_gpio 
-017c 20406069 call gpio_config_output 
-017d 6848ccac fetcht 1 ,mem_mouse_led_gpio 
-017e 20206069 branch gpio_out_active 
+016d 6fe0ccab fetch 1 ,mem_mouse_led_state 
+016e 704cab00 jam off ,mem_mouse_led_state 
+016f c1000000 rtneq off 
+0170 6848ccac fetcht 1 ,mem_mouse_led_gpio 
+0171 20406069 call gpio_config_output 
+0172 6848ccac fetcht 1 ,mem_mouse_led_gpio 
+0173 20206069 branch gpio_out_active 
 
 p_mouse_24g_led_blink:
-017f 6fe0c938 fetch 1 ,mem_device_flag 
-0180 c1800000 rtnne mode_24g_device 
-0181 6fe0c883 fetch 1 ,mem_24g_pair_timeout 
-0182 207a0000 rtn blank 
-0183 1fe0ffff increase -1 ,pdata 
-0184 203a0178 branch p_mouse_led_off ,blank 
-0185 1fe17e03 and pdata ,0x03 ,pdata 
-0186 c001816f beq 0x03 ,p_mouse_led_on 
-0187 c0008178 beq 0x01 ,p_mouse_led_off 
-0188 20600000 rtn 
+0174 6fe0c938 fetch 1 ,mem_device_flag 
+0175 c1800000 rtnne mode_24g_device 
+0176 6fe0c883 fetch 1 ,mem_24g_pair_timeout 
+0177 207a0000 rtn blank 
+0178 1fe0ffff increase -1 ,pdata 
+0179 203a016d branch p_mouse_led_off ,blank 
+017a 1fe17e03 and pdata ,0x03 ,pdata 
+017b c0018164 beq 0x03 ,p_mouse_led_on 
+017c c000816d beq 0x01 ,p_mouse_led_off 
+017d 20600000 rtn 
 
 p_mouse_long_key_press_timer:
-0189 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
-018a 1fe17e07 and pdata ,0x07 ,pdata 
-018b 203a0196 branch p_mouse_long_key_press_init ,blank 
-018c c1028000 rtneq mouse_lm_button 
-018d c1030000 rtneq mouse_rm_button 
-018e c1018000 rtneq mouse_lr_button 
-018f c1038000 rtneq mouse_lmr_button 
-0190 da604c9f arg mem_long_key_press_timeout ,regc 
-0191 da400193 arg p_mouse_long_key_press_timeout ,regb 
-0192 2020318a branch timer_single_step 
+017e 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
+017f 1fe17e07 and pdata ,0x07 ,pdata 
+0180 203a018b branch p_mouse_long_key_press_init ,blank 
+0181 c1028000 rtneq mouse_lm_button 
+0182 c1030000 rtneq mouse_rm_button 
+0183 c1018000 rtneq mouse_lr_button 
+0184 c1038000 rtneq mouse_lmr_button 
+0185 da604c9f arg mem_long_key_press_timeout ,regc 
+0186 da400188 arg p_mouse_long_key_press_timeout ,regb 
+0187 2020318a branch timer_single_step 
 
 p_mouse_long_key_press_timeout:
-0193 6fe0cb8b fetch 1 ,mem_customer_key 
-0194 79207e07 set1 7 ,pdata 
-0195 2020019a branch p_mouse_long_key_press_init_next 
+0188 6fe0cb8b fetch 1 ,mem_customer_key 
+0189 79207e07 set1 7 ,pdata 
+018a 2020018f branch p_mouse_long_key_press_init_next 
 
 p_mouse_long_key_press_init:
-0196 6fe0cc9e fetch 1 ,mem_long_key_press_timeout_init 
-0197 67e0cc9f store 1 ,mem_long_key_press_timeout 
-0198 6fe0cb8b fetch 1 ,mem_customer_key 
-0199 793ffe07 set0 7 ,pdata 
+018b 6fe0cc9e fetch 1 ,mem_long_key_press_timeout_init 
+018c 67e0cc9f store 1 ,mem_long_key_press_timeout 
+018d 6fe0cb8b fetch 1 ,mem_customer_key 
+018e 793ffe07 set0 7 ,pdata 
 
 p_mouse_long_key_press_init_next:
-019a 67e0cb8b store 1 ,mem_customer_key 
-019b 20600000 rtn 
+018f 67e0cb8b store 1 ,mem_customer_key 
+0190 20600000 rtn 
 
 p_mouse_key_mode_check_timer:
-019c 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
-019d c08301ab bne mouse_rm_button ,p_mouse_key_mode_check_timer_init 
-019e da604ca1 arg mem_long_key_press_mode_check_timeout ,regc 
-019f da4001a1 arg p_mouse_key_mode_check_timeout ,regb 
-01a0 2020318a branch timer_single_step 
+0191 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
+0192 c08301a0 bne mouse_rm_button ,p_mouse_key_mode_check_timer_init 
+0193 da604ca1 arg mem_long_key_press_mode_check_timeout ,regc 
+0194 da400196 arg p_mouse_key_mode_check_timeout ,regb 
+0195 2020318a branch timer_single_step 
 
 p_mouse_key_mode_check_timeout:
-01a1 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
-01a2 1fe0fe01 increase 1 ,pdata 
-01a3 c08181a5 bne 3 ,p_mouse_key_mode_check_timeout + 4 
-01a4 58000000 setarg 0 
-01a5 704caf01 jam multi_led_blink ,mem_mouse_multi_led_type 
-01a6 704cb102 jam 0x02 ,mem_mouse_led_blink_timer 
-01a7 704cb002 jam 0x02 ,mem_mouse_led_blink_timer_init 
-01a8 704cb204 jam 0x04 ,mem_mouse_led_blink_count 
-01a9 67e0cca4 store 1 ,mem_customer_key_mode_status 
-01aa 20600000 rtn 
+0196 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
+0197 1fe0fe01 increase 1 ,pdata 
+0198 c081819a bne 3 ,p_mouse_key_mode_check_timeout + 4 
+0199 58000000 setarg 0 
+019a 704cb001 jam multi_led_blink ,mem_mouse_multi_led_type 
+019b 704cb202 jam 0x02 ,mem_mouse_led_blink_timer 
+019c 704cb102 jam 0x02 ,mem_mouse_led_blink_timer_init 
+019d 704cb304 jam 0x04 ,mem_mouse_led_blink_count 
+019e 67e0cca4 store 1 ,mem_customer_key_mode_status 
+019f 20600000 rtn 
 
 p_mouse_key_mode_check_timer_init:
-01ab 6fe0cca0 fetch 1 ,mem_long_key_press_mode_check_timeout_init 
-01ac 67e0cca1 store 1 ,mem_long_key_press_mode_check_timeout 
-01ad 20600000 rtn 
+01a0 6fe0cca0 fetch 1 ,mem_long_key_press_mode_check_timeout_init 
+01a1 67e0cca1 store 1 ,mem_long_key_press_mode_check_timeout 
+01a2 20600000 rtn 
 
 p_mouse_two_clink_check_timer:
-01ae 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
-01af 207a0000 rtn blank 
-01b0 da604ca9 arg mem_key0_short_press_timer ,regc 
-01b1 da4001b3 arg p_mouse_two_clink_check_timeout ,regb 
-01b2 2020318a branch timer_single_step 
+01a3 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
+01a4 207a0000 rtn blank 
+01a5 da604ca9 arg mem_key0_short_press_timer ,regc 
+01a6 da4001a8 arg p_mouse_two_clink_check_timeout ,regb 
+01a7 2020318a branch timer_single_step 
 
 p_mouse_two_clink_check_timeout:
-01b3 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
-01b4 704ca800 jam 0 ,mem_key0_short_press_count 
-01b5 c1808000 rtnne 1 
+01a8 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
+01a9 704ca800 jam 0 ,mem_key0_short_press_count 
+01aa c1808000 rtnne 1 
 
 p_mouse_one_clink:
-01b6 704caa01 jam 1 ,mem_key0_short_press_flag 
-01b7 20600000 rtn 
+01ab 704caa01 jam 1 ,mem_key0_short_press_flag 
+01ac 20600000 rtn 
 
 p_mouse_init_sunt:
-01b8 20600000 rtn 
+01ad 20600000 rtn 
 
 p_mouse_sensor_poweron:
-01b9 20600000 rtn 
+01ae 20600000 rtn 
 
 p_g24_transmit_no_interrupt:
-01ba 20402631 call g24_txdata_prep 
-01bb 243426a1 nbranch g24_nodata_transmit ,user 
+01af 20402631 call g24_txdata_prep 
+01b0 243426a1 nbranch g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-01bc 204001d2 call p_g24_transmit_process 
-01bd 20202625 branch g24_transmit_start + 1 
+01b1 204001c7 call p_g24_transmit_process 
+01b2 20202625 branch g24_transmit_start + 1 
 
 p_g24_nodata_transmit:
-01be 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-01bf 205a01c4 call p_g24_send_abort_packet ,blank 
-01c0 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-01c1 c1008000 rtneq g24_tx_timer_int_enable 
-01c2 2040269f call g24_search_receiver 
-01c3 202026b5 branch g24_long_sleep 
+01b3 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+01b4 205a01b9 call p_g24_send_abort_packet ,blank 
+01b5 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+01b6 c1008000 rtneq g24_tx_timer_int_enable 
+01b7 2040269f call g24_search_receiver 
+01b8 202026b5 branch g24_long_sleep 
 
 p_g24_send_abort_packet:
-01c4 70483601 jam type_ms ,mem_24g_data_type 
-01c5 7048a701 jam 1 ,mem_24g_abort_pac 
-01c6 20402642 call g24_transmit_rf_ctrl_clear 
-01c7 67e0c7c6 store 1 ,mem_24g_txbuf 
-01c8 58000000 setarg 0 
-01c9 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-01ca 6fe248a9 fetch 4 ,mem_24g_device_addr 
-01cb 67e247ce store 4 ,mem_24g_txbuf + 8 
-01cc 7048350c jam 12 ,mem_24g_datalen 
-01cd 6fe0c836 fetch 1 ,mem_24g_data_type 
-01ce 79207e03 set1 bit_abort ,pdata 
-01cf 67e0c836 store 1 ,mem_24g_data_type 
-01d0 20402291 call g24_transmit_prep 
-01d1 202001bc branch p_g24_transmit_start 
+01b9 70483601 jam type_ms ,mem_24g_data_type 
+01ba 7048a701 jam 1 ,mem_24g_abort_pac 
+01bb 20402642 call g24_transmit_rf_ctrl_clear 
+01bc 67e0c7c6 store 1 ,mem_24g_txbuf 
+01bd 58000000 setarg 0 
+01be 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+01bf 6fe248a9 fetch 4 ,mem_24g_device_addr 
+01c0 67e247ce store 4 ,mem_24g_txbuf + 8 
+01c1 7048350c jam 12 ,mem_24g_datalen 
+01c2 6fe0c836 fetch 1 ,mem_24g_data_type 
+01c3 79207e03 set1 bit_abort ,pdata 
+01c4 67e0c836 store 1 ,mem_24g_data_type 
+01c5 20402291 call g24_transmit_prep 
+01c6 202001b1 branch p_g24_transmit_start 
 
 p_g24_transmit_process:
-01d2 7048a600 jam 0 ,mem_24g_retry 
+01c7 7048a600 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-01d3 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
-01d4 34730200 until clkn_rt ,meet 
-01d5 2040265b call g24_transmit_receive_ack 
-01d6 6fe0c82c fetch 1 ,mem_24g_no_ack 
-01d7 c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-01d8 242c01dd nbranch p_g24_retransmit ,sync 
-01d9 243781dd nbranch p_g24_retransmit ,user3 
-01da 20402672 call g24_ackpayload_parse 
-01db 704be100 jam 0 ,mem_sensor_shutdown_flag 
-01dc 20202651 branch g24_transmit_no_ack 
+01c8 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+01c9 34730200 until clkn_rt ,meet 
+01ca 2040265b call g24_transmit_receive_ack 
+01cb 6fe0c82c fetch 1 ,mem_24g_no_ack 
+01cc c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+01cd 242c01d2 nbranch p_g24_retransmit ,sync 
+01ce 243781d2 nbranch p_g24_retransmit ,user3 
+01cf 20402672 call g24_ackpayload_parse 
+01d0 704be100 jam 0 ,mem_sensor_shutdown_flag 
+01d1 20202651 branch g24_transmit_no_ack 
 
 p_g24_retransmit:
-01dd 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-01de 247a0000 nrtn blank 
-01df 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-01e0 1fe0fe01 increase 1 ,pdata 
-01e1 67e148a3 store 2 ,mem_24g_txfail_cnt 
-01e2 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-01e3 c2822679 bbit1 4 ,g24_tx_attempt_fail 
-01e4 2040267e call g24_transmit_hop_process 
-01e5 202001d3 branch p_g24_transmit_loop 
+01d2 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+01d3 247a0000 nrtn blank 
+01d4 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+01d5 1fe0fe01 increase 1 ,pdata 
+01d6 67e148a3 store 2 ,mem_24g_txfail_cnt 
+01d7 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+01d8 c2822679 bbit1 4 ,g24_tx_attempt_fail 
+01d9 2040267e call g24_transmit_hop_process 
+01da 202001c8 branch p_g24_transmit_loop 
 
 p_mouse_24g_package_data:
-01e6 c6930000 rtnmark0 mark_24g 
-01e7 20403f70 call mouse_motion 
-01e8 24740000 nrtn user 
-01e9 6fe0cb8b fetch 1 ,mem_customer_key 
-01ea 243a01ec nbranch p_mouse_24g_keyboard_package_data ,blank 
-01eb 20600000 rtn 
+01db c6930000 rtnmark0 mark_24g 
+01dc 20403f70 call mouse_motion 
+01dd 24740000 nrtn user 
+01de 6fe0cb8b fetch 1 ,mem_customer_key 
+01df 243a01e1 nbranch p_mouse_24g_keyboard_package_data ,blank 
+01e0 20600000 rtn 
 
 p_mouse_24g_keyboard_package_data:
-01ec 70483602 jam type_kb ,mem_24g_data_type 
-01ed da200009 arg 9 ,rega 
-01ee 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
-01ef 243a01f9 nbranch p_mouse_customer_key_press_judge ,blank 
-01f0 6fe0cc9c fetch 1 ,mem_mouse_media_flag 
-01f1 243a0200 nbranch p_mouse_24g_media_key_release ,blank 
-01f2 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
-01f3 284ffe00 isolate1 0 ,temp 
-01f4 2020820f branch p_mouse_key0_long_pres_1_data_store ,true 
-01f5 284ffe01 isolate1 1 ,temp 
-01f6 20208213 branch p_mouse_key1_release_store ,true 
+01e1 70483602 jam type_kb ,mem_24g_data_type 
+01e2 da200009 arg 9 ,rega 
+01e3 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
+01e4 243a01ee nbranch p_mouse_customer_key_press_judge ,blank 
+01e5 6fe0cc9c fetch 1 ,mem_mouse_media_flag 
+01e6 243a01f5 nbranch p_mouse_24g_media_key_release ,blank 
+01e7 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
+01e8 284ffe00 isolate1 0 ,temp 
+01e9 20208204 branch p_mouse_key0_long_pres_1_data_store ,true 
+01ea 284ffe01 isolate1 1 ,temp 
+01eb 20208208 branch p_mouse_key1_release_store ,true 
 
 p_mouse_customer_key_release:
-01f7 da404bd5 arg mem_customer_key_release ,regb 
-01f8 20600000 rtn 
+01ec da404bd5 arg mem_customer_key_release ,regb 
+01ed 20600000 rtn 
 
 p_mouse_customer_key_press_judge:
-01f9 6fe0cb8b fetch 1 ,mem_customer_key 
-01fa c2800202 bbit1 0 ,p_mouse_key0_data_store 
-01fb c2808218 bbit1 1 ,p_mouse_key1_data_store 
-01fc c2810238 bbit1 2 ,p_mouse_key2_data_store 
-01fd c2818245 bbit1 3 ,p_mouse_key3_data_store 
-01fe c2820247 bbit1 4 ,p_mouse_key4_data_store 
-01ff 20600000 rtn 
+01ee 6fe0cb8b fetch 1 ,mem_customer_key 
+01ef c28001f7 bbit1 0 ,p_mouse_key0_data_store 
+01f0 c280820d bbit1 1 ,p_mouse_key1_data_store 
+01f1 c281022d bbit1 2 ,p_mouse_key2_data_store 
+01f2 c281823a bbit1 3 ,p_mouse_key3_data_store 
+01f3 c282023c bbit1 4 ,p_mouse_key4_data_store 
+01f4 20600000 rtn 
 
 p_mouse_24g_media_key_release:
-0200 da404c8e arg mem_customer_media_key_release ,regb 
-0201 20600000 rtn 
+01f5 da404c8e arg mem_customer_media_key_release ,regb 
+01f6 20600000 rtn 
 
 p_mouse_key0_data_store:
-0202 6fe0cb8b fetch 1 ,mem_customer_key 
-0203 c283820d bbit1 7 ,p_mouse_key0_long_pres_0_data_store 
-0204 6fe0ccaa fetch 1 ,mem_key0_short_press_flag 
-0205 704caa00 jam 0 ,mem_key0_short_press_flag 
-0206 c001020b beq 2 ,p_mouse_key0_two_clink_data_store 
-0207 c0008209 beq 1 ,p_mouse_key0_short_data_store 
-0208 20600000 rtn 
+01f7 6fe0cb8b fetch 1 ,mem_customer_key 
+01f8 c2838202 bbit1 7 ,p_mouse_key0_long_pres_0_data_store 
+01f9 6fe0ccaa fetch 1 ,mem_key0_short_press_flag 
+01fa 704caa00 jam 0 ,mem_key0_short_press_flag 
+01fb c0010200 beq 2 ,p_mouse_key0_two_clink_data_store 
+01fc c00081fe beq 1 ,p_mouse_key0_short_data_store 
+01fd 20600000 rtn 
 
 p_mouse_key0_short_data_store:
-0209 da404bec arg mem_customer_key0_short_press ,regb 
-020a 20600000 rtn 
+01fe da404bec arg mem_customer_key0_short_press ,regb 
+01ff 20600000 rtn 
 
 p_mouse_key0_two_clink_data_store:
-020b da404c3d arg mem_customer_key0_two_clink_press ,regb 
-020c 20600000 rtn 
+0200 da404c3d arg mem_customer_key0_two_clink_press ,regb 
+0201 20600000 rtn 
 
 p_mouse_key0_long_pres_0_data_store:
-020d da404c34 arg mem_customer_key0_long_press_0 ,regb 
-020e 20600000 rtn 
+0202 da404c34 arg mem_customer_key0_long_press_0 ,regb 
+0203 20600000 rtn 
 
 p_mouse_key0_long_pres_1_data_store:
-020f 793f8400 set0 0 ,temp 
-0210 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
-0211 da404c46 arg mem_customer_key0_long_press_1 ,regb 
-0212 20600000 rtn 
+0204 793f8400 set0 0 ,temp 
+0205 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
+0206 da404c46 arg mem_customer_key0_long_press_1 ,regb 
+0207 20600000 rtn 
 
 p_mouse_key1_release_store:
-0213 6fe0cca7 fetch 1 ,mem_key1_long_press_1_count 
-0214 c00001f7 beq 0 ,p_mouse_customer_key_release 
-0215 793f8401 set0 1 ,temp 
-0216 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
-0217 202001f7 branch p_mouse_customer_key_release 
+0208 6fe0cca7 fetch 1 ,mem_key1_long_press_1_count 
+0209 c00001ec beq 0 ,p_mouse_customer_key_release 
+020a 793f8401 set0 1 ,temp 
+020b 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
+020c 202001ec branch p_mouse_customer_key_release 
 
 p_mouse_key1_data_store:
-0218 6fe0cb8b fetch 1 ,mem_customer_key 
-0219 c2838223 bbit1 7 ,p_mouse_key1_long_pres_data_store 
-021a 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
-021b c000821f beq 1 ,p_mouse_key1_short_press_mode1_data_store 
-021c c0010221 beq 2 ,p_mouse_key1_short_press_mode2_data_store 
-021d da404bf5 arg mem_customer_key1_short_press ,regb 
-021e 20600000 rtn 
+020d 6fe0cb8b fetch 1 ,mem_customer_key 
+020e c2838218 bbit1 7 ,p_mouse_key1_long_pres_data_store 
+020f 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
+0210 c0008214 beq 1 ,p_mouse_key1_short_press_mode1_data_store 
+0211 c0010216 beq 2 ,p_mouse_key1_short_press_mode2_data_store 
+0212 da404bf5 arg mem_customer_key1_short_press ,regb 
+0213 20600000 rtn 
 
 p_mouse_key1_short_press_mode1_data_store:
-021f da404c07 arg mem_customer_key1_short_press_mode1 ,regb 
-0220 20600000 rtn 
+0214 da404c07 arg mem_customer_key1_short_press_mode1 ,regb 
+0215 20600000 rtn 
 
 p_mouse_key1_short_press_mode2_data_store:
-0221 da404c19 arg mem_customer_key1_short_press_mode2 ,regb 
-0222 20600000 rtn 
+0216 da404c19 arg mem_customer_key1_short_press_mode2 ,regb 
+0217 20600000 rtn 
 
 p_mouse_key1_long_pres_data_store:
-0223 6fe0cca6 fetch 1 ,mem_key1_long_press_flag 
-0224 c0008228 beq on ,p_mouse_key1_long_press_data_store 
-0225 da404c4f arg mem_customer_key1_long_press ,regb 
-0226 704ca601 jam on ,mem_key1_long_press_flag 
-0227 20600000 rtn 
+0218 6fe0cca6 fetch 1 ,mem_key1_long_press_flag 
+0219 c000821d beq on ,p_mouse_key1_long_press_data_store 
+021a da404c4f arg mem_customer_key1_long_press ,regb 
+021b 704ca601 jam on ,mem_key1_long_press_flag 
+021c 20600000 rtn 
 
 p_mouse_key1_long_press_data_store:
-0228 6fe0cca7 fetch 1 ,mem_key1_long_press_1_count 
-0229 1fe0fe01 increase 1 ,pdata 
-022a 67e0cca7 store 1 ,mem_key1_long_press_1_count 
-022b c0008232 beq 1 ,p_mouse_key1_long_pres_1_1_data_store 
-022c c0010234 beq 2 ,p_mouse_key1_long_pres_1_2_data_store 
-022d c0018236 beq 3 ,p_mouse_key1_long_pres_1_3_data_store 
-022e da404c58 arg mem_customer_key1_long_press_1 ,regb 
-022f 704ca700 jam 0 ,mem_key1_long_press_1_count 
-0230 704ca600 jam off ,mem_key1_long_press_flag 
-0231 20600000 rtn 
+021d 6fe0cca7 fetch 1 ,mem_key1_long_press_1_count 
+021e 1fe0fe01 increase 1 ,pdata 
+021f 67e0cca7 store 1 ,mem_key1_long_press_1_count 
+0220 c0008227 beq 1 ,p_mouse_key1_long_pres_1_1_data_store 
+0221 c0010229 beq 2 ,p_mouse_key1_long_pres_1_2_data_store 
+0222 c001822b beq 3 ,p_mouse_key1_long_pres_1_3_data_store 
+0223 da404c58 arg mem_customer_key1_long_press_1 ,regb 
+0224 704ca700 jam 0 ,mem_key1_long_press_1_count 
+0225 704ca600 jam off ,mem_key1_long_press_flag 
+0226 20600000 rtn 
 
 p_mouse_key1_long_pres_1_1_data_store:
-0232 da404c61 arg mem_customer_key1_long_press_1_1 ,regb 
-0233 20600000 rtn 
+0227 da404c61 arg mem_customer_key1_long_press_1_1 ,regb 
+0228 20600000 rtn 
 
 p_mouse_key1_long_pres_1_2_data_store:
-0234 da404c6a arg mem_customer_key1_long_press_1_2 ,regb 
-0235 20600000 rtn 
+0229 da404c6a arg mem_customer_key1_long_press_1_2 ,regb 
+022a 20600000 rtn 
 
 p_mouse_key1_long_pres_1_3_data_store:
-0236 da404c73 arg mem_customer_key1_long_press_1_3 ,regb 
-0237 20600000 rtn 
+022b da404c73 arg mem_customer_key1_long_press_1_3 ,regb 
+022c 20600000 rtn 
 
 p_mouse_key2_data_store:
-0238 6fe0cb8b fetch 1 ,mem_customer_key 
-0239 c283823f bbit1 7 ,p_mouse_key2_long_pres_data_store 
-023a 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
-023b c0008241 beq 1 ,p_mouse_key2_short_press_mode1_data_store 
-023c c0010243 beq 2 ,p_mouse_key2_short_press_mode2_data_store 
-023d da404bfe arg mem_customer_key2_short_press ,regb 
-023e 20600000 rtn 
+022d 6fe0cb8b fetch 1 ,mem_customer_key 
+022e c2838234 bbit1 7 ,p_mouse_key2_long_pres_data_store 
+022f 6fe0cca4 fetch 1 ,mem_customer_key_mode_status 
+0230 c0008236 beq 1 ,p_mouse_key2_short_press_mode1_data_store 
+0231 c0010238 beq 2 ,p_mouse_key2_short_press_mode2_data_store 
+0232 da404bfe arg mem_customer_key2_short_press ,regb 
+0233 20600000 rtn 
 
 p_mouse_key2_long_pres_data_store:
-023f da404c2b arg mem_customer_key2_long_press ,regb 
-0240 20600000 rtn 
+0234 da404c2b arg mem_customer_key2_long_press ,regb 
+0235 20600000 rtn 
 
 p_mouse_key2_short_press_mode1_data_store:
-0241 da404c10 arg mem_customer_key2_short_press_mode1 ,regb 
-0242 20600000 rtn 
+0236 da404c10 arg mem_customer_key2_short_press_mode1 ,regb 
+0237 20600000 rtn 
 
 p_mouse_key2_short_press_mode2_data_store:
-0243 da404c22 arg mem_customer_key2_short_press_mode2 ,regb 
-0244 20600000 rtn 
+0238 da404c22 arg mem_customer_key2_short_press_mode2 ,regb 
+0239 20600000 rtn 
 
 p_mouse_key3_data_store:
-0245 da404c7c arg mem_customer_key3_media ,regb 
-0246 20600000 rtn 
+023a da404c7c arg mem_customer_key3_media ,regb 
+023b 20600000 rtn 
 
 p_mouse_key4_data_store:
-0247 da404c85 arg mem_customer_key4_media ,regb 
-0248 20600000 rtn 
+023c da404c85 arg mem_customer_key4_media ,regb 
+023d 20600000 rtn 
 
 p_mouse_check_key_gpio:
-0249 6fe0cb8b fetch 1 ,mem_customer_key 
-024a 1fe22200 copy pdata ,rega 
-024b 20400283 call p_mouse_check_key0_gpio 
-024c 2040029b call p_mouse_check_key1_gpio 
-024d 204002a6 call p_mouse_check_key2_gpio 
-024e 204002af call p_mouse_check_key3_gpio 
-024f 204002b8 call p_mouse_check_key4_gpio 
-0250 1a227e00 copy rega ,pdata 
-0251 67e0cb8b store 1 ,mem_customer_key 
-0252 20600000 rtn 
+023e 6fe0cb8b fetch 1 ,mem_customer_key 
+023f 1fe22200 copy pdata ,rega 
+0240 2040027c call p_mouse_check_key0_gpio 
+0241 20400294 call p_mouse_check_key1_gpio 
+0242 2040029f call p_mouse_check_key2_gpio 
+0243 204002a8 call p_mouse_check_key3_gpio 
+0244 204002b1 call p_mouse_check_key4_gpio 
+0245 1a227e00 copy rega ,pdata 
+0246 67e0cb8b store 1 ,mem_customer_key 
+0247 6fe0cca2 fetch 1 ,mem_customer_key_press_status 
+0248 c1000000 rtneq 0 
+0249 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+024a 67e4485c store 8 ,mem_24g_enter_hibernate 
+024b 20600000 rtn 
 
 p_mouse_check_key_connect_gnd:
-0253 1fe3fe00 lshift pdata ,pdata 
-0254 1fe22400 copy pdata ,regb 
-0255 20406059 call gpio_get_bit 
-0256 7920a400 setflag true ,0 ,regb 
-0257 1a417e3f and regb ,0x3f ,pdata 
-0258 6848cb96 fetcht 1 ,mem_mouse_key_temp 
-0259 18420e00 copy temp ,queue 
-025a c01c026a beq 0x38 ,p_mouse_key_short_press 
-025b c0000278 beq 0x00 ,p_mouse_key_release 
-025c c01f825e beq 0x3f ,p_mouse_key_long_press 
-025d 20600000 rtn 
+024c 1fe3fe00 lshift pdata ,pdata 
+024d 1fe22400 copy pdata ,regb 
+024e 20406059 call gpio_get_bit 
+024f 7920a400 setflag true ,0 ,regb 
+0250 1a417e3f and regb ,0x3f ,pdata 
+0251 6848cb96 fetcht 1 ,mem_mouse_key_temp 
+0252 18420e00 copy temp ,queue 
+0253 c01c0263 beq 0x38 ,p_mouse_key_short_press 
+0254 c0000271 beq 0x00 ,p_mouse_key_release 
+0255 c01f8257 beq 0x3f ,p_mouse_key_long_press 
+0256 20600000 rtn 
 
 p_mouse_key_long_press:
-025e 6848cca2 fetcht 1 ,mem_customer_key_press_status 
-025f f9200400 qset1 temp 
-0260 6048cca2 storet 1 ,mem_customer_key_press_status 
-0261 2a2ffe07 isolate1 7 ,rega 
-0262 20208264 branch p_mouse_key_long_press_next ,true 
-0263 20600000 rtn 
+0257 6848cca2 fetcht 1 ,mem_customer_key_press_status 
+0258 f9200400 qset1 temp 
+0259 6048cca2 storet 1 ,mem_customer_key_press_status 
+025a 2a2ffe07 isolate1 7 ,rega 
+025b 2020825d branch p_mouse_key_long_press_next ,true 
+025c 20600000 rtn 
 
 p_mouse_key_long_press_next:
-0264 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
-0265 a84fffff qisolate1 temp 
-0266 2020c191 branch mouse_key_release ,true 
-0267 f9200400 qset1 temp 
-0268 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
-0269 20204193 branch mouse_key_press 
+025d 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
+025e a84fffff qisolate1 temp 
+025f 2020c191 branch mouse_key_release ,true 
+0260 f9200400 qset1 temp 
+0261 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
+0262 20204193 branch mouse_key_press 
 
 p_mouse_key_short_press:
-026a 2a2ffe07 isolate1 7 ,rega 
-026b 20608000 rtn true 
-026c 18e27e00 copy queue ,pdata 
-026d 243a4193 nbranch mouse_key_press ,blank 
-026e 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
-026f 1fe0fe01 increase 1 ,pdata 
-0270 67e0cca8 store 1 ,mem_key0_short_press_count 
-0271 c0010274 beq 2 ,p_mouse_key0_two_clink 
-0272 704ca905 jam 0x05 ,mem_key0_short_press_timer 
-0273 20200278 branch p_mouse_key_release 
+0263 2a2ffe07 isolate1 7 ,rega 
+0264 20608000 rtn true 
+0265 18e27e00 copy queue ,pdata 
+0266 243a4193 nbranch mouse_key_press ,blank 
+0267 6fe0cca8 fetch 1 ,mem_key0_short_press_count 
+0268 1fe0fe01 increase 1 ,pdata 
+0269 67e0cca8 store 1 ,mem_key0_short_press_count 
+026a c001026d beq 2 ,p_mouse_key0_two_clink 
+026b 704ca905 jam 0x05 ,mem_key0_short_press_timer 
+026c 20200271 branch p_mouse_key_release 
 
 p_mouse_key0_two_clink:
-0274 704caa02 jam 2 ,mem_key0_short_press_flag 
-0275 20204193 branch mouse_key_press 
+026d 704caa02 jam 2 ,mem_key0_short_press_flag 
+026e 20204193 branch mouse_key_press 
 
 p_mouse_key0_one_clink_press:
-0276 79202200 set1 0 ,rega 
-0277 20600000 rtn 
+026f 79202200 set1 0 ,rega 
+0270 20600000 rtn 
 
 p_mouse_key_release:
-0278 6fe0ccaa fetch 1 ,mem_key0_short_press_flag 
-0279 c0008276 beq 1 ,p_mouse_key0_one_clink_press 
-027a 6848cca2 fetcht 1 ,mem_customer_key_press_status 
-027b f93f8400 qset0 temp 
-027c 6048cca2 storet 1 ,mem_customer_key_press_status 
-027d 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
-027e f93f8400 qset0 temp 
-027f 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
-0280 2a2ffe07 isolate1 7 ,rega 
-0281 20608000 rtn true 
-0282 20204191 branch mouse_key_release 
+0271 6fe0ccaa fetch 1 ,mem_key0_short_press_flag 
+0272 c000826f beq 1 ,p_mouse_key0_one_clink_press 
+0273 6848cca2 fetcht 1 ,mem_customer_key_press_status 
+0274 f93f8400 qset0 temp 
+0275 6048cca2 storet 1 ,mem_customer_key_press_status 
+0276 6848cca3 fetcht 1 ,mem_customer_key_press_status_flag 
+0277 f93f8400 qset0 temp 
+0278 6048cca3 storet 1 ,mem_customer_key_press_status_flag 
+0279 2a2ffe07 isolate1 7 ,rega 
+027a 20608000 rtn true 
+027b 20204191 branch mouse_key_release 
 
 p_mouse_check_key0_gpio:
-0283 704b9600 jam mouse_l_key ,mem_mouse_key_temp 
-0284 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
-0285 6fe0cc97 fetch 1 ,mem_mouse_customer_key0_press_status 
-0286 20400253 call p_mouse_check_key_connect_gnd 
-0287 67e0cc97 store 1 ,mem_mouse_customer_key0_press_status 
-0288 1a227e00 copy rega ,pdata 
-0289 c280028c bbit1 mouse_l_key ,p_mouse_customerkey0_press 
-028a 204002d7 call p_mouse_customerkey_release 
-028b 202002a3 branch p_mouse_customerkey_exit 
+027c 704b9600 jam mouse_l_key ,mem_mouse_key_temp 
+027d 6848cbe7 fetcht 1 ,mem_flippen_key0_gpio 
+027e 6fe0cc97 fetch 1 ,mem_mouse_customer_key0_press_status 
+027f 2040024c call p_mouse_check_key_connect_gnd 
+0280 67e0cc97 store 1 ,mem_mouse_customer_key0_press_status 
+0281 1a227e00 copy rega ,pdata 
+0282 c2800285 bbit1 mouse_l_key ,p_mouse_customerkey0_press 
+0283 204002d0 call p_mouse_customerkey_release 
+0284 2020029c branch p_mouse_customerkey_exit 
 
 p_mouse_customerkey0_press:
-028c 2a2ffe07 isolate1 7 ,rega 
-028d 2020828f branch p_mouse_customer_key0_long_press_check ,true 
-028e 202002d3 branch p_mouse_customerkey_press 
+0285 2a2ffe07 isolate1 7 ,rega 
+0286 20208288 branch p_mouse_customer_key0_long_press_check ,true 
+0287 202002cc branch p_mouse_customerkey_press 
 
 p_mouse_customer_key0_long_press_check:
-028f 6fe0cca5 fetch 1 ,mem_key0_long_press_delay 
-0290 247a0000 nrtn blank 
-0291 704ca508 jam 0x08 ,mem_key0_long_press_delay 
-0292 202002d3 branch p_mouse_customerkey_press 
+0288 6fe0cca5 fetch 1 ,mem_key0_long_press_delay 
+0289 247a0000 nrtn blank 
+028a 704ca508 jam 0x08 ,mem_key0_long_press_delay 
+028b 202002cc branch p_mouse_customerkey_press 
 
 p_mouse_customer_key0_long_press_timer:
-0293 6fe0cb8b fetch 1 ,mem_customer_key 
-0294 c4038000 rtnbit0 7 
-0295 c4000000 rtnbit0 0 
-0296 6fe0cca5 fetch 1 ,mem_key0_long_press_delay 
-0297 207a0000 rtn blank 
-0298 1fe0ffff increase -1 ,pdata 
-0299 67e0cca5 store 1 ,mem_key0_long_press_delay 
-029a 20600000 rtn 
+028c 6fe0cb8b fetch 1 ,mem_customer_key 
+028d c4038000 rtnbit0 7 
+028e c4000000 rtnbit0 0 
+028f 6fe0cca5 fetch 1 ,mem_key0_long_press_delay 
+0290 207a0000 rtn blank 
+0291 1fe0ffff increase -1 ,pdata 
+0292 67e0cca5 store 1 ,mem_key0_long_press_delay 
+0293 20600000 rtn 
 
 p_mouse_check_key1_gpio:
-029b 704b9601 jam mouse_r_key ,mem_mouse_key_temp 
-029c 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
-029d 6fe0cc98 fetch 1 ,mem_mouse_customer_key1_press_status 
-029e 20400253 call p_mouse_check_key_connect_gnd 
-029f 67e0cc98 store 1 ,mem_mouse_customer_key1_press_status 
-02a0 1a227e00 copy rega ,pdata 
-02a1 c28082d3 bbit1 mouse_r_key ,p_mouse_customerkey_press 
-02a2 204002d7 call p_mouse_customerkey_release 
+0294 704b9601 jam mouse_r_key ,mem_mouse_key_temp 
+0295 6848cbe8 fetcht 1 ,mem_flippen_key1_gpio 
+0296 6fe0cc98 fetch 1 ,mem_mouse_customer_key1_press_status 
+0297 2040024c call p_mouse_check_key_connect_gnd 
+0298 67e0cc98 store 1 ,mem_mouse_customer_key1_press_status 
+0299 1a227e00 copy rega ,pdata 
+029a c28082cc bbit1 mouse_r_key ,p_mouse_customerkey_press 
+029b 204002d0 call p_mouse_customerkey_release 
 
 p_mouse_customerkey_exit:
-02a3 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
-02a4 67e0cb8d store 1 ,mem_customer_data_trigger_last 
-02a5 20600000 rtn 
+029c 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
+029d 67e0cb8d store 1 ,mem_customer_data_trigger_last 
+029e 20600000 rtn 
 
 p_mouse_check_key2_gpio:
-02a6 704b9602 jam mouse_m_key ,mem_mouse_key_temp 
-02a7 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
-02a8 6fe0cc99 fetch 1 ,mem_mouse_customer_key2_press_status 
-02a9 20400253 call p_mouse_check_key_connect_gnd 
-02aa 67e0cc99 store 1 ,mem_mouse_customer_key2_press_status 
-02ab 1a227e00 copy rega ,pdata 
-02ac c28102d3 bbit1 mouse_m_key ,p_mouse_customerkey_press 
-02ad 204002d7 call p_mouse_customerkey_release 
-02ae 202002a3 branch p_mouse_customerkey_exit 
+029f 704b9602 jam mouse_m_key ,mem_mouse_key_temp 
+02a0 6848cbe9 fetcht 1 ,mem_flippen_key2_gpio 
+02a1 6fe0cc99 fetch 1 ,mem_mouse_customer_key2_press_status 
+02a2 2040024c call p_mouse_check_key_connect_gnd 
+02a3 67e0cc99 store 1 ,mem_mouse_customer_key2_press_status 
+02a4 1a227e00 copy rega ,pdata 
+02a5 c28102cc bbit1 mouse_m_key ,p_mouse_customerkey_press 
+02a6 204002d0 call p_mouse_customerkey_release 
+02a7 2020029c branch p_mouse_customerkey_exit 
 
 p_mouse_check_key3_gpio:
-02af 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-02b0 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
-02b1 6fe0cc9a fetch 1 ,mem_mouse_customer_key3_press_status 
-02b2 204002c1 call p_mouse_check_media_key_connect_gnd 
-02b3 67e0cc9a store 1 ,mem_mouse_customer_key3_press_status 
-02b4 1a227e00 copy rega ,pdata 
-02b5 c28182d3 bbit1 mouse_bk_key ,p_mouse_customerkey_press 
-02b6 204002df call p_mouse_customerkey_media_release 
-02b7 202002a3 branch p_mouse_customerkey_exit 
+02a8 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+02a9 6848cbea fetcht 1 ,mem_flippen_key3_gpio 
+02aa 6fe0cc9a fetch 1 ,mem_mouse_customer_key3_press_status 
+02ab 204002ba call p_mouse_check_media_key_connect_gnd 
+02ac 67e0cc9a store 1 ,mem_mouse_customer_key3_press_status 
+02ad 1a227e00 copy rega ,pdata 
+02ae c28182cc bbit1 mouse_bk_key ,p_mouse_customerkey_press 
+02af 204002d8 call p_mouse_customerkey_media_release 
+02b0 2020029c branch p_mouse_customerkey_exit 
 
 p_mouse_check_key4_gpio:
-02b8 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-02b9 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
-02ba 6fe0cc9b fetch 1 ,mem_mouse_customer_key4_press_status 
-02bb 204002c1 call p_mouse_check_media_key_connect_gnd 
-02bc 67e0cc9b store 1 ,mem_mouse_customer_key4_press_status 
-02bd 1a227e00 copy rega ,pdata 
-02be c28202d3 bbit1 mouse_fw_key ,p_mouse_customerkey_press 
-02bf 204002df call p_mouse_customerkey_media_release 
-02c0 202002a3 branch p_mouse_customerkey_exit 
+02b1 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+02b2 6848cbeb fetcht 1 ,mem_flippen_key4_gpio 
+02b3 6fe0cc9b fetch 1 ,mem_mouse_customer_key4_press_status 
+02b4 204002ba call p_mouse_check_media_key_connect_gnd 
+02b5 67e0cc9b store 1 ,mem_mouse_customer_key4_press_status 
+02b6 1a227e00 copy rega ,pdata 
+02b7 c28202cc bbit1 mouse_fw_key ,p_mouse_customerkey_press 
+02b8 204002d8 call p_mouse_customerkey_media_release 
+02b9 2020029c branch p_mouse_customerkey_exit 
 
 p_mouse_check_media_key_connect_gnd:
-02c1 1fe3fe00 lshift pdata ,pdata 
-02c2 1fe22400 copy pdata ,regb 
-02c3 20406059 call gpio_get_bit 
-02c4 7920a400 setflag true ,0 ,regb 
-02c5 1a417e07 and regb ,0x07 ,pdata 
-02c6 6848cb96 fetcht 1 ,mem_mouse_key_temp 
-02c7 18420e00 copy temp ,queue 
-02c8 c00382cb beq 0x07 ,p_mouse_media_key_press 
-02c9 c00002cf beq 0x00 ,p_mouse_media_key_release 
-02ca 20600000 rtn 
+02ba 1fe3fe00 lshift pdata ,pdata 
+02bb 1fe22400 copy pdata ,regb 
+02bc 20406059 call gpio_get_bit 
+02bd 7920a400 setflag true ,0 ,regb 
+02be 1a417e07 and regb ,0x07 ,pdata 
+02bf 6848cb96 fetcht 1 ,mem_mouse_key_temp 
+02c0 18420e00 copy temp ,queue 
+02c1 c00382c4 beq 0x07 ,p_mouse_media_key_press 
+02c2 c00002c8 beq 0x00 ,p_mouse_media_key_release 
+02c3 20600000 rtn 
 
 p_mouse_media_key_press:
-02cb 6848cca2 fetcht 1 ,mem_customer_key_press_status 
-02cc f9200400 qset1 temp 
-02cd 6048cca2 storet 1 ,mem_customer_key_press_status 
-02ce 20204193 branch mouse_key_press 
+02c4 6848cca2 fetcht 1 ,mem_customer_key_press_status 
+02c5 f9200400 qset1 temp 
+02c6 6048cca2 storet 1 ,mem_customer_key_press_status 
+02c7 20204193 branch mouse_key_press 
 
 p_mouse_media_key_release:
-02cf 6848cca2 fetcht 1 ,mem_customer_key_press_status 
-02d0 f93f8400 qset0 temp 
-02d1 6048cca2 storet 1 ,mem_customer_key_press_status 
-02d2 20204191 branch mouse_key_release 
+02c8 6848cca2 fetcht 1 ,mem_customer_key_press_status 
+02c9 f93f8400 qset0 temp 
+02ca 6048cca2 storet 1 ,mem_customer_key_press_status 
+02cb 20204191 branch mouse_key_release 
 
 p_mouse_customerkey_press:
-02d3 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
-02d4 f9207e00 qset1 pdata 
-02d5 67e0cb8c store 1 ,mem_customer_data_trigger 
-02d6 202002a3 branch p_mouse_customerkey_exit 
+02cc 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
+02cd f9207e00 qset1 pdata 
+02ce 67e0cb8c store 1 ,mem_customer_data_trigger 
+02cf 2020029c branch p_mouse_customerkey_exit 
 
 p_mouse_customerkey_release:
-02d7 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
-02d8 f93ffe00 qset0 pdata 
-02d9 67e0cb8c store 1 ,mem_customer_data_trigger 
-02da 6fe0cb8d fetch 1 ,mem_customer_data_trigger_last 
-02db afefffff qisolate1 pdata 
-02dc 24608000 nrtn true 
-02dd 704c9c00 jam 0 ,mem_mouse_media_flag 
-02de 20204193 branch mouse_key_press 
+02d0 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
+02d1 f93ffe00 qset0 pdata 
+02d2 67e0cb8c store 1 ,mem_customer_data_trigger 
+02d3 6fe0cb8d fetch 1 ,mem_customer_data_trigger_last 
+02d4 afefffff qisolate1 pdata 
+02d5 24608000 nrtn true 
+02d6 704c9c00 jam 0 ,mem_mouse_media_flag 
+02d7 20204193 branch mouse_key_press 
 
 p_mouse_customerkey_media_release:
-02df 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
-02e0 f93ffe00 qset0 pdata 
-02e1 67e0cb8c store 1 ,mem_customer_data_trigger 
-02e2 6fe0cb8d fetch 1 ,mem_customer_data_trigger_last 
-02e3 afefffff qisolate1 pdata 
-02e4 24608000 nrtn true 
-02e5 704c9c01 jam 1 ,mem_mouse_media_flag 
-02e6 20204193 branch mouse_key_press 
+02d8 6fe0cb8c fetch 1 ,mem_customer_data_trigger 
+02d9 f93ffe00 qset0 pdata 
+02da 67e0cb8c store 1 ,mem_customer_data_trigger 
+02db 6fe0cb8d fetch 1 ,mem_customer_data_trigger_last 
+02dc afefffff qisolate1 pdata 
+02dd 24608000 nrtn true 
+02de 704c9c01 jam 1 ,mem_mouse_media_flag 
+02df 20204193 branch mouse_key_press 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/program/patch.prog	(revision 545)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/program/patch.prog	(working copy)
@@ -15,6 +15,7 @@
 	beq patch1a_4,p_mouse_sensor_poweron
 	beq patch1a_6,p_mouse_priority_bb_event
 	beq patch1b_1,p_mouse_bb_event_timer
+	beq patch1b_6,mouse_idle+2
 	branch loop
 
 pf_patch_ext:
@@ -264,21 +265,10 @@
 p_mouse_setgpio_hibernate:
 	call mouse_set_sdio_high
 	call clear_wake
-	call mouse_before_hibernate_wheel_gpio_set
-	fetch 1,mem_matrix_public_gpio
-	beq GPIO_DISABLE,p_mouse_setgpio_hibernate_skip_public_gpio
-	fetcht 1,mem_matrix_public_gpio		// enable b4/b5/dpi wakeup
-	call gpio_out_active
-	fetcht 1,mem_matrix_public_gpio
-	call gpio_clr_wake
-p_mouse_setgpio_hibernate_skip_public_gpio:
 	fetcht 1,mem_mouse_reuse_2ice_gpio
 	call mouse_gpio_config_input_pu
-	fetch 1,mem_mouse_sensor_sdio_gpio
-	arg gpcfg_output_high,temp
-	call gpio_config_function_int
 	branch mouse_setgpio_hibernate+3
-	
+
 p_mouse_lpm_before_common:
 	fetcht 1,mem_flippen_key0_gpio
 	call gpio_set_wake
@@ -289,7 +279,10 @@
 	fetcht 1,mem_flippen_key3_gpio
 	call gpio_set_wake
 	fetcht 1,mem_flippen_key4_gpio
-	branch gpio_set_wake
+	call gpio_set_wake
+	//IO4--40
+	arg 0x04,temp
+	branch mouse_gpio_config_input_pu
 
 p_mouse_priority_bb_event:
 	copy regc,pdata
@@ -350,7 +343,7 @@
 	call p_mouse_two_clink_check_timer
 	call p_mouse_led_type_timer
 	branch mouse_bb_event_timer+8
-
+	
 p_mouse_power_charge_in_check:
 	fetcht 1,mem_power_charge_in_check_gpio
 	call mouse_gpio_config_input_pd
@@ -378,8 +371,8 @@
 	fetch 1,mem_mouse_charge_in_state
 	nrtn blank
 	jam 1,mem_mouse_charge_in_state
-	call p_mouse_led_off
-	branch p_mouse_voltage_led_state_on
+	call p_mouse_voltage_led_state_on
+	branch p_mouse_led_on
 
 p_mouse_adc_read:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
@@ -387,6 +380,7 @@
 	call mouse_adc_read_interval
 	nrtn positive
 	jam 0,mem_adc_read_timer
+	call p_adc_gpio_set_impedance
 	call p_enable_adc
 	call vdd_calculate_by_mode
 	store 2,mem_mouse_vdd_now_vol
@@ -397,7 +391,9 @@
 	bbit0 0,mouse_adc_no_low_voltage
 	jam 1,mem_mouse_adc_last_low_voltage_flag
 	branch mouse_adc_low_voltage
-
+p_adc_gpio_set_impedance:
+	arg 4,temp
+	branch gpio_set_high_impedance
 p_mouse_adc_bat_percent_lowpower_out:
 	ifetch 8,rega
 	store 8,mem_pdatatemp	
@@ -423,28 +419,21 @@
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_LOW_VOLTAGE_LED
 	bbit0 MOUSE_LOW_VOLTAGE_FLAG,p_mouse_voltage_led_state_off
-	fetch 1,mem_adc_low_volatage_led_timer_count
-	increase 1,pdata
-	store 1,mem_adc_low_volatage_led_timer_count
-	sub pdata,60,null
-	ncall p_mouse_adc_low_volatage_led_timer_count_clean,positive
-	beq 5,p_mouse_voltage_led_state_on
-	beq 7,p_mouse_voltage_led_state_off
-	beq 13,p_mouse_voltage_led_state_on
-	beq 15,p_mouse_voltage_led_state_off
-	rtn
-p_mouse_adc_low_volatage_led_timer_count_clean:
-	jam 1,mem_adc_low_volatage_led_timer_count
-p_mouse_voltage_led_state_off:
-	fetcht 1,mem_power_check_state_led_gpio
+p_mouse_voltage_led_state_on:
+	fetch 1,mem_power_check_state_led_gpio
+	store 1,mem_mouse_led_gpio
+	fetcht 1,mem_multi_led_gpio
 	call gpio_config_output
-	fetcht 1,mem_power_check_state_led_gpio
+	fetcht 1,mem_multi_led_gpio
 	branch gpio_out_active
-p_mouse_voltage_led_state_on:
+
+p_mouse_voltage_led_state_off:
+	fetch 1,mem_multi_led_gpio
+	store 1,mem_mouse_led_gpio
 	fetcht 1,mem_power_check_state_led_gpio
 	call gpio_config_output
 	fetcht 1,mem_power_check_state_led_gpio
-	branch gpio_out_inactive
+	branch gpio_out_active
 
 p_mouse_led_type_timer:
 	fetch 1,mem_24g_pair_timeout
@@ -778,6 +767,10 @@
 	call p_mouse_check_key4_gpio
 	copy rega,pdata
 	store 1,mem_customer_key
+	fetch 1,mem_customer_key_press_status
+	rtneq 0
+	fetch 8,mem_24g_long_sleep_set
+	store 8,mem_24g_enter_hibernate
 	rtn
 
 p_mouse_check_key_connect_gnd:	
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/sched/mouse.dat	(revision 545)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FliePen_Project/FlipPen_Only2.4G/sched/mouse.dat	(working copy)
@@ -100,7 +100,7 @@
 mem_long_key_press_mode_check_timeout_init:14
 mem_key0_long_press_delay:08
 mem_key0_short_press_timer:05
-mem_mouse_led_gpio:05
+mem_multi_led_gpio:05
 mem_power_check_state_led_gpio:06
 
 mem_mouse_24g_pair_tx_power:94 #-20dBm
@@ -211,7 +211,7 @@
 mem_mouse_fast_page_to:60 06	# 1600*0.625ms = 1s
 mem_mouse_24g_power_on_fast_conn_timer:0a 00 #1s
 mem_mouse_24g_search_dongle_time_init: 64 00
-mem_mouse_no_data_timeout:70 17 #10min
+mem_mouse_no_data_timeout:32 00#5s
 
 mem_mouse_device_poweron_timer_count_init:14	#2s
 mem_mouse_dpi_led_delay_count_init:0a	#1s
