Index: format/app_mouse.format
===================================================================
--- /branch/mouse_project/LeXiang/1059Only_BLE/format/app_mouse.format	(revision 7021)
+++ /branch/mouse_project/LeXiang/1059Only_BLE/format/app_mouse.format	(working copy)
@@ -320,6 +320,9 @@
 2 mem_mouse_powerdown_sensor_timeout
 2 mem_mouse_powerdown_sensor_timer
 1 mem_mouse_power_down_flag
+
+1 mem_adc_check_count
+2 mem_mouse_vdd_add
 )
 
 (
Index: output/flash.dat
===================================================================
--- /branch/mouse_project/LeXiang/1059Only_BLE/output/flash.dat	(revision 7021)
+++ /branch/mouse_project/LeXiang/1059Only_BLE/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-3e
+36
 1f
 20
 20
@@ -19,11 +19,11 @@
 60
 00
 cc
-f2
+f5
 20
 40
 06
-da
+d8
 68
 00
 c6
@@ -43,7 +43,7 @@
 20
 40
 07
-68
+66
 20
 40
 00
@@ -59,7 +59,7 @@
 60
 02
 4c
-72
+75
 20
 40
 58
@@ -91,7 +91,7 @@
 60
 01
 4d
-6c
+6f
 58
 00
 03
@@ -103,7 +103,7 @@
 58
 00
 06
-ad
+ab
 60
 01
 41
@@ -159,7 +159,7 @@
 60
 01
 4d
-7e
+81
 24
 55
 80
@@ -191,7 +191,7 @@
 20
 20
 05
-76
+72
 58
 00
 01
@@ -199,7 +199,7 @@
 60
 01
 4d
-7e
+81
 20
 60
 00
@@ -275,11 +275,11 @@
 c0
 42
 87
-3c
+3a
 c0
 44
 87
-0f
+0d
 c0
 50
 80
@@ -299,23 +299,23 @@
 c0
 71
 85
-78
+74
 c0
 73
 05
-b1
+ad
 c0
 75
 05
-df
+db
 c0
 75
 85
-e3
+df
 c0
 76
 05
-e5
+e1
 20
 20
 2a
@@ -323,55 +323,55 @@
 c0
 1c
 85
-eb
+e9
 c0
 21
 85
-f3
+f1
 c0
 25
 05
-f9
+f7
 c0
 2b
 85
-fc
+fa
 c0
 2c
 85
-fe
+fc
 c0
 31
-86
-00
+85
+fe
 c0
 33
 06
-30
+2e
 c0
 33
 86
-4f
+4d
 c0
 35
 06
-98
+96
 c0
 3b
 86
-a3
+a1
 c0
 7d
 06
-c2
+c0
 c0
 46
 06
-af
+ad
 c0
 46
 86
-bb
+b9
 20
 20
 2a
@@ -523,7 +523,7 @@
 68
 00
 cd
-8f
+92
 c2
 80
 80
@@ -535,7 +535,7 @@
 68
 00
 cd
-7b
+7e
 c0
 00
 80
@@ -559,7 +559,7 @@
 68
 00
 cc
-4b
+4e
 c1
 ff
 80
@@ -567,7 +567,7 @@
 20
 40
 06
-e3
+e1
 58
 01
 77
@@ -575,7 +575,7 @@
 60
 01
 cc
-6a
+6d
 70
 4b
 44
@@ -615,7 +615,7 @@
 20
 20
 07
-3e
+3c
 70
 11
 c6
@@ -623,7 +623,7 @@
 20
 20
 07
-3e
+3c
 20
 40
 02
@@ -639,7 +639,7 @@
 68
 01
 4d
-7c
+7f
 1f
 e0
 fe
@@ -647,11 +647,11 @@
 60
 01
 4d
-7c
+7f
 68
 09
 4d
-7e
+81
 98
 46
 7c
@@ -666,7 +666,7 @@
 86
 70
 4d
-7b
+7e
 00
 58
 00
@@ -675,7 +675,7 @@
 60
 01
 4d
-7c
+7f
 58
 00
 00
@@ -683,19 +683,19 @@
 60
 01
 4d
-7e
+81
 70
 4c
-76
+79
 00
 68
 00
 cc
-61
+64
 60
 00
 cc
-60
+63
 20
 60
 00
@@ -703,7 +703,7 @@
 68
 00
 cc
-62
+65
 20
 20
 00
@@ -711,7 +711,7 @@
 68
 00
 cc
-76
+79
 1f
 e0
 fe
@@ -719,7 +719,7 @@
 60
 00
 cc
-76
+79
 c0
 02
 00
@@ -735,7 +735,7 @@
 68
 00
 cc
-67
+6a
 20
 5a
 00
@@ -759,7 +759,7 @@
 68
 00
 cd
-7b
+7e
 c1
 00
 80
@@ -771,7 +771,7 @@
 20
 40
 07
-3e
+3c
 20
 40
 00
@@ -783,7 +783,7 @@
 68
 01
 cc
-6a
+6d
 20
 40
 7f
@@ -823,7 +823,7 @@
 68
 00
 cd
-7b
+7e
 c0
 00
 ff
@@ -918,11 +918,11 @@
 30
 70
 4c
-67
+6a
 01
 70
 4d
-70
+73
 00
 20
 40
@@ -931,7 +931,7 @@
 60
 00
 cb
-d7
+da
 58
 00
 00
@@ -939,23 +939,23 @@
 60
 03
 cb
-d8
+db
 68
 02
 4c
-72
+75
 60
 02
 4b
-df
+e2
 70
 4c
-3b
+3e
 0c
 68
 00
 cc
-3c
+3f
 79
 20
 7e
@@ -963,7 +963,7 @@
 60
 00
 cc
-3c
+3f
 20
 40
 01
@@ -979,19 +979,19 @@
 60
 01
 cd
-8b
+8e
 20
 60
 00
 00
 70
 4d
-8c
+8f
 00
 68
 00
 cd
-8b
+8e
 c3
 80
 00
@@ -1003,7 +1003,7 @@
 60
 00
 cd
-8b
+8e
 58
 00
 07
@@ -1019,19 +1019,19 @@
 68
 00
 cc
-67
+6a
 20
 3a
 00
 f2
 70
 4d
-8c
+8f
 00
 68
 00
 cd
-8b
+8e
 c4
 00
 00
@@ -1043,7 +1043,7 @@
 60
 00
 cd
-8b
+8e
 20
 40
 3f
@@ -1054,16 +1054,16 @@
 a5
 70
 4d
-71
+74
 01
 70
 4d
-73
+76
 00
 68
 00
 cc
-3c
+3f
 1f
 e1
 7e
@@ -1071,7 +1071,7 @@
 60
 00
 cc
-3c
+3f
 20
 60
 00
@@ -1079,7 +1079,7 @@
 68
 00
 cc
-3c
+3f
 79
 20
 7e
@@ -1087,11 +1087,11 @@
 60
 00
 cc
-3c
+3f
 60
 00
 cb
-f7
+fa
 20
 60
 00
@@ -1099,7 +1099,7 @@
 68
 00
 cc
-3c
+3f
 c4
 02
 00
@@ -1107,7 +1107,7 @@
 68
 00
 cc
-3c
+3f
 79
 3f
 fe
@@ -1115,15 +1115,15 @@
 60
 00
 cc
-3c
+3f
 60
 00
 cb
-f7
+fa
 20
 40
 06
-21
+1f
 20
 20
 01
@@ -1131,7 +1131,7 @@
 68
 00
 cd
-70
+73
 c0
 80
 81
@@ -1139,7 +1139,7 @@
 68
 00
 cd
-6e
+71
 1f
 e0
 fe
@@ -1147,7 +1147,7 @@
 60
 00
 cd
-6e
+71
 c0
 02
 01
@@ -1158,7 +1158,7 @@
 45
 70
 4c
-80
+83
 02
 20
 20
@@ -1167,10 +1167,10 @@
 20
 40
 06
-21
+1f
 70
 4d
-6e
+71
 00
 20
 20
@@ -1178,15 +1178,15 @@
 08
 70
 4d
-73
+76
 02
 70
 4d
-71
+74
 01
 70
 4d
-70
+73
 00
 20
 20
@@ -1195,7 +1195,7 @@
 68
 00
 cd
-72
+75
 c0
 01
 81
@@ -1203,7 +1203,7 @@
 68
 00
 cc
-3c
+3f
 2f
 ec
 00
@@ -1215,7 +1215,7 @@
 68
 00
 cd
-72
+75
 c0
 00
 81
@@ -1231,7 +1231,7 @@
 68
 00
 cc
-4b
+4e
 c1
 ff
 80
@@ -1255,7 +1255,7 @@
 68
 00
 cd
-71
+74
 c1
 80
 80
@@ -1263,18 +1263,18 @@
 68
 00
 cd
-73
+76
 c1
 80
 00
 00
 70
 4d
-72
+75
 01
 70
 4c
-80
+83
 04
 20
 20
@@ -1283,7 +1283,7 @@
 68
 00
 cd
-73
+76
 20
 3a
 01
@@ -1295,23 +1295,23 @@
 60
 00
 cd
-73
+76
 70
 4d
-72
+75
 02
 70
 4c
-80
+83
 04
 68
 08
 cc
-46
+49
 68
 00
 cc
-63
+66
 1f
 e1
 7e
@@ -1323,7 +1323,7 @@
 58
 00
 4c
-4c
+4f
 9a
 20
 fe
@@ -1339,7 +1339,7 @@
 60
 00
 cc
-45
+48
 18
 40
 84
@@ -1351,26 +1351,26 @@
 60
 08
 cc
-46
+49
 20
 60
 00
 00
 70
 4d
-72
+75
 03
 68
 00
 cd
-70
+73
 24
 3a
 01
 19
 70
 4c
-80
+83
 02
 20
 20
@@ -1379,7 +1379,7 @@
 68
 00
 cc
-4b
+4e
 c0
 ff
 81
@@ -1394,7 +1394,7 @@
 f0
 70
 4c
-40
+43
 01
 20
 60
@@ -1403,7 +1403,7 @@
 68
 01
 4d
-6c
+6f
 20
 40
 7f
@@ -1415,7 +1415,7 @@
 68
 03
 cb
-d8
+db
 20
 7a
 00
@@ -1430,7 +1430,7 @@
 6e
 70
 4c
-67
+6a
 00
 1a
 20
@@ -1439,7 +1439,7 @@
 60
 00
 cc
-3b
+3e
 20
 40
 01
@@ -1447,7 +1447,7 @@
 60
 00
 cb
-d7
+da
 e8
 a8
 80
@@ -1483,7 +1483,7 @@
 d8
 a0
 4b
-dd
+e0
 df
 20
 00
@@ -1518,7 +1518,7 @@
 00
 70
 4c
-44
+47
 00
 d9
 60
@@ -1551,11 +1551,11 @@
 20
 40
 06
-dd
+db
 68
 00
 cc
-3a
+3d
 1f
 e0
 fe
@@ -1563,7 +1563,7 @@
 60
 00
 cc
-3a
+3d
 20
 40
 01
@@ -1571,7 +1571,7 @@
 68
 00
 cc
-4b
+4e
 c0
 ff
 81
@@ -1587,11 +1587,11 @@
 60
 02
 4c
-40
+43
 60
 00
 cd
-6f
+72
 20
 60
 00
@@ -1603,7 +1603,7 @@
 d8
 a0
 4b
-d7
+da
 20
 20
 7e
@@ -1623,7 +1623,7 @@
 68
 02
 4c
-63
+66
 98
 00
 12
@@ -1655,7 +1655,7 @@
 68
 01
 4c
-41
+44
 1f
 e0
 fe
@@ -1663,7 +1663,7 @@
 60
 01
 4c
-41
+44
 c2
 86
 2d
@@ -1671,7 +1671,7 @@
 68
 00
 cc
-4b
+4e
 c0
 ff
 81
@@ -1687,7 +1687,7 @@
 68
 00
 cc
-41
+44
 c1
 ff
 80
@@ -1699,7 +1699,7 @@
 60
 01
 4c
-41
+44
 20
 20
 2d
@@ -1707,11 +1707,11 @@
 20
 40
 07
-06
+04
 20
 40
 06
-21
+1f
 20
 20
 01
@@ -1719,7 +1719,7 @@
 68
 00
 cc
-44
+47
 1f
 e6
 7c
@@ -1735,7 +1735,7 @@
 60
 00
 cc
-44
+47
 c0
 01
 01
@@ -1763,7 +1763,7 @@
 68
 00
 cc
-39
+3c
 20
 7a
 00
@@ -1775,11 +1775,11 @@
 d8
 c0
 4b
-b7
+ba
 d8
 a0
 4c
-19
+1c
 20
 20
 7f
@@ -1790,20 +1790,20 @@
 04
 70
 4c
-3a
+3d
 00
 70
 4c
-45
+48
 4e
 68
 02
 4c
-47
+4a
 60
 02
 4c
-63
+66
 da
 20
 00
@@ -1815,7 +1815,7 @@
 d8
 c0
 4c
-63
+66
 e8
 c0
 80
@@ -1835,15 +1835,15 @@
 60
 01
 4c
-ec
+ef
 68
 00
 cc
-ec
+ef
 68
 08
 cc
-ed
+f0
 98
 40
 fe
@@ -1851,7 +1851,7 @@
 60
 00
 cc
-ee
+f1
 20
 60
 00
@@ -1862,7 +1862,7 @@
 bd
 70
 4c
-4b
+4e
 01
 20
 60
@@ -1875,11 +1875,11 @@
 20
 20
 07
-3e
+3c
 20
 40
 06
-da
+d8
 70
 11
 c6
@@ -1887,7 +1887,7 @@
 20
 20
 07
-3e
+3c
 70
 11
 c6
@@ -1895,14 +1895,14 @@
 20
 20
 07
-3e
+3c
 79
 3f
 80
 26
 70
 4d
-8f
+92
 00
 20
 40
@@ -1919,7 +1919,7 @@
 60
 08
 cc
-3b
+3e
 18
 42
 72
@@ -1927,7 +1927,7 @@
 d8
 a0
 4b
-d7
+da
 1a
 22
 0c
@@ -1939,7 +1939,7 @@
 68
 00
 cb
-b6
+b9
 1f
 e9
 7e
@@ -1947,7 +1947,7 @@
 60
 00
 cc
-39
+3c
 1f
 e0
 fe
@@ -1955,7 +1955,7 @@
 d8
 c0
 4b
-b6
+b9
 98
 c0
 8c
@@ -1967,11 +1967,11 @@
 60
 01
 cc
-78
+7b
 68
 00
 cb
-b6
+b9
 1f
 e3
 7e
@@ -1983,7 +1983,7 @@
 60
 00
 cc
-7e
+81
 20
 60
 00
@@ -1991,7 +1991,7 @@
 68
 00
 cc
-3b
+3e
 1f
 e0
 fe
@@ -1999,19 +1999,19 @@
 60
 00
 cc
-3d
+40
 68
 00
 cc
-3c
+3f
 60
 00
 cb
-f7
+fa
 68
 00
 cc
-3b
+3e
 1f
 e9
 fe
@@ -2019,7 +2019,7 @@
 68
 08
 cc
-3a
+3d
 18
 41
 04
@@ -2035,7 +2035,7 @@
 68
 08
 cc
-77
+7a
 98
 40
 fe
@@ -2047,7 +2047,7 @@
 68
 00
 cc
-3b
+3e
 98
 00
 72
@@ -2055,7 +2055,7 @@
 d8
 c0
 4b
-d7
+da
 20
 20
 7f
@@ -2079,7 +2079,7 @@
 68
 00
 cc
-45
+48
 1f
 ed
 84
@@ -2123,7 +2123,7 @@
 68
 01
 4c
-3e
+41
 98
 00
 36
@@ -2159,11 +2159,11 @@
 60
 00
 cc
-ef
+f2
 68
 08
 cc
-ee
+f1
 98
 46
 7c
@@ -2179,15 +2179,15 @@
 60
 00
 cb
-b5
+b8
 68
 00
 cb
-b5
+b8
 68
 08
 cc
-3c
+3f
 a8
 40
 0e
@@ -2239,7 +2239,7 @@
 60
 00
 cd
-76
+79
 1a
 22
 0a
@@ -2303,7 +2303,7 @@
 68
 00
 cd
-76
+79
 1f
 e2
 22
@@ -2311,11 +2311,11 @@
 68
 08
 cc
-f6
+f9
 58
 00
-4c
-fd
+4d
+00
 98
 40
 8a
@@ -2339,7 +2339,7 @@
 60
 08
 cc
-f6
+f9
 20
 60
 00
@@ -2375,7 +2375,7 @@
 68
 08
 cc
-45
+48
 20
 20
 29
@@ -2387,7 +2387,7 @@
 68
 02
 4c
-63
+66
 98
 00
 12
@@ -2451,7 +2451,7 @@
 68
 00
 cc
-ee
+f1
 08
 00
 86
@@ -2459,7 +2459,7 @@
 68
 00
 cc
-3d
+40
 98
 00
 72
@@ -2467,7 +2467,7 @@
 d8
 c0
 4b
-f7
+fa
 e8
 c0
 80
@@ -2519,7 +2519,7 @@
 68
 0a
 4c
-5c
+5f
 1c
 42
 7e
@@ -2539,11 +2539,11 @@
 68
 02
 4c
-5c
+5f
 68
 08
 cc
-60
+63
 98
 40
 84
@@ -2567,7 +2567,7 @@
 60
 02
 4c
-5c
+5f
 20
 20
 7f
@@ -2687,7 +2687,7 @@
 20
 20
 05
-78
+74
 20
 40
 29
@@ -2707,7 +2707,7 @@
 20
 40
 05
-30
+1f
 20
 40
 00
@@ -2723,7 +2723,7 @@
 20
 40
 05
-be
+ba
 c0
 02
 82
@@ -2735,7 +2735,7 @@
 20
 40
 05
-1b
+09
 68
 00
 c2
@@ -2759,7 +2759,7 @@
 68
 00
 cc
-f2
+f5
 60
 00
 c1
@@ -2775,7 +2775,7 @@
 20
 20
 07
-3e
+3c
 da
 20
 43
@@ -2811,7 +2811,7 @@
 20
 20
 07
-3e
+3c
 20
 40
 03
@@ -2847,7 +2847,7 @@
 20
 40
 05
-6e
+6a
 68
 00
 c6
@@ -2939,7 +2939,7 @@
 20
 40
 05
-6e
+6a
 20
 20
 40
@@ -2951,7 +2951,7 @@
 20
 20
 07
-3e
+3c
 70
 80
 86
@@ -3059,7 +3059,7 @@
 60
 02
 4c
-63
+66
 20
 40
 03
@@ -3271,7 +3271,7 @@
 60
 02
 4c
-63
+66
 20
 60
 00
@@ -3339,7 +3339,7 @@
 68
 03
 4d
-80
+83
 60
 03
 44
@@ -3383,7 +3383,7 @@
 20
 40
 05
-2d
+1b
 70
 11
 c6
@@ -3391,7 +3391,7 @@
 20
 20
 07
-3e
+3c
 70
 11
 c6
@@ -3399,7 +3399,7 @@
 20
 20
 07
-3e
+3c
 20
 40
 44
@@ -3414,7 +3414,7 @@
 00
 70
 4d
-7b
+7e
 01
 58
 00
@@ -3423,7 +3423,7 @@
 60
 01
 4d
-7c
+7f
 20
 60
 00
@@ -3763,7 +3763,7 @@
 20
 40
 05
-d6
+d2
 68
 08
 c6
@@ -3779,7 +3779,7 @@
 20
 40
 05
-d1
+cd
 68
 00
 c6
@@ -3799,7 +3799,7 @@
 20
 40
 05
-d1
+cd
 68
 00
 c6
@@ -3847,7 +3847,7 @@
 20
 40
 05
-2d
+1b
 20
 20
 3d
@@ -3967,7 +3967,7 @@
 20
 20
 07
-3e
+3c
 70
 0a
 99
@@ -3983,7 +3983,7 @@
 20
 20
 07
-3e
+3c
 70
 11
 c6
@@ -3991,7 +3991,7 @@
 20
 20
 07
-3e
+3c
 20
 40
 03
@@ -4003,7 +4003,7 @@
 20
 20
 07
-3e
+3c
 20
 40
 03
@@ -4015,7 +4015,7 @@
 20
 20
 07
-3e
+3c
 20
 40
 03
@@ -4027,7 +4027,7 @@
 20
 20
 07
-3e
+3c
 20
 40
 03
@@ -4039,7 +4039,7 @@
 20
 20
 07
-3e
+3c
 68
 00
 ca
@@ -4083,11 +4083,11 @@
 20
 40
 05
-30
+1f
 20
 40
 05
-62
+5c
 20
 40
 04
@@ -4399,7 +4399,7 @@
 60
 01
 cc
-6a
+6d
 70
 4b
 42
@@ -4411,7 +4411,7 @@
 da
 60
 4d
-87
+8a
 da
 40
 04
@@ -4422,7 +4422,7 @@
 74
 70
 4d
-86
+89
 01
 20
 60
@@ -4443,7 +4443,7 @@
 20
 40
 05
-d6
+d2
 68
 08
 c6
@@ -4459,7 +4459,7 @@
 20
 40
 05
-d1
+cd
 68
 00
 ca
@@ -4495,7 +4495,7 @@
 20
 40
 05
-d1
+cd
 20
 40
 04
@@ -4699,7 +4699,7 @@
 20
 40
 05
-be
+ba
 c0
 03
 04
@@ -4767,7 +4767,7 @@
 20
 40
 05
-20
+0e
 20
 40
 43
@@ -4971,7 +4971,7 @@
 20
 40
 05
-0a
+00
 68
 01
 46
@@ -4991,7 +4991,7 @@
 c0
 7f
 85
-20
+0e
 20
 60
 00
@@ -5051,7 +5051,7 @@
 c0
 00
 85
-0a
+00
 c0
 00
 04
@@ -5062,8 +5062,8 @@
 00
 20
 40
-05
-08
+04
+fe
 68
 00
 c7
@@ -5091,7 +5091,7 @@
 c0
 7f
 85
-20
+0e
 20
 60
 00
@@ -5101,14 +5101,6 @@
 26
 01
 68
-00
-c7
-20
-c0
-01
-05
-00
-68
 08
 cb
 ac
@@ -5124,38 +5116,6 @@
 20
 68
 29
-70
-4b
-ad
-01
-68
-10
-80
-7c
-79
-3f
-fe
-05
-60
-10
-80
-7c
-68
-08
-cb
-25
-20
-40
-68
-0e
-68
-08
-cb
-25
-20
-20
-68
-29
 58
 00
 00
@@ -5171,7 +5131,7 @@
 24
 3a
 05
-0e
+04
 70
 4b
 24
@@ -5188,38 +5148,6 @@
 4b
 26
 00
-70
-4b
-ad
-00
-68
-08
-cb
-25
-20
-40
-68
-0e
-68
-08
-cb
-25
-20
-40
-68
-25
-68
-10
-80
-7c
-79
-20
-7e
-05
-60
-10
-80
-7c
 68
 08
 cb
@@ -5302,8 +5230,12 @@
 00
 20
 20
+04
+fe
+20
+40
 05
-08
+00
 70
 4b
 2a
@@ -5315,7 +5247,7 @@
 20
 20
 05
-24
+12
 68
 00
 cb
@@ -5331,7 +5263,7 @@
 da
 40
 05
-35
+24
 20
 20
 33
@@ -5343,7 +5275,7 @@
 20
 40
 05
-4c
+48
 20
 40
 69
@@ -5355,23 +5287,75 @@
 d8
 40
 00
-12
-98
-46
-7e
+12
+98
+46
+7e
+00
+1f
+e6
+7c
+6e
+24
+41
+05
+46
+68
+09
+4b
+b6
+98
+40
+84
+00
+60
+09
+4b
+b6
+68
+00
+cb
+b5
+1f
+e0
+fe
+01
+60
+00
+cb
+b5
+c1
+82
+00
+00
+18
+46
+fc
+04
+20
+40
+7f
+86
+18
+07
+84
+00
+60
+09
+47
+0f
+70
+4b
+b5
+00
+58
+00
+00
 00
-1f
-e6
-7c
-6e
-24
-41
-05
-4a
 60
 01
-47
-0f
+4b
+b6
 da
 20
 47
@@ -5379,7 +5363,7 @@
 20
 40
 05
-55
+4f
 68
 00
 c2
@@ -5391,7 +5375,7 @@
 c3
 00
 05
-45
+41
 70
 4a
 fd
@@ -5419,7 +5403,7 @@
 20
 20
 05
-0a
+00
 1f
 e0
 fe
@@ -5429,14 +5413,6 @@
 00
 00
 68
-08
-cb
-25
-20
-40
-67
-fb
-68
 10
 80
 7c
@@ -5526,6 +5502,14 @@
 00
 68
 00
+cb
+24
+c0
+00
+85
+68
+68
+00
 c6
 cf
 1f
@@ -5543,19 +5527,19 @@
 24
 41
 05
-6c
+68
 1f
 e6
 7c
-05
+19
 20
 21
-04
-f9
+05
+00
 20
 20
-05
-0a
+04
+f9
 70
 46
 cf
@@ -5595,7 +5579,7 @@
 c0
 ff
 85
-78
+74
 68
 00
 c6
@@ -5615,7 +5599,7 @@
 20
 42
 85
-86
+82
 68
 00
 c7
@@ -5623,11 +5607,11 @@
 c0
 00
 05
-88
+84
 c0
 01
 85
-8f
+8b
 68
 00
 c6
@@ -5635,19 +5619,19 @@
 c0
 03
 05
-96
+92
 c0
 03
 85
-96
+92
 c0
 01
 05
-9c
+98
 c0
 04
 85
-a5
+a1
 68
 00
 c7
@@ -5675,19 +5659,19 @@
 c0
 03
 05
-98
+94
 c0
 03
 85
-98
+94
 c0
 01
 05
-9f
+9b
 c0
 04
 85
-a3
+9f
 68
 00
 c7
@@ -5695,7 +5679,7 @@
 20
 20
 05
-84
+80
 68
 00
 c6
@@ -5703,19 +5687,19 @@
 c0
 03
 05
-9a
+96
 c0
 03
 85
-9a
+96
 c0
 01
 05
-a1
+9d
 c0
 04
 85
-a9
+a5
 68
 00
 c7
@@ -5723,7 +5707,7 @@
 20
 20
 05
-84
+80
 68
 00
 cb
@@ -5731,7 +5715,7 @@
 20
 20
 05
-84
+80
 68
 00
 cb
@@ -5739,7 +5723,7 @@
 20
 20
 05
-84
+80
 68
 00
 cb
@@ -5747,7 +5731,7 @@
 20
 20
 05
-84
+80
 68
 00
 cb
@@ -5759,7 +5743,7 @@
 20
 20
 05
-84
+80
 68
 00
 cb
@@ -5767,7 +5751,7 @@
 20
 20
 05
-9d
+99
 68
 00
 cb
@@ -5775,7 +5759,7 @@
 20
 20
 05
-9d
+99
 70
 46
 b5
@@ -5783,7 +5767,7 @@
 20
 20
 05
-aa
+a6
 70
 46
 b5
@@ -5791,7 +5775,7 @@
 20
 20
 05
-aa
+a6
 70
 46
 b5
@@ -5799,7 +5783,7 @@
 20
 20
 05
-aa
+a6
 70
 46
 b5
@@ -5847,7 +5831,7 @@
 20
 40
 05
-dc
+d8
 20
 40
 40
@@ -5859,15 +5843,15 @@
 20
 40
 05
-bc
+b8
 24
 34
 07
-68
+66
 20
 40
 07
-5f
+5d
 20
 40
 04
@@ -5879,7 +5863,7 @@
 20
 40
 05
-be
+ba
 20
 20
 40
@@ -5891,7 +5875,7 @@
 20
 40
 05
-c1
+bd
 20
 20
 40
@@ -5903,7 +5887,7 @@
 20
 40
 05
-d1
+cd
 68
 08
 c6
@@ -5923,7 +5907,7 @@
 20
 40
 05
-d1
+cd
 68
 08
 c6
@@ -5943,7 +5927,7 @@
 20
 40
 05
-d1
+cd
 68
 08
 c6
@@ -5979,7 +5963,7 @@
 20
 20
 05
-da
+d6
 79
 3f
 84
@@ -6039,7 +6023,15 @@
 20
 20
 07
-3e
+3c
+58
+00
+00
+00
+60
+01
+46
+ac
 20
 40
 03
@@ -6063,7 +6055,7 @@
 20
 20
 05
-28
+16
 68
 00
 c5
@@ -6091,7 +6083,7 @@
 20
 40
 06
-e3
+e1
 20
 20
 53
@@ -6139,7 +6131,7 @@
 20
 20
 07
-3e
+3c
 70
 11
 c6
@@ -6147,7 +6139,7 @@
 20
 20
 07
-3e
+3c
 68
 00
 84
@@ -6155,11 +6147,11 @@
 c2
 82
 86
-20
+1e
 20
 40
 06
-dd
+db
 68
 00
 c7
@@ -6167,7 +6159,7 @@
 24
 3a
 06
-0a
+08
 68
 00
 84
@@ -6175,7 +6167,7 @@
 c3
 02
 06
-0e
+0c
 68
 00
 82
@@ -6183,7 +6175,7 @@
 20
 3a
 06
-0e
+0c
 20
 20
 56
@@ -6211,7 +6203,7 @@
 c0
 82
 86
-11
+0f
 70
 47
 8e
@@ -6279,11 +6271,11 @@
 20
 40
 06
-14
+12
 68
 00
 cd
-74
+77
 1f
 e6
 7c
@@ -6291,11 +6283,11 @@
 24
 41
 06
-e1
+df
 68
 00
 cd
-74
+77
 c1
 00
 00
@@ -6307,7 +6299,7 @@
 60
 00
 cd
-74
+77
 20
 60
 00
@@ -6395,7 +6387,7 @@
 c0
 01
 86
-3f
+3d
 20
 20
 56
@@ -6407,11 +6399,11 @@
 c0
 00
 06
-43
+41
 c0
 00
 86
-4a
+48
 20
 20
 5c
@@ -6471,11 +6463,11 @@
 c0
 02
 06
-53
+51
 c0
 03
 06
-90
+8e
 20
 20
 56
@@ -6487,7 +6479,7 @@
 20
 40
 06
-29
+27
 20
 40
 7e
@@ -6503,7 +6495,7 @@
 c0
 08
 06
-62
+60
 1f
 ec
 84
@@ -6515,7 +6507,7 @@
 20
 21
 06
-70
+6e
 d8
 40
 47
@@ -6599,7 +6591,7 @@
 c0
 05
 06
-72
+70
 20
 20
 58
@@ -6615,7 +6607,7 @@
 c2
 81
 86
-8a
+88
 20
 40
 57
@@ -6643,7 +6635,7 @@
 20
 22
 86
-80
+7e
 68
 01
 04
@@ -6711,7 +6703,7 @@
 24
 22
 86
-75
+73
 20
 40
 5a
@@ -6719,7 +6711,7 @@
 24
 34
 06
-75
+73
 20
 20
 59
@@ -6731,11 +6723,11 @@
 c0
 00
 86
-94
+92
 c0
 02
 86
-96
+94
 20
 20
 5a
@@ -6755,7 +6747,7 @@
 20
 20
 07
-3e
+3c
 68
 00
 80
@@ -6767,7 +6759,7 @@
 20
 40
 06
-9e
+9c
 d8
 e0
 00
@@ -6807,7 +6799,7 @@
 20
 37
 06
-a6
+a4
 24
 36
 d8
@@ -6847,7 +6839,7 @@
 20
 20
 07
-3e
+3c
 68
 10
 80
@@ -6887,7 +6879,7 @@
 20
 40
 06
-bc
+ba
 60
 18
 80
@@ -6943,15 +6935,15 @@
 c0
 0f
 86
-ca
+c8
 c0
 10
 06
-cd
+cb
 c0
 09
 06
-d7
+d5
 20
 20
 7d
@@ -6967,7 +6959,7 @@
 20
 20
 06
-cf
+cd
 70
 01
 85
@@ -7022,11 +7014,11 @@
 bf
 70
 4d
-77
+7a
 01
 70
 4d
-74
+77
 00
 20
 60
@@ -7035,7 +7027,7 @@
 68
 00
 cd
-74
+77
 1f
 e0
 fe
@@ -7043,14 +7035,14 @@
 60
 00
 cd
-74
+77
 20
 60
 00
 00
 70
 4d
-74
+77
 03
 20
 60
@@ -7074,8 +7066,8 @@
 00
 da
 20
-4c
-fd
+4d
+00
 20
 40
 02
@@ -7083,7 +7075,7 @@
 60
 08
 cd
-75
+78
 58
 00
 00
@@ -7091,7 +7083,7 @@
 c5
 13
 06
-ed
+eb
 58
 00
 00
@@ -7103,11 +7095,11 @@
 24
 21
 07
-05
+03
 68
 00
 cd
-74
+77
 1f
 e6
 7c
@@ -7115,15 +7107,15 @@
 24
 21
 06
-f5
+f3
 68
 00
 cd
-74
+77
 c0
 00
 07
-06
+04
 20
 60
 00
@@ -7131,19 +7123,19 @@
 68
 00
 cd
-74
+77
 c1
 99
 00
 00
 70
 4d
-74
+77
 00
 68
 08
 cd
-75
+78
 58
 00
 00
@@ -7151,7 +7143,7 @@
 c5
 13
 06
-fc
+fa
 58
 00
 00
@@ -7167,11 +7159,11 @@
 68
 00
 cd
-77
+7a
 c0
 00
 07
-0d
+0b
 1f
 e0
 ff
@@ -7179,11 +7171,11 @@
 60
 00
 cd
-77
+7a
 c0
 00
 07
-0d
+0b
 70
 41
 de
@@ -7194,16 +7186,16 @@
 00
 70
 4d
-74
+77
 00
 68
 00
 cd
-77
+7a
 c0
 01
 07
-0b
+09
 1f
 e0
 fe
@@ -7211,11 +7203,11 @@
 60
 00
 cd
-77
+7a
 c0
 00
 87
-03
+01
 70
 41
 de
@@ -7299,19 +7291,19 @@
 c0
 01
 07
-27
+25
 c0
 02
 07
-2f
+2d
 c0
 10
 07
-39
+37
 20
 40
 07
-34
+32
 70
 89
 55
@@ -7363,7 +7355,7 @@
 20
 40
 07
-34
+32
 70
 89
 55
@@ -7439,7 +7431,7 @@
 20
 22
 87
-5d
+5b
 60
 08
 cb
@@ -7515,7 +7507,7 @@
 24
 22
 87
-4e
+4c
 20
 40
 03
@@ -7563,7 +7555,7 @@
 20
 40
 07
-bf
+bd
 58
 00
 00
@@ -7571,7 +7563,7 @@
 20
 40
 07
-b2
+b0
 58
 00
 00
@@ -7579,7 +7571,7 @@
 20
 40
 07
-b8
+b6
 68
 00
 cb
@@ -7587,7 +7579,7 @@
 c0
 00
 87
-6b
+69
 df
 20
 00
@@ -7619,7 +7611,7 @@
 20
 40
 07
-7e
+7c
 68
 01
 11
@@ -7655,7 +7647,7 @@
 20
 40
 07
-86
+84
 68
 01
 11
@@ -7707,7 +7699,7 @@
 20
 20
 07
-8e
+8c
 68
 01
 11
@@ -7739,7 +7731,7 @@
 20
 20
 07
-8e
+8c
 60
 01
 91
@@ -7751,7 +7743,7 @@
 20
 20
 87
-98
+96
 68
 00
 91
@@ -7759,7 +7751,7 @@
 c0
 7f
 87
-9f
+9d
 68
 00
 91
@@ -7787,7 +7779,7 @@
 c0
 00
 07
-9c
+9a
 68
 01
 91
@@ -7795,7 +7787,7 @@
 20
 20
 07
-94
+92
 70
 11
 c4
@@ -7807,7 +7799,7 @@
 20
 20
 07
-94
+92
 68
 00
 91
@@ -7815,7 +7807,7 @@
 20
 40
 07
-aa
+a8
 60
 00
 91
@@ -7827,7 +7819,7 @@
 20
 3a
 07
-a8
+a6
 58
 00
 00
@@ -7851,7 +7843,7 @@
 20
 20
 07
-a5
+a3
 1f
 e6
 7e
@@ -7891,7 +7883,7 @@
 24
 21
 07
-bd
+bb
 9a
 46
 7c
@@ -7899,7 +7891,7 @@
 24
 21
 07
-bd
+bb
 70
 4b
 0b
@@ -7927,7 +7919,7 @@
 20
 20
 07
-b6
+b4
 70
 4b
 0b
@@ -7943,7 +7935,7 @@
 20
 40
 07
-c6
+c4
 1f
 e2
 22
@@ -7955,7 +7947,7 @@
 20
 40
 07
-c6
+c4
 1f
 e2
 24
@@ -7975,7 +7967,7 @@
 c0
 7f
 87
-cc
+ca
 68
 00
 91
@@ -7999,9 +7991,9 @@
 20
 20
 07
-ca
-0a
-7f
+c8
+01
+e4
 aa
 55
 08
@@ -8083,7 +8075,7 @@
 55
 01
 00
-78
+7b
 4d
 00
 aa
@@ -8489,8 +8481,8 @@
 46
 58
 02
-78
-ff
+70
+17
 aa
 55
 02
@@ -8557,9 +8549,9 @@
 47
 98
 00
-64
+63
 00
-7e
+80
 00
 aa
 55
@@ -8804,35 +8796,35 @@
 55
 01
 00
-81
+84
 4c
 01
 aa
 55
 01
 00
-3c
+3f
 4c
 01
 aa
 55
 01
 00
-80
+83
 4c
 04
 aa
 55
 01
 00
-77
+7a
 4c
 00
 aa
 55
 02
 00
-3e
+41
 4c
 c0
 12
@@ -8840,7 +8832,7 @@
 55
 03
 00
-60
+63
 4c
 19
 19
@@ -8849,7 +8841,7 @@
 55
 10
 00
-4c
+4f
 4c
 00
 13
@@ -8871,14 +8863,14 @@
 55
 01
 00
-4b
+4e
 4c
 ff
 aa
 55
 04
 00
-47
+4a
 4c
 20
 15
@@ -8888,7 +8880,7 @@
 55
 06
 00
-80
+83
 4d
 0f
 0f
@@ -8916,7 +8908,7 @@
 55
 03
 00
-6a
+6d
 4c
 80
 4f
@@ -9012,7 +9004,7 @@
 00
 25
 4b
-85
+ff
 aa
 55
 02
@@ -9061,15 +9053,15 @@
 00
 53
 4b
-76
+6e
 2f
 00
 55
 aa
 aa
 55
-0e
-1d
+bd
+1c
 ff
 20
 20
@@ -9426,7 +9418,7 @@
 20
 20
 06
-46
+44
 70
 4b
 6f
@@ -9602,7 +9594,7 @@
 68
 00
 cc
-40
+43
 c0
 00
 ff
@@ -9610,7 +9602,7 @@
 68
 00
 cc
-4b
+4e
 c0
 00
 80
@@ -9629,7 +9621,7 @@
 8c
 70
 4c
-4b
+4e
 11
 70
 11
@@ -9641,7 +9633,7 @@
 13
 70
 4c
-4b
+4e
 12
 70
 11
@@ -9653,7 +9645,7 @@
 13
 70
 4c
-4b
+4e
 13
 70
 11
@@ -9662,7 +9654,7 @@
 68
 00
 cc
-3c
+3f
 1f
 e1
 7e
@@ -9674,7 +9666,7 @@
 68
 02
 4c
-72
+75
 60
 02
 11
@@ -9706,7 +9698,7 @@
 68
 00
 cc
-4b
+4e
 c1
 7f
 80
@@ -9729,7 +9721,7 @@
 00
 70
 4c
-4b
+4e
 02
 20
 20
@@ -9737,7 +9729,7 @@
 8a
 70
 4c
-4b
+4e
 03
 20
 20
@@ -9745,7 +9737,7 @@
 8a
 70
 4c
-4b
+4e
 ff
 70
 0a
@@ -9758,7 +9750,7 @@
 68
 02
 4c
-1b
+1e
 20
 40
 01
@@ -10150,7 +10142,7 @@
 68
 00
 cc
-67
+6a
 20
 7a
 00
@@ -10158,7 +10150,7 @@
 68
 00
 cd
-8e
+91
 1f
 e0
 fe
@@ -10170,19 +10162,19 @@
 60
 00
 cd
-8e
+91
 24
 7a
 00
 00
 70
 4d
-8d
+90
 00
 68
 00
 cd
-8d
+90
 1f
 e0
 fe
@@ -10190,7 +10182,7 @@
 60
 00
 cd
-8d
+90
 1f
 e6
 7c
@@ -10226,7 +10218,7 @@
 68
 00
 cd
-8c
+8f
 1f
 e0
 fe
@@ -10234,7 +10226,7 @@
 60
 00
 cd
-8c
+8f
 c0
 08
 00
@@ -10250,7 +10242,7 @@
 68
 00
 cc
-3c
+3f
 60
 00
 91
@@ -10258,7 +10250,7 @@
 68
 02
 4c
-72
+75
 60
 02
 11
@@ -10358,7 +10350,7 @@
 68
 00
 cd
-86
+89
 c0
 00
 ad
@@ -10370,7 +10362,7 @@
 68
 00
 cc
-3c
+3f
 60
 00
 91
@@ -10378,7 +10370,7 @@
 68
 02
 4c
-72
+75
 60
 02
 11
@@ -10418,11 +10410,11 @@
 68
 02
 4c
-63
+66
 68
 0a
 4d
-80
+83
 98
 46
 7c
@@ -10434,14 +10426,14 @@
 68
 00
 cc
-39
+3c
 c1
 84
 00
 00
 70
 4d
-8f
+92
 00
 20
 40
@@ -10450,11 +10442,11 @@
 68
 02
 4c
-63
+66
 68
 0a
 4c
-47
+4a
 98
 46
 7c
@@ -10466,11 +10458,11 @@
 68
 02
 4c
-63
+66
 68
 0a
 4c
-72
+75
 98
 46
 7c
@@ -10498,7 +10490,7 @@
 68
 02
 4c
-1b
+1e
 20
 20
 01
@@ -10506,7 +10498,7 @@
 68
 00
 cd
-79
+7c
 1f
 e0
 fe
@@ -10518,7 +10510,7 @@
 60
 00
 cd
-79
+7c
 c0
 00
 00
@@ -10538,19 +10530,19 @@
 68
 02
 4c
-72
+75
 60
 02
 4c
-63
+66
 68
 00
 cd
-89
+8c
 60
 00
 cc
-46
+49
 20
 40
 00
@@ -10558,7 +10550,7 @@
 60
 08
 cd
-89
+8c
 20
 60
 00
@@ -10578,19 +10570,19 @@
 68
 02
 4d
-80
+83
 60
 02
 4c
-63
+66
 68
 00
 cd
-8a
+8d
 60
 00
 cc
-46
+49
 20
 40
 00
@@ -10598,7 +10590,7 @@
 60
 08
 cd
-8a
+8d
 20
 60
 00
@@ -10658,10 +10650,10 @@
 20
 20
 05
-28
+16
 70
 4d
-7b
+7e
 00
 20
 40
@@ -10694,7 +10686,7 @@
 68
 02
 4c
-63
+66
 60
 02
 47
@@ -10714,7 +10706,7 @@
 60
 01
 cd
-86
+89
 20
 60
 00
@@ -10722,7 +10714,7 @@
 68
 00
 cd
-86
+89
 c0
 00
 ad
@@ -10746,7 +10738,7 @@
 68
 00
 cd
-8f
+92
 79
 3f
 fe
@@ -10754,7 +10746,7 @@
 60
 00
 cd
-8f
+92
 70
 4b
 42
@@ -10774,7 +10766,7 @@
 68
 02
 4c
-1b
+1e
 20
 20
 01
@@ -10786,7 +10778,7 @@
 68
 00
 cc
-3c
+3f
 60
 00
 91
@@ -10794,7 +10786,7 @@
 68
 02
 4c
-72
+75
 60
 02
 11
@@ -10898,7 +10890,7 @@
 68
 00
 cd
-8f
+92
 79
 20
 7e
@@ -10906,7 +10898,7 @@
 60
 00
 cd
-8f
+92
 20
 40
 01
@@ -10926,7 +10918,7 @@
 d8
 c0
 4c
-63
+66
 20
 40
 7f
@@ -10962,7 +10954,7 @@
 68
 00
 cd
-8f
+92
 79
 20
 7e
@@ -10970,7 +10962,7 @@
 60
 00
 cd
-8f
+92
 58
 00
 07
@@ -10978,10 +10970,10 @@
 60
 01
 4d
-87
+8a
 70
 4d
-86
+89
 00
 20
 60
@@ -11014,7 +11006,7 @@
 60
 01
 4c
-68
+6b
 20
 40
 42
@@ -11026,7 +11018,7 @@
 20
 20
 05
-20
+0e
 00
 00
 00
@@ -11238,7 +11230,7 @@
 20
 20
 05
-20
+0e
 20
 40
 03
@@ -11966,7 +11958,7 @@
 20
 40
 05
-be
+ba
 c0
 03
 80
@@ -12147,5 +12139,5 @@
 55
 00
 00
-77
-14
+c4
+b7
Index: output/memmap.format
===================================================================
--- /branch/mouse_project/LeXiang/1059Only_BLE/output/memmap.format	(revision 7021)
+++ /branch/mouse_project/LeXiang/1059Only_BLE/output/memmap.format	(working copy)
@@ -1842,130 +1842,132 @@
 0x4bb0 mem_mouse_powerdown_sensor_timeout
 0x4bb2 mem_mouse_powerdown_sensor_timer
 0x4bb4 mem_mouse_power_down_flag
-0x4bb5 mem_24g_rxbuf
-0x4bd7 mem_24g_txbuf
-0x4bf7 mem_24g_txpayload
-0x4c19 mem_24g_rxpayload
-0x4c39 mem_24g_rxdata_length
-0x4c3a mem_24g_pid
-0x4c3b mem_24g_datalen
-0x4c3c mem_24g_data_type
-0x4c3d mem_24g_txlen
-0x4c3e mem_24g_rx_window
-0x4c40 mem_24g_ensure
-0x4c41 mem_24g_txfail_cnt
-0x4c43 mem_24g_get_ack_fail
-0x4c44 mem_24g_retry
-0x4c45 mem_24g_ch
-0x4c46 mem_24g_current_ch_number
-0x4c47 mem_24g_paring_addr
-0x4c4b mem_24g_pairing_sm
-0x4c4c mem_24g_ch_map1
-0x4c50 mem_24g_ch_map2
-0x4c54 mem_24g_ch_map3
-0x4c58 mem_24g_ch_map4
-0x4c5c mem_24g_tx_btclk
-0x4c60 mem_24g_interval
-0x4c61 mem_24g_interval_min
-0x4c62 mem_24g_interval_max
-0x4c63 mem_24g_addr
-0x4c67 mem_24g_abort_pac
-0x4c68 mem_24g_check_dongle_times
-0x4c6a mem_24g_enter_hibernate
-0x4c72 mem_24g_device_addr
-0x4c76 mem_24g_pac_index
-0x4c77 mem_24g_no_ack
-0x4c78 mem_24g_sta_crc
-0x4c7b mem_24g_last_crc
-0x4c7e mem_24g_sta_pid
-0x4c7f mem_24g_last_pid
-0x4c80 mem_24g_max_retry
-0x4c81 mem_24g_mode
-0x4c82 mem_24g_rxdata_temp
-0x4ca4 mem_24g_rx_addr
-0x4ca8 mem_dongle_mode_init
-0x4ca9 mem_dongle_work_mode
-0x4caa mem_dongle_ms_bind_step
-0x4cab mem_dongle_kb_bind_step
-0x4cac mem_dongle_bind_device_status
-0x4cad mem_24g_bind_payload
-0x4cb5 mem_24g_abort_packet
-0x4cb6 mem_24g_rf_laststa
-0x4cb7 mem_24g_hop_btclk
-0x4cbb mem_24g_hop_interval
-0x4cbc mem_24g_mode_switch
-0x4cbd mem_24g_ackpayload_enable
-0x4cbe mem_24g_hop_packet
-0x4cbf mem_24g_pair_mode
-0x4cc0 mem_24g_nodata_timer_enable
-0x4cc1 mem_24g_time_slice
-0x4cc2 mem_24g_kb_data_sta_data
-0x4cca mem_24g_kb_data_last_data
-0x4cd2 mem_24g_kb_multikey_sta_data
-0x4cd5 mem_24g_kb_multikey_last_data
-0x4cd8 mem_24g_kb_blank_data_enable
-0x4cd9 mem_24g_kb_mul_blank_data_enable
-0x4cda mem_24g_ms_blank_data_enable
-0x4cdb mem_24g_kb_addr
-0x4cdf mem_24g_ms_addr
-0x4ce3 mem_24g_dg_last_ch
-0x4ce4 mem_24g_dg_ch_number
-0x4ce5 mem_24g_dg_config_ch_once
-0x4ce6 mem_24g_kb_last_ch
-0x4ce7 mem_24g_kb_ch_number
-0x4ce8 mem_24g_kb_config_ch_once
-0x4ce9 mem_24g_ms_last_ch
-0x4cea mem_24g_ms_ch_number
-0x4ceb mem_24g_ms_config_ch_once
-0x4cec mem_24g_syncword
-0x4cee mem_24g_syncword_crc8
-0x4cef mem_24g_get_syncword_crc8
-0x4cf0 mem_24g_ota_sta_pid
-0x4cf2 mem_tx_power_temp
-0x4cf3 mem_rssi_hex
-0x4cf4 mem_rssi_noise_avg
-0x4cf5 mem_rssi_noise_index
-0x4cf6 mem_rssi_signal_index
-0x4cf7 mem_rssi_noise_dg_avg
-0x4cf8 mem_rssi_noise_kb_avg
-0x4cf9 mem_rssi_noise_ms_avg
-0x4cfa mem_rssi_noise_dg_index
-0x4cfb mem_rssi_noise_kb_index
-0x4cfc mem_rssi_noise_ms_index
-0x4cfd mem_rssi_signal_buf
-0x4d05 mem_queue_ele_num
-0x4d06 mem_queue_read
-0x4d08 mem_queue_write
-0x4d0a mem_queue_start
-0x4d0a mem_data_ele0
-0x4d2a mem_data_ele1
-0x4d4a mem_data_ele2
-0x4d6a mem_queue_end
-0x4d6a mem_queue_temp
-0x4d6c mem_cb_24g_data
-0x4d6e mem_24g_hop_fastly_cnt
-0x4d6f mem_24g_hop_pac_retry
-0x4d70 mem_24g_rf_hop_ch
-0x4d71 mem_24g_rf_last_sta
-0x4d72 mem_24g_rf_work_stage
-0x4d73 mem_24g_sync_cnt
-0x4d74 mem_power_ctrl_pac_succ_cnt
-0x4d75 mem_rssi_avg_received
-0x4d76 mem_rssi_hex_received
-0x4d77 mem_power_ctrl_level
-0x4d78 mem_seqi
-0x4d79 mem_24g_auto_paring_switch
-0x4d7a mem_24g_paccnt
-0x4d7b mem_24g_transmit_by_interrupt
-0x4d7c mem_24g_transmit_by_interrupt_exit_count
-0x4d7e mem_24g_transmit_by_interrupt_exit_count_init
-0x4d80 mem_24g_allpowerful_addr
-0x4d86 mem_24g_stop_g24_mode
-0x4d87 mem_24g_stop_g24_mode_timeout
-0x4d89 mem_24g_pair_current_ch_num
-0x4d8a mem_24g_powerful_current_ch_num
-0x4d8b mem_24g_search_dongle_action
-0x4d8c mem_24g_search_dongle_count
-0x4d8d mem_24g_search_dongle_ch
-0x4d8e mem_24g_search_dongle_wait
-0x4d8f mem_24g_conn_sm
+0x4bb5 mem_adc_check_count
+0x4bb6 mem_mouse_vdd_add
+0x4bb8 mem_24g_rxbuf
+0x4bda mem_24g_txbuf
+0x4bfa mem_24g_txpayload
+0x4c1c mem_24g_rxpayload
+0x4c3c mem_24g_rxdata_length
+0x4c3d mem_24g_pid
+0x4c3e mem_24g_datalen
+0x4c3f mem_24g_data_type
+0x4c40 mem_24g_txlen
+0x4c41 mem_24g_rx_window
+0x4c43 mem_24g_ensure
+0x4c44 mem_24g_txfail_cnt
+0x4c46 mem_24g_get_ack_fail
+0x4c47 mem_24g_retry
+0x4c48 mem_24g_ch
+0x4c49 mem_24g_current_ch_number
+0x4c4a mem_24g_paring_addr
+0x4c4e mem_24g_pairing_sm
+0x4c4f mem_24g_ch_map1
+0x4c53 mem_24g_ch_map2
+0x4c57 mem_24g_ch_map3
+0x4c5b mem_24g_ch_map4
+0x4c5f mem_24g_tx_btclk
+0x4c63 mem_24g_interval
+0x4c64 mem_24g_interval_min
+0x4c65 mem_24g_interval_max
+0x4c66 mem_24g_addr
+0x4c6a mem_24g_abort_pac
+0x4c6b mem_24g_check_dongle_times
+0x4c6d mem_24g_enter_hibernate
+0x4c75 mem_24g_device_addr
+0x4c79 mem_24g_pac_index
+0x4c7a mem_24g_no_ack
+0x4c7b mem_24g_sta_crc
+0x4c7e mem_24g_last_crc
+0x4c81 mem_24g_sta_pid
+0x4c82 mem_24g_last_pid
+0x4c83 mem_24g_max_retry
+0x4c84 mem_24g_mode
+0x4c85 mem_24g_rxdata_temp
+0x4ca7 mem_24g_rx_addr
+0x4cab mem_dongle_mode_init
+0x4cac mem_dongle_work_mode
+0x4cad mem_dongle_ms_bind_step
+0x4cae mem_dongle_kb_bind_step
+0x4caf mem_dongle_bind_device_status
+0x4cb0 mem_24g_bind_payload
+0x4cb8 mem_24g_abort_packet
+0x4cb9 mem_24g_rf_laststa
+0x4cba mem_24g_hop_btclk
+0x4cbe mem_24g_hop_interval
+0x4cbf mem_24g_mode_switch
+0x4cc0 mem_24g_ackpayload_enable
+0x4cc1 mem_24g_hop_packet
+0x4cc2 mem_24g_pair_mode
+0x4cc3 mem_24g_nodata_timer_enable
+0x4cc4 mem_24g_time_slice
+0x4cc5 mem_24g_kb_data_sta_data
+0x4ccd mem_24g_kb_data_last_data
+0x4cd5 mem_24g_kb_multikey_sta_data
+0x4cd8 mem_24g_kb_multikey_last_data
+0x4cdb mem_24g_kb_blank_data_enable
+0x4cdc mem_24g_kb_mul_blank_data_enable
+0x4cdd mem_24g_ms_blank_data_enable
+0x4cde mem_24g_kb_addr
+0x4ce2 mem_24g_ms_addr
+0x4ce6 mem_24g_dg_last_ch
+0x4ce7 mem_24g_dg_ch_number
+0x4ce8 mem_24g_dg_config_ch_once
+0x4ce9 mem_24g_kb_last_ch
+0x4cea mem_24g_kb_ch_number
+0x4ceb mem_24g_kb_config_ch_once
+0x4cec mem_24g_ms_last_ch
+0x4ced mem_24g_ms_ch_number
+0x4cee mem_24g_ms_config_ch_once
+0x4cef mem_24g_syncword
+0x4cf1 mem_24g_syncword_crc8
+0x4cf2 mem_24g_get_syncword_crc8
+0x4cf3 mem_24g_ota_sta_pid
+0x4cf5 mem_tx_power_temp
+0x4cf6 mem_rssi_hex
+0x4cf7 mem_rssi_noise_avg
+0x4cf8 mem_rssi_noise_index
+0x4cf9 mem_rssi_signal_index
+0x4cfa mem_rssi_noise_dg_avg
+0x4cfb mem_rssi_noise_kb_avg
+0x4cfc mem_rssi_noise_ms_avg
+0x4cfd mem_rssi_noise_dg_index
+0x4cfe mem_rssi_noise_kb_index
+0x4cff mem_rssi_noise_ms_index
+0x4d00 mem_rssi_signal_buf
+0x4d08 mem_queue_ele_num
+0x4d09 mem_queue_read
+0x4d0b mem_queue_write
+0x4d0d mem_queue_start
+0x4d0d mem_data_ele0
+0x4d2d mem_data_ele1
+0x4d4d mem_data_ele2
+0x4d6d mem_queue_end
+0x4d6d mem_queue_temp
+0x4d6f mem_cb_24g_data
+0x4d71 mem_24g_hop_fastly_cnt
+0x4d72 mem_24g_hop_pac_retry
+0x4d73 mem_24g_rf_hop_ch
+0x4d74 mem_24g_rf_last_sta
+0x4d75 mem_24g_rf_work_stage
+0x4d76 mem_24g_sync_cnt
+0x4d77 mem_power_ctrl_pac_succ_cnt
+0x4d78 mem_rssi_avg_received
+0x4d79 mem_rssi_hex_received
+0x4d7a mem_power_ctrl_level
+0x4d7b mem_seqi
+0x4d7c mem_24g_auto_paring_switch
+0x4d7d mem_24g_paccnt
+0x4d7e mem_24g_transmit_by_interrupt
+0x4d7f mem_24g_transmit_by_interrupt_exit_count
+0x4d81 mem_24g_transmit_by_interrupt_exit_count_init
+0x4d83 mem_24g_allpowerful_addr
+0x4d89 mem_24g_stop_g24_mode
+0x4d8a mem_24g_stop_g24_mode_timeout
+0x4d8c mem_24g_pair_current_ch_num
+0x4d8d mem_24g_powerful_current_ch_num
+0x4d8e mem_24g_search_dongle_action
+0x4d8f mem_24g_search_dongle_count
+0x4d90 mem_24g_search_dongle_ch
+0x4d91 mem_24g_search_dongle_wait
+0x4d92 mem_24g_conn_sm
Index: output/program.lis
===================================================================
--- /branch/mouse_project/LeXiang/1059Only_BLE/output/program.lis	(revision 7021)
+++ /branch/mouse_project/LeXiang/1059Only_BLE/output/program.lis	(working copy)
@@ -9,17 +9,17 @@
 p_wake_from_power:
 0001 20400388 call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
-0003 6000ccf2 store 1 ,mem_tx_power_temp 
-0004 204006da call power_ctrl_pac_succ_cnt_init 
+0003 6000ccf5 store 1 ,mem_tx_power_temp 
+0004 204006d8 call power_ctrl_pac_succ_cnt_init 
 0005 6800c685 fetch 1 ,mem_ui_button_timeout 
 0006 6000c6da store 1 ,mem_combination_ui_button_count 
 0007 2040049c call p_mouse_bt_discovery_button_up_init 
 0008 2040030a call p_mouse_spi_init 
-0009 20400768 call p_drawing_optima_init 
+0009 20400766 call p_drawing_optima_init 
 000a 20400014 call p_mouse_cb_fuction 
 000b 20400025 call p_mouse_wakeup_from_power 
 000c 680240a0 fetch 4 ,mem_lap 
-000d 60024c72 store 4 ,mem_24g_device_addr 
+000d 60024c75 store 4 ,mem_24g_device_addr 
 000e 20405810 call le_set_config_fixed_ltk 
 000f 20405839 call le_set_justwork 
 0010 2040582c call le_set_fixed_ltk 
@@ -29,10 +29,10 @@
 
 p_mouse_cb_fuction:
 0014 58000351 setarg p_mouse_g24_package_data 
-0015 60014d6c store 2 ,mem_cb_24g_data 
+0015 60014d6f store 2 ,mem_cb_24g_data 
 0016 58000374 setarg p_mouse_le 
 0017 600141ef store 2 ,mem_cb_le_process 
-0018 580006ad setarg p_le_mouse_bb_event_connect_complete 
+0018 580006ab setarg p_le_mouse_bb_event_connect_complete 
 0019 600141f9 store 2 ,mem_cb_att_write 
 001a 58000292 setarg p_mouse_before_lpm 
 001b 600141ed store 2 ,mem_cb_before_lpm 
@@ -48,7 +48,7 @@
 
 p_mouse_wakeup_from_power:
 0025 58000019 setarg 25 
-0026 60014d7e store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0026 60014d81 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 0027 2455802f ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
 0028 204002be call p_mouse_init_sunt 
 0029 204003f4 call p_mouse_sensor_powerdown 
@@ -58,11 +58,11 @@
 002b 6000c71e store 1 ,mem_reconn_times 
 002c 6800c241 fetch 1 ,mem_power_on_flag 
 002d c3810000 rtnbit1 2 
-002e 20200576 branch p_mouse_dpi_config_default 
+002e 20200572 branch p_mouse_dpi_config_default 
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
 002f 58000177 setarg 375 
-0030 60014d7e store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0030 60014d81 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 0031 20600000 rtn 
 0032 20000001 nop 1 
 0033 20000001 nop 1 
@@ -83,33 +83,33 @@
 0040 c284004f bbit1 8 ,pf_patch_ext 
 0041 c000805d beq patch00_1 ,p_soft_reset_1 
 0042 c0010066 beq patch00_2 ,p_soft_reset_2 
-0043 c042873c beq patch10_5 ,p_shutdown_radio 
-0044 c044870f beq patch11_1 ,p_set_freq_tx 
+0043 c042873a beq patch10_5 ,p_shutdown_radio 
+0044 c044870d beq patch11_1 ,p_set_freq_tx 
 0045 c050806f beq patch14_1 ,p_init_param 
 0046 c0588074 beq patch16_1 ,p_lpm_check_wake_lock 
 0047 c0590080 beq patch16_2 ,p_g24_dispatch 
 0048 c062029f beq patch18_4 ,p_device_init 
-0049 c0718578 beq patch1c_3 ,p_mouse_seting_dpi 
-004a c07305b1 beq patch1c_6 ,p_mouse_motion 
-004b c07505df beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-004c c07585e3 beq patch1d_3 ,p_mouse_start_discovery 
-004d c07605e5 beq patch1d_4 ,p_mouse_stop_discovery 
+0049 c0718574 beq patch1c_3 ,p_mouse_seting_dpi 
+004a c07305ad beq patch1c_6 ,p_mouse_motion 
+004b c07505db beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+004c c07585df beq patch1d_3 ,p_mouse_start_discovery 
+004d c07605e1 beq patch1d_4 ,p_mouse_stop_discovery 
 004e 20202a8e branch loop 
 
 pf_patch_ext:
-004f c01c85eb beq patch27_1 ,p_le_slave_match 
-0050 c02185f3 beq patch28_3 ,p_le_next_adv_channel 
-0051 c02505f9 beq patch29_2 ,p_le_receive_skip 
-0052 c02b85fc beq patch2a_7 ,p_le_update_param 
-0053 c02c85fe beq patch2b_1 ,p_le_update_channel_map 
-0054 c0318600 beq patch2c_3 ,p_le_prepare_tx 
-0055 c0330630 beq patch2c_6 ,p_le_parse 
-0056 c033864f beq patch2c_7 ,p_le_parse_l2cap 
-0057 c0350698 beq patch2d_2 ,p_le_adv_not_match 
-0058 c03b86a3 beq patch2e_7 ,p_le_lpm_setmult 
-0059 c07d06c2 beq patch3f_2 ,p_check_51cmd_once_continue 
-005a c04606af beq patch31_4 ,p_twspi_reset 
-005b c04686bb beq patch31_5 ,p_spid_init 
+004f c01c85e9 beq patch27_1 ,p_le_slave_match 
+0050 c02185f1 beq patch28_3 ,p_le_next_adv_channel 
+0051 c02505f7 beq patch29_2 ,p_le_receive_skip 
+0052 c02b85fa beq patch2a_7 ,p_le_update_param 
+0053 c02c85fc beq patch2b_1 ,p_le_update_channel_map 
+0054 c03185fe beq patch2c_3 ,p_le_prepare_tx 
+0055 c033062e beq patch2c_6 ,p_le_parse 
+0056 c033864d beq patch2c_7 ,p_le_parse_l2cap 
+0057 c0350696 beq patch2d_2 ,p_le_adv_not_match 
+0058 c03b86a1 beq patch2e_7 ,p_le_lpm_setmult 
+0059 c07d06c0 beq patch3f_2 ,p_check_51cmd_once_continue 
+005a c04606ad beq patch31_4 ,p_twspi_reset 
+005b c04686b9 beq patch31_5 ,p_spid_init 
 005c 20202a8e branch loop 
 
 p_soft_reset_1:
@@ -159,10 +159,10 @@
 
 p_g24_dispatch:
 0080 c6930000 rtnmark0 mark_24g 
-0081 6800cd8f fetch 1 ,mem_24g_conn_sm 
+0081 6800cd92 fetch 1 ,mem_24g_conn_sm 
 0082 c2808097 bbit1 state_24g_pair ,p_g24_pair_dispatch 
 0083 c2810099 bbit1 state_24g_reconn ,p_g24_reconn_dispatch 
-0084 6800cd7b fetch 1 ,mem_24g_transmit_by_interrupt 
+0084 6800cd7e fetch 1 ,mem_24g_transmit_by_interrupt 
 0085 c000809b beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
 
 p_g24_transmit_process:
@@ -172,11 +172,11 @@
 
 p_g24_transmit_start:
 0089 2040017a call p_g24_transmit_packet 
-008a 6800cc4b fetch 1 ,mem_24g_pairing_sm 
+008a 6800cc4e fetch 1 ,mem_24g_pairing_sm 
 008b c1ff8000 rtnne state_24g_pairing_success 
-008c 204006e3 call power_ctrl_start 
+008c 204006e1 call power_ctrl_start 
 008d 58017700 setarg g24_long_sleep_step1 
-008e 6001cc6a store 3 ,mem_24g_enter_hibernate 
+008e 6001cc6d store 3 ,mem_24g_enter_hibernate 
 008f 704b4414 jam 20 ,mem_24g_long_sleep_param_update_timer 
 0090 6800cb26 fetch 1 ,mem_mouse_multi_led_state 
 0091 c0008354 beq on ,p_g24_transmit_by_interrupt_enable 
@@ -190,67 +190,67 @@
 
 p_g24_pair_dispatch:
 0097 7011c660 jam zcode_60 ,mem_zcode_temp_param0 
-0098 2020073e branch p_zcode_entrance 
+0098 2020073c branch p_zcode_entrance 
 
 p_g24_reconn_dispatch:
 0099 7011c653 jam zcode_53 ,mem_zcode_temp_param0 
-009a 2020073e branch p_zcode_entrance 
+009a 2020073c branch p_zcode_entrance 
 
 p_g24_transmit_by_interrupt:
 009b 20400273 call p_g24_timer_check 
 009c 24740000 nrtn user 
 009d 204000b0 call p_g24_interval_calibrate 
-009e 68014d7c fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+009e 68014d7f fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
 009f 1fe0fe01 increase 1 ,pdata 
-00a0 60014d7c store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-00a1 68094d7e fetcht 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+00a0 60014d7f store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+00a1 68094d81 fetcht 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 00a2 98467c00 isub temp ,null 
 00a3 204280a5 call p_g24_transmit_by_interrupt_exit ,zero 
 00a4 20200086 branch p_g24_transmit_process 
 
 p_g24_transmit_by_interrupt_exit:
-00a5 704d7b00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+00a5 704d7e00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
 00a6 58000000 setarg 0 
-00a7 60014d7c store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+00a7 60014d7f store 2 ,mem_24g_transmit_by_interrupt_exit_count 
 00a8 58000019 setarg 25 
-00a9 60014d7e store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+00a9 60014d81 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 
 p_g24_interval_min:
-00aa 704c7600 jam 0 ,mem_24g_pac_index 
-00ab 6800cc61 fetch 1 ,mem_24g_interval_min 
+00aa 704c7900 jam 0 ,mem_24g_pac_index 
+00ab 6800cc64 fetch 1 ,mem_24g_interval_min 
 
 p_g24_interval_store:
-00ac 6000cc60 store 1 ,mem_24g_interval 
+00ac 6000cc63 store 1 ,mem_24g_interval 
 00ad 20600000 rtn 
 
 p_g24_interval_max:
-00ae 6800cc62 fetch 1 ,mem_24g_interval_max 
+00ae 6800cc65 fetch 1 ,mem_24g_interval_max 
 00af 202000ac branch p_g24_interval_store 
 
 p_g24_interval_calibrate:
-00b0 6800cc76 fetch 1 ,mem_24g_pac_index 
+00b0 6800cc79 fetch 1 ,mem_24g_pac_index 
 00b1 1fe0fe01 increase 1 ,pdata 
-00b2 6000cc76 store 1 ,mem_24g_pac_index 
+00b2 6000cc79 store 1 ,mem_24g_pac_index 
 00b3 c00200ae beq 4 ,p_g24_interval_max 
 00b4 c00280aa beq 5 ,p_g24_interval_min 
 00b5 20600000 rtn 
 
 p_g24_nodata_transmit:
-00b6 6800cc67 fetch 1 ,mem_24g_abort_pac 
+00b6 6800cc6a fetch 1 ,mem_24g_abort_pac 
 00b7 205a00e4 call p_g24_send_abort_packet ,blank 
 00b8 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
 00b9 247a0000 nrtn blank 
 00ba 6800cb26 fetch 1 ,mem_mouse_multi_led_state 
 00bb c1008000 rtneq on 
-00bc 6800cd7b fetch 1 ,mem_24g_transmit_by_interrupt 
+00bc 6800cd7e fetch 1 ,mem_24g_transmit_by_interrupt 
 00bd c1008000 rtneq g24_tx_timer_int_enable 
 00be 7011c671 jam zcode_71 ,mem_zcode_temp_param0 
-00bf 2040073e call p_zcode_entrance 
+00bf 2040073c call p_zcode_entrance 
 
 p_g24_long_sleep:
 00c0 204000c6 call p_g24_lpm_wait 
 00c1 24740000 nrtn user 
-00c2 6801cc6a fetch 3 ,mem_24g_enter_hibernate 
+00c2 6801cc6d fetch 3 ,mem_24g_enter_hibernate 
 00c3 20407f49 call clk2lpo 
 00c4 600a415b storet 4 ,mem_sleep_counter 
 00c5 20202b2a branch lpm_sleep 
@@ -262,7 +262,7 @@
 00c9 203a7fe9 branch disable_user ,blank 
 00ca 6800c091 fetch 1 ,mem_lpm_mode 
 00cb 203a7fe9 branch disable_user ,blank 
-00cc 6800cd7b fetch 1 ,mem_24g_transmit_by_interrupt 
+00cc 6800cd7e fetch 1 ,mem_24g_transmit_by_interrupt 
 00cd c000ffe9 beq g24_tx_timer_int_enable ,disable_user 
 
 p_mouse_setgpio_lpm:
@@ -294,115 +294,115 @@
 00e3 20206830 branch gpio_set_bit 
 
 p_g24_send_abort_packet:
-00e4 704c6701 jam 1 ,mem_24g_abort_pac 
-00e5 704d7000 jam 0 ,mem_24g_rf_hop_ch 
+00e4 704c6a01 jam 1 ,mem_24g_abort_pac 
+00e5 704d7300 jam 0 ,mem_24g_rf_hop_ch 
 00e6 20400108 call p_g24_transmit_rf_ctrl_clear 
-00e7 6000cbd7 store 1 ,mem_24g_txbuf 
+00e7 6000cbda store 1 ,mem_24g_txbuf 
 00e8 58000000 setarg 0 
-00e9 6003cbd8 store 7 ,mem_24g_txbuf + 1 
-00ea 68024c72 fetch 4 ,mem_24g_device_addr 
-00eb 60024bdf store 4 ,mem_24g_txbuf + 8 
-00ec 704c3b0c jam 12 ,mem_24g_datalen 
-00ed 6800cc3c fetch 1 ,mem_24g_data_type 
+00e9 6003cbdb store 7 ,mem_24g_txbuf + 1 
+00ea 68024c75 fetch 4 ,mem_24g_device_addr 
+00eb 60024be2 store 4 ,mem_24g_txbuf + 8 
+00ec 704c3e0c jam 12 ,mem_24g_datalen 
+00ed 6800cc3f fetch 1 ,mem_24g_data_type 
 00ee 79207e03 set1 bit_abort ,pdata 
-00ef 6000cc3c store 1 ,mem_24g_data_type 
+00ef 6000cc3f store 1 ,mem_24g_data_type 
 00f0 2040015a call p_g24_txdata_enable_tx 
 00f1 20200089 branch p_g24_transmit_start 
 
 p_g24_search_dongle_init:
 00f2 58000000 setarg 0 
-00f3 6001cd8b store 3 ,mem_24g_search_dongle_action 
+00f3 6001cd8e store 3 ,mem_24g_search_dongle_action 
 00f4 20600000 rtn 
 
 p_g24_search_dongle_check:
-00f5 704d8c00 jam 0 ,mem_24g_search_dongle_count 
-00f6 6800cd8b fetch 1 ,mem_24g_search_dongle_action 
+00f5 704d8f00 jam 0 ,mem_24g_search_dongle_count 
+00f6 6800cd8e fetch 1 ,mem_24g_search_dongle_action 
 00f7 c3800000 rtnbit1 g24_disconn_state 
 00f8 79207e00 set1 g24_disconn_state ,pdata 
-00f9 6000cd8b store 1 ,mem_24g_search_dongle_action 
+00f9 6000cd8e store 1 ,mem_24g_search_dongle_action 
 00fa 58000708 setarg g24_disconn_nodata_timer 
 00fb 600146b0 store 2 ,mem_mouse_no_data_timer 
 00fc 202003f4 branch p_mouse_sensor_powerdown 
 
 p_g24_search_dongle_success:
-00fd 6800cc67 fetch 1 ,mem_24g_abort_pac 
+00fd 6800cc6a fetch 1 ,mem_24g_abort_pac 
 00fe 203a00f2 branch p_g24_search_dongle_init ,blank 
-00ff 704d8c00 jam 0 ,mem_24g_search_dongle_count 
-0100 6800cd8b fetch 1 ,mem_24g_search_dongle_action 
+00ff 704d8f00 jam 0 ,mem_24g_search_dongle_count 
+0100 6800cd8e fetch 1 ,mem_24g_search_dongle_action 
 0101 c4000000 rtnbit0 g24_disconn_state 
 0102 793ffe00 set0 g24_disconn_state ,pdata 
-0103 6000cd8b store 1 ,mem_24g_search_dongle_action 
+0103 6000cd8e store 1 ,mem_24g_search_dongle_action 
 0104 20403f8d call mouse_no_data_timer_init 
 0105 202003a5 branch p_mouse_init_sensor_reset 
 
 p_g24_transmit_rf_sta_init:
-0106 704d7101 jam 1 ,mem_24g_rf_last_sta 
-0107 704d7300 jam 0 ,mem_24g_sync_cnt 
+0106 704d7401 jam 1 ,mem_24g_rf_last_sta 
+0107 704d7600 jam 0 ,mem_24g_sync_cnt 
 
 p_g24_transmit_rf_ctrl_clear:
-0108 6800cc3c fetch 1 ,mem_24g_data_type 
+0108 6800cc3f fetch 1 ,mem_24g_data_type 
 0109 1fe17e07 and_into bits_data ,pdata 
-010a 6000cc3c store 1 ,mem_24g_data_type 
+010a 6000cc3f store 1 ,mem_24g_data_type 
 010b 20600000 rtn 
 
 p_g24_hop_ch_enable:
-010c 6800cc3c fetch 1 ,mem_24g_data_type 
+010c 6800cc3f fetch 1 ,mem_24g_data_type 
 010d 79207e04 set1 bit_hop ,pdata 
-010e 6000cc3c store 1 ,mem_24g_data_type 
-010f 6000cbf7 store 1 ,mem_24g_txpayload 
+010e 6000cc3f store 1 ,mem_24g_data_type 
+010f 6000cbfa store 1 ,mem_24g_txpayload 
 0110 20600000 rtn 
 
 p_g24_hop_enable_packet:
-0111 6800cc3c fetch 1 ,mem_24g_data_type 
+0111 6800cc3f fetch 1 ,mem_24g_data_type 
 0112 c4020000 rtnbit0 bit_hop 
 
 p_g24_hop_ch_disable:
-0113 6800cc3c fetch 1 ,mem_24g_data_type 
+0113 6800cc3f fetch 1 ,mem_24g_data_type 
 0114 793ffe04 set0 bit_hop ,pdata 
-0115 6000cc3c store 1 ,mem_24g_data_type 
-0116 6000cbf7 store 1 ,mem_24g_txpayload 
-0117 20400621 call power_ctrl_pac_succ_decrs 
+0115 6000cc3f store 1 ,mem_24g_data_type 
+0116 6000cbfa store 1 ,mem_24g_txpayload 
+0117 2040061f call power_ctrl_pac_succ_decrs 
 0118 20200145 branch p_g24_ch 
 
 p_g24_rf_hop_attemp_again:
-0119 6800cd70 fetch 1 ,mem_24g_rf_hop_ch 
+0119 6800cd73 fetch 1 ,mem_24g_rf_hop_ch 
 011a c0808108 bne 1 ,p_g24_transmit_rf_ctrl_clear 
 
 p_g24_rf_hop_fastly:
-011b 6800cd6e fetch 1 ,mem_24g_hop_fastly_cnt 
+011b 6800cd71 fetch 1 ,mem_24g_hop_fastly_cnt 
 011c 1fe0fe01 increase 1 ,pdata 
-011d 6000cd6e store 1 ,mem_24g_hop_fastly_cnt 
+011d 6000cd71 store 1 ,mem_24g_hop_fastly_cnt 
 011e c0020122 beq 4 ,p_g24_rf_hop_fastly_exit 
 011f 20400145 call p_g24_ch 
-0120 704c8002 jam 2 ,mem_24g_max_retry 
+0120 704c8302 jam 2 ,mem_24g_max_retry 
 0121 2020017a branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-0122 20400621 call power_ctrl_pac_succ_decrs 
-0123 704d6e00 jam 0 ,mem_24g_hop_fastly_cnt 
+0122 2040061f call power_ctrl_pac_succ_decrs 
+0123 704d7100 jam 0 ,mem_24g_hop_fastly_cnt 
 0124 20200108 branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_hop_pac_succ_wo_hop:
-0125 704d7302 jam 2 ,mem_24g_sync_cnt 
+0125 704d7602 jam 2 ,mem_24g_sync_cnt 
 
 p_g24_transmit_hop_pac_succ:
-0126 704d7101 jam 1 ,mem_24g_rf_last_sta 
-0127 704d7000 jam 0 ,mem_24g_rf_hop_ch 
+0126 704d7401 jam 1 ,mem_24g_rf_last_sta 
+0127 704d7300 jam 0 ,mem_24g_rf_hop_ch 
 0128 20200108 branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_succ_rf_config:
-0129 6800cd72 fetch 1 ,mem_24g_rf_work_stage 
+0129 6800cd75 fetch 1 ,mem_24g_rf_work_stage 
 012a c0018126 beq 3 ,p_g24_transmit_hop_pac_succ 
-012b 6800cc3c fetch 1 ,mem_24g_data_type 
+012b 6800cc3f fetch 1 ,mem_24g_data_type 
 012c 2fec0004 isolate0 bit_hop ,pdata 
 012d 20208106 branch p_g24_transmit_rf_sta_init ,true 
-012e 6800cd72 fetch 1 ,mem_24g_rf_work_stage 
+012e 6800cd75 fetch 1 ,mem_24g_rf_work_stage 
 012f c0008125 beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
 0130 c0010126 beq 2 ,p_g24_transmit_hop_pac_succ 
 0131 20600000 rtn 
 
 p_g24_rf_sta_check:
-0132 6800cc4b fetch 1 ,mem_24g_pairing_sm 
+0132 6800cc4e fetch 1 ,mem_24g_pairing_sm 
 0133 c1ff8000 rtnne state_24g_pairing_success 
 0134 20400137 call p_g24_rf_laststa_synccnt_check 
 0135 2456013f ncall p_g24_rf_sync_cnt_check ,user2 
@@ -410,46 +410,46 @@
 
 p_g24_rf_laststa_synccnt_check:
 0137 78567c00 disable user2 
-0138 6800cd71 fetch 1 ,mem_24g_rf_last_sta 
+0138 6800cd74 fetch 1 ,mem_24g_rf_last_sta 
 0139 c1808000 rtnne 1 
-013a 6800cd73 fetch 1 ,mem_24g_sync_cnt 
+013a 6800cd76 fetch 1 ,mem_24g_sync_cnt 
 013b c1800000 rtnne 0 
-013c 704d7201 jam 1 ,mem_24g_rf_work_stage 
-013d 704c8004 jam 4 ,mem_24g_max_retry 
+013c 704d7501 jam 1 ,mem_24g_rf_work_stage 
+013d 704c8304 jam 4 ,mem_24g_max_retry 
 013e 20207feb branch enable_user2 
 
 p_g24_rf_sync_cnt_check:
-013f 6800cd73 fetch 1 ,mem_24g_sync_cnt 
+013f 6800cd76 fetch 1 ,mem_24g_sync_cnt 
 0140 203a0152 branch p_g24_rf_hop_attemp ,blank 
 0141 1fe0ffff increase -1 ,pdata 
-0142 6000cd73 store 1 ,mem_24g_sync_cnt 
-0143 704d7202 jam 2 ,mem_24g_rf_work_stage 
-0144 704c8004 jam 4 ,mem_24g_max_retry 
+0142 6000cd76 store 1 ,mem_24g_sync_cnt 
+0143 704d7502 jam 2 ,mem_24g_rf_work_stage 
+0144 704c8304 jam 4 ,mem_24g_max_retry 
 
 p_g24_ch:
-0145 6808cc46 fetcht 1 ,mem_24g_current_ch_number 
-0146 6800cc63 fetch 1 ,mem_24g_addr 
+0145 6808cc49 fetcht 1 ,mem_24g_current_ch_number 
+0146 6800cc66 fetch 1 ,mem_24g_addr 
 0147 1fe17e03 and_into 0x03 ,pdata 
 0148 1fefa204 mul32 pdata ,4 ,rega 
-0149 58004c4c setarg mem_24g_ch_map1 
+0149 58004c4f setarg mem_24g_ch_map1 
 014a 9a20fe00 iadd rega ,pdata 
 014b 98408c00 iadd temp ,contr 
 014c e8c08000 ifetch 1 ,contr 
-014d 6000cc45 store 1 ,mem_24g_ch 
+014d 6000cc48 store 1 ,mem_24g_ch 
 014e 18408401 increase 1 ,temp 
 014f 18410403 and_into 3 ,temp 
-0150 6008cc46 storet 1 ,mem_24g_current_ch_number 
+0150 6008cc49 storet 1 ,mem_24g_current_ch_number 
 0151 20600000 rtn 
 
 p_g24_rf_hop_attemp:
-0152 704d7203 jam 3 ,mem_24g_rf_work_stage 
-0153 6800cd70 fetch 1 ,mem_24g_rf_hop_ch 
+0152 704d7503 jam 3 ,mem_24g_rf_work_stage 
+0153 6800cd73 fetch 1 ,mem_24g_rf_hop_ch 
 0154 243a0119 nbranch p_g24_rf_hop_attemp_again ,blank 
-0155 704c8002 jam 2 ,mem_24g_max_retry 
+0155 704c8302 jam 2 ,mem_24g_max_retry 
 0156 20200145 branch p_g24_ch 
 
 p_g24_txdata_prep:
-0157 6800cc4b fetch 1 ,mem_24g_pairing_sm 
+0157 6800cc4e fetch 1 ,mem_24g_pairing_sm 
 0158 c0ff81d2 bne state_24g_pairing_success ,p_g24_pairing_sm 
 
 p_g24_txdata_prep_packeage_data:
@@ -457,24 +457,24 @@
 
 p_g24_txdata_enable_tx:
 015a 204001f0 call p_g24_transmit_prep 
-015b 704c4001 jam ensure_on_24g ,mem_24g_ensure 
+015b 704c4301 jam ensure_on_24g ,mem_24g_ensure 
 015c 20600000 rtn 
 
 p_g24_package_data:
-015d 68014d6c fetch 2 ,mem_cb_24g_data 
+015d 68014d6f fetch 2 ,mem_cb_24g_data 
 015e 20407f9c call callback_func 
 015f 20340163 branch p_g24_accumulate_mouse_data ,user 
-0160 6803cbd8 fetch 7 ,mem_24g_txbuf + 1 
+0160 6803cbdb fetch 7 ,mem_24g_txbuf + 1 
 0161 207a0000 rtn blank 
 0162 20207fe7 branch enable_user 
 
 p_g24_accumulate_mouse_data:
 0163 2040036e call p_mouse_data_xy_release 
-0164 704c6700 jam 0 ,mem_24g_abort_pac 
+0164 704c6a00 jam 0 ,mem_24g_abort_pac 
 0165 1a20fe01 add rega ,1 ,pdata 
-0166 6000cc3b store 1 ,mem_24g_datalen 
+0166 6000cc3e store 1 ,mem_24g_datalen 
 0167 20400108 call p_g24_transmit_rf_ctrl_clear 
-0168 6000cbd7 store 1 ,mem_24g_txbuf 
+0168 6000cbda store 1 ,mem_24g_txbuf 
 0169 e8a88000 ifetcht 1 ,contw 
 016a ea408000 ifetch 1 ,regb 
 016b 9841fe00 ior temp ,pdata 
@@ -483,7 +483,7 @@
 016e ea420000 ifetch 4 ,regb 
 016f e0a20000 istore 4 ,contw 
 0170 1a40a404 increase 4 ,regb 
-0171 d8a04bdd arg mem_24g_txbuf + 6 ,contw 
+0171 d8a04be0 arg mem_24g_txbuf + 6 ,contw 
 0172 df200002 arg 2 ,loopcnt 
 
 p_g24_accumulation_loop:
@@ -496,7 +496,7 @@
 0179 20600000 rtn 
 
 p_g24_transmit_packet:
-017a 704c4400 jam 0 ,mem_24g_retry 
+017a 704c4700 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
 017b d9600d00 arg param_rx_setup ,timeup 
@@ -506,33 +506,33 @@
 017f 2437819c nbranch p_g24_retransmit ,user3 
 0180 2040018e call p_g24_txbuf_clear 
 0181 204001b6 call p_g24_ackpayload_parse 
-0182 204006dd call power_ctrl_pac_succ_incrs 
+0182 204006db call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
-0183 6800cc3a fetch 1 ,mem_24g_pid 
+0183 6800cc3d fetch 1 ,mem_24g_pid 
 0184 1fe0fe01 increase 1 ,pdata 
-0185 6000cc3a store 1 ,mem_24g_pid 
+0185 6000cc3d store 1 ,mem_24g_pid 
 0186 20400111 call p_g24_hop_enable_packet 
-0187 6800cc4b fetch 1 ,mem_24g_pairing_sm 
+0187 6800cc4e fetch 1 ,mem_24g_pairing_sm 
 0188 c0ff81d4 bne state_24g_pairing_success ,p_g24_paring_mode_start 
 0189 20400129 call p_g24_transmit_succ_rf_config 
 
 p_g24_transmit_abandon:
 018a 58000000 setarg 0 
-018b 60024c40 store 4 ,mem_24g_ensure 
-018c 6000cd6f store 1 ,mem_24g_hop_pac_retry 
+018b 60024c43 store 4 ,mem_24g_ensure 
+018c 6000cd72 store 1 ,mem_24g_hop_pac_retry 
 018d 20600000 rtn 
 
 p_g24_txbuf_clear:
 018e df200004 arg 4 ,loopcnt 
-018f d8a04bd7 arg mem_24g_txbuf ,contw 
+018f d8a04bda arg mem_24g_txbuf ,contw 
 0190 20207ec6 branch memset0 
 
 p_g24_transmit_receive_ack:
 0191 7857fc00 disable user3 
 0192 20400252 call p_g24_transmit 
 0193 18002a00 force 0 ,radio_ctrl 
-0194 68024c63 fetch 4 ,mem_24g_addr 
+0194 68024c66 fetch 4 ,mem_24g_addr 
 0195 98001200 iforce access 
 0196 68088017 fetcht 1 ,mem_last_freq 
 0197 2040291f call set_freq_rx 
@@ -542,35 +542,35 @@
 019b 20600000 rtn 
 
 p_g24_retransmit:
-019c 68014c41 fetch 2 ,mem_24g_txfail_cnt 
+019c 68014c44 fetch 2 ,mem_24g_txfail_cnt 
 019d 1fe0fe01 increase 1 ,pdata 
-019e 60014c41 store 2 ,mem_24g_txfail_cnt 
+019e 60014c44 store 2 ,mem_24g_txfail_cnt 
 019f c2862dd4 bbit1 12 ,g24_stop_24g_mode 
-01a0 6800cc4b fetch 1 ,mem_24g_pairing_sm 
+01a0 6800cc4e fetch 1 ,mem_24g_pairing_sm 
 01a1 c0ff81a4 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
 01a2 204001ac call p_g24_tx_hop_ch_process 
 01a3 2020017b branch p_g24_transmit_loop 
 
 p_g24_tx_paring_retry:
-01a4 6800cc41 fetch 1 ,mem_24g_txfail_cnt 
+01a4 6800cc44 fetch 1 ,mem_24g_txfail_cnt 
 01a5 c1ff8000 rtnne 0xff 
 
 p_g24_tx_attempt_fail:
 01a6 58000000 setarg 0 
-01a7 60014c41 store 2 ,mem_24g_txfail_cnt 
+01a7 60014c44 store 2 ,mem_24g_txfail_cnt 
 01a8 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_fast_hop:
-01a9 20400706 call power_ctrl_txpower_incrs 
-01aa 20400621 call power_ctrl_pac_succ_decrs 
+01a9 20400704 call power_ctrl_txpower_incrs 
+01aa 2040061f call power_ctrl_pac_succ_decrs 
 01ab 20200145 branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
-01ac 6800cc44 fetch 1 ,mem_24g_retry 
+01ac 6800cc47 fetch 1 ,mem_24g_retry 
 01ad 1fe67c0b sub pdata ,11 ,null 
 01ae 242101a9 nbranch p_g24_tx_fast_hop ,positive 
 01af 1fe0fe01 increase 1 ,pdata 
-01b0 6000cc44 store 1 ,mem_24g_retry 
+01b0 6000cc47 store 1 ,mem_24g_retry 
 01b1 c001010c beq 2 ,p_g24_hop_ch_enable 
 01b2 c0030113 beq 6 ,p_g24_hop_ch_disable 
 01b3 c004010c beq 8 ,p_g24_hop_ch_enable 
@@ -579,64 +579,64 @@
 
 p_g24_ackpayload_parse:
 01b6 204001e3 call p_g24_read_len_pid_crc 
-01b7 6800cc39 fetch 1 ,mem_24g_rxdata_length 
+01b7 6800cc3c fetch 1 ,mem_24g_rxdata_length 
 01b8 207a0000 rtn blank 
 01b9 98007200 iforce loopcnt 
-01ba d8c04bb7 arg mem_24g_rxbuf + 2 ,contr 
-01bb d8a04c19 arg mem_24g_rxpayload ,contw 
+01ba d8c04bba arg mem_24g_rxbuf + 2 ,contr 
+01bb d8a04c1c arg mem_24g_rxpayload ,contw 
 01bc 20207f01 branch memcpy 
 
 p_g24_pair_init:
 01bd 7041de04 jam tx_power_f5db ,mem_tx_power 
-01be 704c3a00 jam 0 ,mem_24g_pid 
-01bf 704c454e jam g24_pair_ch ,mem_24g_ch 
-01c0 68024c47 fetch 4 ,mem_24g_paring_addr 
+01be 704c3d00 jam 0 ,mem_24g_pid 
+01bf 704c484e jam g24_pair_ch ,mem_24g_ch 
+01c0 68024c4a fetch 4 ,mem_24g_paring_addr 
 
 p_g24_update_addr_and_synccrc8:
-01c1 60024c63 store 4 ,mem_24g_addr 
+01c1 60024c66 store 4 ,mem_24g_addr 
 
 p_g24_syncword_crc8:
 01c2 da200000 arg 0 ,rega 
 01c3 df200004 arg 4 ,loopcnt 
-01c4 d8c04c63 arg mem_24g_addr ,contr 
+01c4 d8c04c66 arg mem_24g_addr ,contr 
 
 p_g24_syncword_crc8_loop:
 01c5 e8c08000 ifetch 1 ,contr 
 01c6 9a20a200 iadd rega ,rega 
 01c7 c20001c5 loop p_g24_syncword_crc8_loop 
 01c8 1a227e00 copy rega ,pdata 
-01c9 60014cec store 2 ,mem_24g_syncword 
-01ca 6800ccec fetch 1 ,mem_24g_syncword 
-01cb 6808cced fetcht 1 ,mem_24g_syncword + 1 
+01c9 60014cef store 2 ,mem_24g_syncword 
+01ca 6800ccef fetch 1 ,mem_24g_syncword 
+01cb 6808ccf0 fetcht 1 ,mem_24g_syncword + 1 
 01cc 9840fe00 iadd temp ,pdata 
-01cd 6000ccee store 1 ,mem_24g_syncword_crc8 
+01cd 6000ccf1 store 1 ,mem_24g_syncword_crc8 
 01ce 20600000 rtn 
 
 p_g24_start_pairing_sm1:
 01cf 204001bd call p_g24_pair_init 
 
 p_g24_set_pairing_sm_1:
-01d0 704c4b01 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+01d0 704c4e01 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
 01d1 20600000 rtn 
 
 p_g24_pairing_sm:
 01d2 7011c690 jam zcode_90 ,mem_zcode_temp_param0 
-01d3 2020073e branch p_zcode_entrance 
+01d3 2020073c branch p_zcode_entrance 
 
 p_g24_paring_mode_start:
-01d4 204006da call power_ctrl_pac_succ_cnt_init 
+01d4 204006d8 call power_ctrl_pac_succ_cnt_init 
 
 p_g24_paring_mode:
 01d5 7011c691 jam zcode_91 ,mem_zcode_temp_param0 
-01d6 2020073e branch p_zcode_entrance 
+01d6 2020073c branch p_zcode_entrance 
 
 p_g24_start_24g_mode:
 01d7 7011c640 jam zcode_40 ,mem_zcode_temp_param0 
-01d8 2020073e branch p_zcode_entrance 
+01d8 2020073c branch p_zcode_entrance 
 
 p_g24_check_51cmd_stop_24g:
 01d9 793f8026 set0 mark_24g ,mark 
-01da 704d8f00 jam state_24g_stop ,mem_24g_conn_sm 
+01da 704d9200 jam state_24g_stop ,mem_24g_conn_sm 
 01db 204053ce call le_disable 
 
 p_mouse_disable_g24_pairing_flag:
@@ -644,45 +644,45 @@
 01dd 202043d2 branch mouse_disable_function_flag 
 
 p_g24_put_data_in_buff:
-01de 6008cc3b storet 1 ,mem_24g_datalen 
+01de 6008cc3e storet 1 ,mem_24g_datalen 
 01df 18427200 copy temp ,loopcnt 
-01e0 d8a04bd7 arg mem_24g_txbuf ,contw 
+01e0 d8a04bda arg mem_24g_txbuf ,contw 
 01e1 1a220c00 copy rega ,contr 
 01e2 20207f01 branch memcpy 
 
 p_g24_read_len_pid_crc:
-01e3 6800cbb6 fetch 1 ,mem_24g_rxbuf + 1 
+01e3 6800cbb9 fetch 1 ,mem_24g_rxbuf + 1 
 01e4 1fe97e00 rshift3 pdata ,pdata 
-01e5 6000cc39 store 1 ,mem_24g_rxdata_length 
+01e5 6000cc3c store 1 ,mem_24g_rxdata_length 
 01e6 1fe0fe01 increase 1 ,pdata 
-01e7 d8c04bb6 arg mem_24g_rxbuf + 1 ,contr 
+01e7 d8c04bb9 arg mem_24g_rxbuf + 1 ,contr 
 01e8 98c08c00 iadd contr ,contr 
 01e9 e8c18000 ifetch 3 ,contr 
-01ea 6001cc78 store 3 ,mem_24g_sta_crc 
-01eb 6800cbb6 fetch 1 ,mem_24g_rxbuf + 1 
+01ea 6001cc7b store 3 ,mem_24g_sta_crc 
+01eb 6800cbb9 fetch 1 ,mem_24g_rxbuf + 1 
 01ec 1fe37e00 rshift pdata ,pdata 
 01ed 1fe17e03 and pdata ,0x03 ,pdata 
-01ee 6000cc7e store 1 ,mem_24g_sta_pid 
+01ee 6000cc81 store 1 ,mem_24g_sta_pid 
 01ef 20600000 rtn 
 
 p_g24_transmit_prep:
-01f0 6800cc3b fetch 1 ,mem_24g_datalen 
+01f0 6800cc3e fetch 1 ,mem_24g_datalen 
 01f1 1fe0fe02 increase 2 ,pdata 
-01f2 6000cc3d store 1 ,mem_24g_txlen 
-01f3 6800cc3c fetch 1 ,mem_24g_data_type 
-01f4 6000cbf7 store 1 ,mem_24g_txpayload 
-01f5 6800cc3b fetch 1 ,mem_24g_datalen 
+01f2 6000cc40 store 1 ,mem_24g_txlen 
+01f3 6800cc3f fetch 1 ,mem_24g_data_type 
+01f4 6000cbfa store 1 ,mem_24g_txpayload 
+01f5 6800cc3e fetch 1 ,mem_24g_datalen 
 01f6 1fe9fe00 lshift3 pdata ,pdata 
-01f7 6808cc3a fetcht 1 ,mem_24g_pid 
+01f7 6808cc3d fetcht 1 ,mem_24g_pid 
 01f8 18410403 and temp ,0x03 ,temp 
 01f9 18438400 lshift temp ,temp 
 01fa 9841fe00 ior temp ,pdata 
-01fb 6808cc77 fetcht 1 ,mem_24g_no_ack 
+01fb 6808cc7a fetcht 1 ,mem_24g_no_ack 
 01fc 9840fe00 iadd temp ,pdata 
 01fd e0a08000 istore 1 ,contw 
-01fe 6800cc3b fetch 1 ,mem_24g_datalen 
+01fe 6800cc3e fetch 1 ,mem_24g_datalen 
 01ff 98007200 iforce loopcnt 
-0200 d8c04bd7 arg mem_24g_txbuf ,contr 
+0200 d8c04bda arg mem_24g_txbuf ,contr 
 0201 20207f01 branch memcpy 
 
 p_g24_prep:
@@ -690,7 +690,7 @@
 0203 7843fc00 disable enable_white 
 0204 58555555 setarg 0x555555 
 0205 98001e00 iforce crc24_init 
-0206 6800cc45 fetch 1 ,mem_24g_ch 
+0206 6800cc48 fetch 1 ,mem_24g_ch 
 0207 1fed8400 reverse pdata ,temp 
 0208 79200401 set1 1 ,temp 
 0209 18431c00 rshift temp ,white_init 
@@ -703,7 +703,7 @@
 020e 7830fc00 enable is_rx 
 020f 78507c00 disable is_tx 
 0210 78287c00 enable swfine 
-0211 68014c3e fetch 2 ,mem_24g_rx_window 
+0211 68014c41 fetch 2 ,mem_24g_rx_window 
 0212 98003600 iforce stop_watch 
 0213 37c18400 correlate null ,timeout 
 0214 242c024c nbranch p_g24_sync_timeout ,sync 
@@ -712,14 +712,14 @@
 0217 7823fc00 enable enable_white 
 0218 7824fc00 enable enable_crc 
 0219 20400249 call p_g24_receive_byte 
-021a 6000ccef store 1 ,mem_24g_get_syncword_crc8 
-021b 6808ccee fetcht 1 ,mem_24g_syncword_crc8 
+021a 6000ccf2 store 1 ,mem_24g_get_syncword_crc8 
+021b 6808ccf1 fetcht 1 ,mem_24g_syncword_crc8 
 021c 98467c00 isub temp ,null 
 021d 2422824c nbranch p_g24_end_of_packet ,zero 
 021e 20400249 call p_g24_receive_byte 
-021f 6000cbb5 store 1 ,mem_24g_rxbuf 
-0220 6800cbb5 fetch 1 ,mem_24g_rxbuf 
-0221 6808cc3c fetcht 1 ,mem_24g_data_type 
+021f 6000cbb8 store 1 ,mem_24g_rxbuf 
+0220 6800cbb8 fetch 1 ,mem_24g_rxbuf 
+0221 6808cc3f fetcht 1 ,mem_24g_data_type 
 0222 a8400e00 icompare bits_data ,temp 
 0223 2420824c nbranch p_g24_end_of_packet ,true 
 
@@ -738,7 +738,7 @@
 p_g24rx_nopayload:
 022c 18a22200 copy contw ,rega 
 022d 20400249 call p_g24_receive_byte 
-022e 6000cd76 store 1 ,mem_rssi_hex_received 
+022e 6000cd79 store 1 ,mem_rssi_hex_received 
 022f 1a220a00 copy rega ,contw 
 0230 09800018 parse demod ,bucket ,24 
 0231 78287c00 enable swfine 
@@ -754,18 +754,18 @@
 023b 20402981 call rf_write_freq 
 023c 7846fc00 disable decode_fec0 
 023d 20402918 call set_sync_on 
-023e 6800cd76 fetch 1 ,mem_rssi_hex_received 
+023e 6800cd79 fetch 1 ,mem_rssi_hex_received 
 
 p_rssi_signal:
 023f 1fe22200 copy pdata ,rega 
-0240 6808ccf6 fetcht 1 ,mem_rssi_signal_index 
-0241 58004cfd setarg mem_rssi_signal_buf 
+0240 6808ccf9 fetcht 1 ,mem_rssi_signal_index 
+0241 58004d00 setarg mem_rssi_signal_buf 
 0242 98408a00 iadd temp ,contw 
 0243 1a227e00 copy rega ,pdata 
 0244 e0a08000 istore 1 ,contw 
 0245 18408401 increase 1 ,temp 
 0246 18410407 and_into rssi_buf_len_signal ,temp 
-0247 6008ccf6 storet 1 ,mem_rssi_signal_index 
+0247 6008ccf9 storet 1 ,mem_rssi_signal_index 
 0248 20600000 rtn 
 
 p_g24_receive_byte:
@@ -782,12 +782,12 @@
 
 p_g24_set_freq_tx:
 024f 20402918 call set_sync_on 
-0250 6808cc45 fetcht 1 ,mem_24g_ch 
+0250 6808cc48 fetcht 1 ,mem_24g_ch 
 0251 20202933 branch set_freq_tx 
 
 p_g24_transmit:
 0252 204053c4 call le_enable 
-0253 68024c63 fetch 4 ,mem_24g_addr 
+0253 68024c66 fetch 4 ,mem_24g_addr 
 0254 98001200 iforce access 
 0255 20400202 call p_g24_prep 
 0256 2040024f call p_g24_set_freq_tx 
@@ -803,11 +803,11 @@
 0260 782dfc00 enable encode_fec1 
 0261 7823fc00 enable enable_white 
 0262 7824fc00 enable enable_crc 
-0263 6800ccee fetch 1 ,mem_24g_syncword_crc8 
+0263 6800ccf1 fetch 1 ,mem_24g_syncword_crc8 
 0264 08008608 inject mod ,8 
-0265 6800cc3d fetch 1 ,mem_24g_txlen 
+0265 6800cc40 fetch 1 ,mem_24g_txlen 
 0266 98007200 iforce loopcnt 
-0267 d8c04bf7 arg mem_24g_txpayload ,contr 
+0267 d8c04bfa arg mem_24g_txpayload ,contr 
 
 p_g24tr_loop:
 0268 e8c08000 ifetch 1 ,contr 
@@ -824,19 +824,19 @@
 
 p_g24_timer_check:
 0273 20407fe9 call disable_user 
-0274 680a4c5c fetcht 4 ,mem_24g_tx_btclk 
+0274 680a4c5f fetcht 4 ,mem_24g_tx_btclk 
 0275 1c427e00 copy clkn_bt ,pdata 
 0276 98467c00 isub temp ,null 
 0277 24412d18 ncall g24_timer_timeout ,positive 
 0278 1fe22400 copy pdata ,regb 
-0279 68024c5c fetch 4 ,mem_24g_tx_btclk 
-027a 6808cc60 fetcht 1 ,mem_24g_interval 
+0279 68024c5f fetch 4 ,mem_24g_tx_btclk 
+027a 6808cc63 fetcht 1 ,mem_24g_interval 
 027b 98408400 iadd temp ,temp 
 027c 1a427e00 copy regb ,pdata 
 027d 98467c00 isub temp ,null 
 027e 24610000 nrtn positive 
 027f 793ffe1c set0 28 ,pdata 
-0280 60024c5c store 4 ,mem_24g_tx_btclk 
+0280 60024c5f store 4 ,mem_24g_tx_btclk 
 0281 20207fe7 branch enable_user 
 
 p_rssi_average:
@@ -876,7 +876,7 @@
 p_mouse_set_sdio_high:
 029c 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
 029d 207a0000 rtn blank 
-029e 20200578 branch p_mouse_seting_sensor_type 
+029e 20200574 branch p_mouse_seting_sensor_type 
 
 p_device_init:
 029f 2040296c call initialize_radio 
@@ -885,18 +885,18 @@
 02a2 2035830a branch p_mouse_spi_init ,wake 
 
 p_device_wake_from_power:
-02a3 20400530 call p_mouse_adc_read 
+02a3 2040051f call p_mouse_adc_read 
 02a4 20400001 call p_wake_from_power 
 02a5 6800c241 fetch 1 ,mem_power_on_flag 
 02a6 c28102a9 bbit1 2 ,p_mouse_skip_24g_pair 
-02a7 204005be call p_mouse_check_key_gpio 
+02a7 204005ba call p_mouse_check_key_gpio 
 02a8 c00282bc beq mouse_lm_button ,p_mouse_24g_pairing_button 
 
 p_mouse_skip_24g_pair:
 
 p_mouse_check_reconn_target:
 02a9 204002b0 call p_mouse_tx_power_init 
-02aa 2040051b call p_mouse_mode_bt_device1_multi_led_on 
+02aa 20400509 call p_mouse_mode_bt_device1_multi_led_on 
 02ab 6800c210 fetch 1 ,mem_xrecord_mode 
 02ac c01a02b3 beq rec_4_mode ,p_mouse4_0_check_reconn_target 
 02ad 204004b4 call p_mouse_fast_conn_adv_switch_timer_reinit 
@@ -904,13 +904,13 @@
 02af 20200441 branch p_mouse_check_fast_conn_adv_start 
 
 p_mouse_tx_power_init:
-02b0 6800ccf2 fetch 1 ,mem_tx_power_temp 
+02b0 6800ccf5 fetch 1 ,mem_tx_power_temp 
 02b1 6000c1de store 1 ,mem_tx_power 
 02b2 20600000 rtn 
 
 p_mouse4_0_check_reconn_target:
 02b3 7011c612 jam zcode_12 ,mem_zcode_temp_param0 
-02b4 2020073e branch p_zcode_entrance 
+02b4 2020073c branch p_zcode_entrance 
 
 p_le_check_adv_flag:
 02b5 da204370 arg mem_le_adv_data ,rega 
@@ -925,7 +925,7 @@
 
 p_mouse_24g_pairing_button:
 02bc 7011c642 jam zcode_42 ,mem_zcode_temp_param0 
-02bd 2020073e branch p_zcode_entrance 
+02bd 2020073c branch p_zcode_entrance 
 
 p_mouse_init_sunt:
 02be 2040030a call p_mouse_spi_init 
@@ -940,7 +940,7 @@
 02c5 202002c0 branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-02c6 2040056e call p_mouse_sensor_poweron 
+02c6 2040056a call p_mouse_sensor_poweron 
 02c7 6800c6de fetch 1 ,mem_sensor_id2 
 02c8 c02d02d1 beq p_mx8650 ,p_mouse_mx8650_init_param 
 02c9 c06882cb beq s201x_id2 ,p_mouse_s201x_init_param 
@@ -971,12 +971,12 @@
 02dc 202002d6 branch p_sensor_wr_seq 
 
 p_mouse_p3065_init_param:
-02dd 2040056e call p_mouse_sensor_poweron 
+02dd 2040056a call p_mouse_sensor_poweron 
 02de 202040ea branch mouse_p3065_init_param 
 
 p_mouse_setting_config:
 02df 7011c680 jam zcode_80 ,mem_zcode_temp_param0 
-02e0 2020073e branch p_zcode_entrance 
+02e0 2020073c branch p_zcode_entrance 
 
 p_spid_init_flash:
 02e1 70808640 jam 0x40 ,core_spid_ctrl 
@@ -1007,7 +1007,7 @@
 02f8 6000c77a store 1 ,mem_mouse_dpi 
 02f9 68024b4c fetch 4 ,mem_mouse_24g_addr_init 
 02fa 6002477b store 4 ,mem_mouse_24g_addr 
-02fb 60024c63 store 4 ,mem_24g_addr 
+02fb 60024c66 store 4 ,mem_24g_addr 
 
 p_mouse_store_flash_device_info:
 02fc 2040033a call p_flash_release_deep_power_down 
@@ -1078,7 +1078,7 @@
 032d 20400344 call p_mouse_load_flash_user_data 
 032e 2040431a call mouse_select_reconn_device 
 032f 6802477b fetch 4 ,mem_mouse_24g_addr 
-0330 60024c63 store 4 ,mem_24g_addr 
+0330 60024c66 store 4 ,mem_24g_addr 
 0331 20600000 rtn 
 
 p_flash_deep_power_down:
@@ -1107,7 +1107,7 @@
 
 p_mouse_fast_conn_init:
 0340 704b75ff jam 0xff ,mem_mouse_fast_conn_flag 
-0341 68034d80 fetch 6 ,mem_24g_allpowerful_addr 
+0341 68034d83 fetch 6 ,mem_24g_allpowerful_addr 
 0342 600344a0 store 6 ,mem_le_lap 
 0343 20600000 rtn 
 
@@ -1124,13 +1124,13 @@
 
 p_mouse_start_24g_mode:
 034b 704b2c0a jam 10 ,mem_mouse_multi_led_blink_count 
-034c 2040052d call p_mouse_dpi_multi_led_blink 
+034c 2040051b call p_mouse_dpi_multi_led_blink 
 034d 7011c640 jam zcode_40 ,mem_zcode_temp_param0 
-034e 2020073e branch p_zcode_entrance 
+034e 2020073c branch p_zcode_entrance 
 
 p_g24_auto_pair_start:
 034f 7011c641 jam zcode_41 ,mem_zcode_temp_param0 
-0350 2020073e branch p_zcode_entrance 
+0350 2020073c branch p_zcode_entrance 
 
 p_mouse_g24_package_data:
 0351 20404401 call mouse_g24_package_data 
@@ -1138,9 +1138,9 @@
 0353 207a0000 rtn blank 
 
 p_g24_transmit_by_interrupt_enable:
-0354 704d7b01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+0354 704d7e01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
 0355 58000000 setarg 0 
-0356 60014d7c store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0356 60014d7f store 2 ,mem_24g_transmit_by_interrupt_exit_count 
 0357 20600000 rtn 
 
 p_mouse_le_txbuff_save:
@@ -1259,11 +1259,11 @@
 
 p_mouse_dpi_check:
 03aa 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-03ab 204005d6 call p_gpio_set_input_pd 
+03ab 204005d2 call p_gpio_set_input_pd 
 03ac 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
 03ad 2040681d call gpio_get_bit 
 03ae 202083b4 branch p_mouse_dpi_up ,true 
-03af 204005d1 call p_gpio_set_input_pu 
+03af 204005cd call p_gpio_set_input_pu 
 
 p_mouse_dpi_down:
 03b0 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
@@ -1272,7 +1272,7 @@
 03b3 20600000 rtn 
 
 p_mouse_dpi_up:
-03b4 204005d1 call p_gpio_set_input_pu 
+03b4 204005cd call p_gpio_set_input_pu 
 03b5 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
 03b6 c1008000 rtneq dpi_button_state_up 
 03b7 7046b601 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
@@ -1284,7 +1284,7 @@
 03bd 6000c77a store 1 ,mem_mouse_dpi 
 03be 1fe0fe03 increase 3 ,pdata 
 03bf 6000cb2c store 1 ,mem_mouse_multi_led_blink_count 
-03c0 2040052d call p_mouse_dpi_multi_led_blink 
+03c0 2040051b call p_mouse_dpi_multi_led_blink 
 03c1 20203d7e branch mouse_seting_dpi 
 
 p_mouse_priority_bb_event:
@@ -1322,7 +1322,7 @@
 p_mouse_le_bb_disconnected:
 03dc 204003f1 call p_mouse_sensor_powerdown_check 
 03dd 7011c6a2 jam zcode_a2 ,mem_zcode_temp_param0 
-03de 2020073e branch p_zcode_entrance 
+03de 2020073c branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
@@ -1332,31 +1332,31 @@
 
 p_mouse_le_ll_start_encryt:
 03e1 7011c6b3 jam zcode_b3 ,mem_zcode_temp_param0 
-03e2 2020073e branch p_zcode_entrance 
+03e2 2020073c branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
 03e3 7011c6a1 jam zcode_a1 ,mem_zcode_temp_param0 
-03e4 2020073e branch p_zcode_entrance 
+03e4 2020073c branch p_zcode_entrance 
 
 p_mouse_24g_pairing_complete:
 03e5 204003a5 call p_mouse_init_sensor_reset 
 03e6 7011c650 jam zcode_50 ,mem_zcode_temp_param0 
-03e7 2020073e branch p_zcode_entrance 
+03e7 2020073c branch p_zcode_entrance 
 
 p_mouse_24g_attempt_fail:
 03e8 204003f1 call p_mouse_sensor_powerdown_check 
 03e9 7011c651 jam zcode_51 ,mem_zcode_temp_param0 
-03ea 2020073e branch p_zcode_entrance 
+03ea 2020073c branch p_zcode_entrance 
 
 p_mouse_24g_attempt_success:
 03eb 204003a5 call p_mouse_init_sensor_reset 
 03ec 7011c652 jam zcode_52 ,mem_zcode_temp_param0 
-03ed 2020073e branch p_zcode_entrance 
+03ed 2020073c branch p_zcode_entrance 
 
 p_mouse_before_hibernate:
 03ee 204003f1 call p_mouse_sensor_powerdown_check 
 03ef 7011c6a0 jam zcode_a0 ,mem_zcode_temp_param0 
-03f0 2020073e branch p_zcode_entrance 
+03f0 2020073c branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
 03f1 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
@@ -1373,8 +1373,8 @@
 03fa 20206413 branch twspi_write 
 
 p_mouse_bb_event_timer:
-03fb 20400530 call p_mouse_adc_read 
-03fc 20400562 call p_mouse_low_voltage_led_timer 
+03fb 2040051f call p_mouse_adc_read 
+03fc 2040055c call p_mouse_low_voltage_led_timer 
 03fd 20400420 call p_mouse_le_switch_adv_timer 
 03fe 204004ca call p_mouse_multi_led_blink_timer 
 03ff 20400490 call p_mouse_wheel_trigger_timer 
@@ -1486,19 +1486,19 @@
 
 p_mouse_g24_long_sleep_normal_param:
 0449 58124f80 setarg g24_long_sleep_step3 
-044a 6001cc6a store 3 ,mem_24g_enter_hibernate 
+044a 6001cc6d store 3 ,mem_24g_enter_hibernate 
 
 p_mouse_long_mult_flag_enable:
 044b 704b4201 jam 1 ,mem_mouse_long_mult_flag 
 044c 20600000 rtn 
 
 p_mouse_g24_stop_mode_timeout_timer:
-044d da604d87 arg mem_24g_stop_g24_mode_timeout ,regc 
+044d da604d8a arg mem_24g_stop_g24_mode_timeout ,regc 
 044e da400450 arg p_mouse_g24_stop_mode_timeout ,regb 
 044f 20203374 branch timer_single_step_2b 
 
 p_mouse_g24_stop_mode_timeout:
-0450 704d8601 jam 1 ,mem_24g_stop_g24_mode 
+0450 704d8901 jam 1 ,mem_24g_stop_g24_mode 
 0451 20600000 rtn 
 
 p_mouse_select_device:
@@ -1507,13 +1507,13 @@
 0452 6800c6ed fetch 1 ,mem_config_select_device_button_gpio 
 0453 c17f8000 rtneq gpio_disable 
 0454 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
-0455 204005d6 call p_gpio_set_input_pd 
+0455 204005d2 call p_gpio_set_input_pd 
 0456 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
 0457 2040681d call gpio_get_bit 
 0458 24208462 nbranch p_mouse_select_device_button_down ,true 
 
 p_mouse_select_device_button_up:
-0459 204005d1 call p_gpio_set_input_pu 
+0459 204005cd call p_gpio_set_input_pu 
 045a 6800cafb fetch 1 ,mem_mouse_button_select_device_timer_init 
 045b 6000cafc store 1 ,mem_mouse_button_select_device_count 
 045c 6800c6d9 fetch 1 ,mem_select_device_button_statue 
@@ -1524,7 +1524,7 @@
 0461 202043d2 branch mouse_disable_function_flag 
 
 p_mouse_select_device_button_down:
-0462 204005d1 call p_gpio_set_input_pu 
+0462 204005cd call p_gpio_set_input_pu 
 0463 2040046a call p_mouse_button_select_device_timer 
 0464 204004c0 call p_mouse_null_enter_hibernate_check 
 0465 704b2400 jam off ,mem_mouse_multi_led_blink_enable 
@@ -1603,7 +1603,7 @@
 p_mouse_bt_discovery_check:
 
 p_mouse_bt_discovery_commbination_key:
-0495 204005be call p_mouse_check_key_gpio 
+0495 204005ba call p_mouse_check_key_gpio 
 0496 c003049f beq mouse_rm_button ,p_mouse_bt_discovery_commbination_key_down 
 
 p_mouse_bt_discovery_commbination_key_up:
@@ -1630,7 +1630,7 @@
 
 p_mouse_long_button_bt_discovery:
 04a5 204003f4 call p_mouse_sensor_powerdown 
-04a6 20400520 call p_mouse_discovery_multi_led_blink 
+04a6 2040050e call p_mouse_discovery_multi_led_blink 
 04a7 20404386 call mouse_disconnect 
 04a8 2040047d call p_mouse_long_button_state_clear 
 04a9 6800cb68 fetch 1 ,mem_le_switch_adv_flag 
@@ -1699,12 +1699,12 @@
 
 p_mouse_multi_led_off_poweron2s:
 04d8 704b2e00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-04d9 2040050a call p_mouse_multi_led_off 
+04d9 20400500 call p_mouse_multi_led_off 
 04da 68014682 fetch 2 ,mem_ui_state_map 
 04db c3848000 rtnbit1 ui_state_ble_connected 
 04dc c3800000 rtnbit1 ui_state_bt_connected 
 04dd 6800cb75 fetch 1 ,mem_mouse_fast_conn_flag 
-04de c07f8520 beq 0xff ,p_mouse_discovery_multi_led_blink 
+04de c07f850e beq 0xff ,p_mouse_discovery_multi_led_blink 
 04df 20600000 rtn 
 
 p_mouse_multi_led_type_blink:
@@ -1723,1056 +1723,1050 @@
 
 p_mouse_multi_led_blink_count_no_limited:
 04ec 6800cb26 fetch 1 ,mem_mouse_multi_led_state 
-04ed c000850a beq on ,p_mouse_multi_led_off 
+04ed c0008500 beq on ,p_mouse_multi_led_off 
 04ee c00004f9 beq off ,p_mouse_multi_led_on 
 04ef 20600000 rtn 
 
 p_mouse_multi_led_blink_check:
-04f0 20400508 call p_mouse_multi_led_blink_off 
+04f0 204004fe call p_mouse_multi_led_blink_off 
 04f1 6800c720 fetch 1 ,mem_device_flag 
 04f2 c1808000 rtnne mode_bt_device1 
 04f3 68014682 fetch 2 ,mem_ui_state_map 
 04f4 c3848000 rtnbit1 ui_state_ble_connected 
 04f5 c3800000 rtnbit1 ui_state_bt_connected 
 04f6 6800cb75 fetch 1 ,mem_mouse_fast_conn_flag 
-04f7 c07f8520 beq 0xff ,p_mouse_discovery_multi_led_blink 
+04f7 c07f850e beq 0xff ,p_mouse_discovery_multi_led_blink 
 04f8 20600000 rtn 
 
 p_mouse_multi_led_on:
 04f9 704b2601 jam on ,mem_mouse_multi_led_state 
-04fa 6800c720 fetch 1 ,mem_device_flag 
-04fb c0010500 beq mode_24g_device ,p_mouse_multi_down_led_on 
 
 p_mouse_multi_up_led_on:
+04fa 6808cbac fetcht 1 ,mem_mouse_bt_led_gpio 
+04fb 2040680e call gpio_config_output 
 04fc 6808cbac fetcht 1 ,mem_mouse_bt_led_gpio 
-04fd 2040680e call gpio_config_output 
-04fe 6808cbac fetcht 1 ,mem_mouse_bt_led_gpio 
-04ff 20206829 branch gpio_out_active 
-
-p_mouse_multi_down_led_on:
-0500 704bad01 jam 1 ,mem_24g_device_led_status 
-0501 6810807c hfetch 1 ,core_gpio_pd0 
-0502 793ffe05 set0 5 ,pdata 
-0503 6010807c hstore 1 ,core_gpio_pd0 
-0504 6808cb25 fetcht 1 ,mem_mouse_multi_led_gpio 
-0505 2040680e call gpio_config_output 
-0506 6808cb25 fetcht 1 ,mem_mouse_multi_led_gpio 
-0507 20206829 branch gpio_out_active 
+04fd 20206829 branch gpio_out_active 
 
 p_mouse_multi_led_blink_off:
-0508 58000000 setarg 0 
-0509 6001cb2b store 3 ,mem_mouse_multi_led_blink_timer 
+04fe 58000000 setarg 0 
+04ff 6001cb2b store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-050a 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
-050b 243a050e nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-050c 704b2400 jam 0 ,mem_mouse_multi_led_blink_enable 
-050d 704b2700 jam 0 ,mem_mouse_multi_led_type 
+0500 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
+0501 243a0504 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+0502 704b2400 jam 0 ,mem_mouse_multi_led_blink_enable 
+0503 704b2700 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-050e 704b2800 jam 0 ,mem_mouse_multi_led_on_timer 
-050f 704b2600 jam off ,mem_mouse_multi_led_state 
-
-p_mouse_multi_led_off2:
-0510 704bad00 jam 0 ,mem_24g_device_led_status 
-0511 6808cb25 fetcht 1 ,mem_mouse_multi_led_gpio 
-0512 2040680e call gpio_config_output 
-0513 6808cb25 fetcht 1 ,mem_mouse_multi_led_gpio 
-0514 20406825 call gpio_out_inactive 
-0515 6810807c hfetch 1 ,core_gpio_pd0 
-0516 79207e05 set1 5 ,pdata 
-0517 6010807c hstore 1 ,core_gpio_pd0 
+0504 704b2800 jam 0 ,mem_mouse_multi_led_on_timer 
+0505 704b2600 jam off ,mem_mouse_multi_led_state 
 
 p_mouse_bt_led_suspend:
-0518 6808cbac fetcht 1 ,mem_mouse_bt_led_gpio 
-0519 793f8407 set0 gpio_active_bit ,temp 
-051a 20206806 branch gpio_set_high_impedance 
+0506 6808cbac fetcht 1 ,mem_mouse_bt_led_gpio 
+0507 793f8407 set0 gpio_active_bit ,temp 
+0508 20206806 branch gpio_set_high_impedance 
 
 p_mouse_mode_bt_device1_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-051b 704b2e01 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-051c 704b2401 jam on ,mem_mouse_multi_led_blink_enable 
-051d 704b2700 jam multi_led_on ,mem_mouse_multi_led_type 
-051e 704b2800 jam 0 ,mem_mouse_multi_led_on_timer 
-051f 20600000 rtn 
+0509 704b2e01 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+050a 704b2401 jam on ,mem_mouse_multi_led_blink_enable 
+050b 704b2700 jam multi_led_on ,mem_mouse_multi_led_type 
+050c 704b2800 jam 0 ,mem_mouse_multi_led_on_timer 
+050d 20600000 rtn 
 
 p_mouse_discovery_multi_led_blink:
-0520 704b2d00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-0521 704b2e00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-0522 704b2a01 jam 1 ,mem_mouse_multi_led_blink_timer_init 
-0523 704b2c01 jam 1 ,mem_mouse_multi_led_blink_count 
+050e 704b2d00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+050f 704b2e00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+0510 704b2a01 jam 1 ,mem_mouse_multi_led_blink_timer_init 
+0511 704b2c01 jam 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_enable:
-0524 704b2b05 jam 5 ,mem_mouse_multi_led_blink_timer 
-0525 704b2401 jam on ,mem_mouse_multi_led_blink_enable 
-0526 704b2701 jam multi_led_blink ,mem_mouse_multi_led_type 
-0527 20600000 rtn 
+0512 704b2b05 jam 5 ,mem_mouse_multi_led_blink_timer 
+0513 704b2401 jam on ,mem_mouse_multi_led_blink_enable 
+0514 704b2701 jam multi_led_blink ,mem_mouse_multi_led_type 
+0515 20600000 rtn 
 
 p_mouse_discovey_led_blink_off:
-0528 6800cb28 fetch 1 ,mem_mouse_multi_led_on_timer 
-0529 247a0000 nrtn blank 
-052a 6800cb2e fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-052b 247a0000 nrtn blank 
-052c 20200508 branch p_mouse_multi_led_blink_off 
+0516 6800cb28 fetch 1 ,mem_mouse_multi_led_on_timer 
+0517 247a0000 nrtn blank 
+0518 6800cb2e fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0519 247a0000 nrtn blank 
+051a 202004fe branch p_mouse_multi_led_blink_off 
 
 p_mouse_dpi_multi_led_blink:
-052d 704b2a03 jam 3 ,mem_mouse_multi_led_blink_timer_init 
-052e 704b2d01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
-052f 20200524 branch p_mouse_multi_led_blink_enable 
+051b 20400500 call p_mouse_multi_led_off 
+051c 704b2a03 jam 3 ,mem_mouse_multi_led_blink_timer_init 
+051d 704b2d01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+051e 20200512 branch p_mouse_multi_led_blink_enable 
 
 p_mouse_adc_read:
-0530 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
-0531 247a0000 nrtn blank 
-0532 da6046ce arg mem_adc_read_timer ,regc 
-0533 da400535 arg p_mouse_adc_read_timeout ,regb 
-0534 2020336d branch timer_single_step 
+051f 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
+0520 247a0000 nrtn blank 
+0521 da6046ce arg mem_adc_read_timer ,regc 
+0522 da400524 arg p_mouse_adc_read_timeout ,regb 
+0523 2020336d branch timer_single_step 
 
 p_mouse_adc_read_timeout:
-0535 7046ce0a jam 10 ,mem_adc_read_timer 
-0536 2040054c call p_adc_set_mode 
-0537 20406908 call vdd_calculate_by_mode 
-0538 1feffe02 mul32 pdata ,2 ,pdata 
-0539 d8400012 arg 0x12 ,temp 
-053a 98467e00 isub temp ,pdata 
-053b 1fe67c6e sub pdata ,0x6e ,null 
-053c 2441054a ncall p_mouse_vlotage_add ,positive 
-053d 6001470f store 2 ,mem_mouse_vdd_now_vol 
-053e da204709 arg mem_mouse_vdd_calculate_set ,rega 
-053f 20400555 call p_adc_bat_percent_lowpower_out 
-0540 6800c231 fetch 1 ,mem_adc_power_flag 
-0541 c280b40a bbit1 1 ,app_enter_hibernate 
-0542 c3000545 bbit0 0 ,p_mouse_adc_no_low_voltage 
-0543 704afd01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-0544 202043e7 branch mouse_adc_low_voltage 
+0524 7046ce0a jam 10 ,mem_adc_read_timer 
+0525 20400548 call p_adc_set_mode 
+0526 20406908 call vdd_calculate_by_mode 
+0527 1feffe02 mul32 pdata ,2 ,pdata 
+0528 d8400012 arg 0x12 ,temp 
+0529 98467e00 isub temp ,pdata 
+052a 1fe67c6e sub pdata ,0x6e ,null 
+052b 24410546 ncall p_mouse_vlotage_add ,positive 
+052c 68094bb6 fetcht 2 ,mem_mouse_vdd_add 
+052d 98408400 iadd temp ,temp 
+052e 60094bb6 storet 2 ,mem_mouse_vdd_add 
+052f 6800cbb5 fetch 1 ,mem_adc_check_count 
+0530 1fe0fe01 pincrease 1 
+0531 6000cbb5 store 1 ,mem_adc_check_count 
+0532 c1820000 rtnne 4 
+0533 1846fc04 div temp ,4 
+0534 20407f86 call wait_div_end 
+0535 18078400 quotient temp 
+0536 6009470f storet 2 ,mem_mouse_vdd_now_vol 
+0537 704bb500 jam 0 ,mem_adc_check_count 
+0538 58000000 setarg 0 
+0539 60014bb6 store 2 ,mem_mouse_vdd_add 
+053a da204709 arg mem_mouse_vdd_calculate_set ,rega 
+053b 2040054f call p_adc_bat_percent_lowpower_out 
+053c 6800c231 fetch 1 ,mem_adc_power_flag 
+053d c280b40a bbit1 1 ,app_enter_hibernate 
+053e c3000541 bbit0 0 ,p_mouse_adc_no_low_voltage 
+053f 704afd01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0540 202043e7 branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-0545 204043e9 call mouse_adc_no_low_voltage 
-0546 6800cafd fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-0547 207a0000 rtn blank 
-0548 704afd00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-0549 2020050a branch p_mouse_multi_led_off 
+0541 204043e9 call mouse_adc_no_low_voltage 
+0542 6800cafd fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0543 207a0000 rtn blank 
+0544 704afd00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0545 20200500 branch p_mouse_multi_led_off 
 
 p_mouse_vlotage_add:
-054a 1fe0fe0e add pdata ,0x0e ,pdata 
-054b 20600000 rtn 
+0546 1fe0fe0e add pdata ,0x0e ,pdata 
+0547 20600000 rtn 
 
 p_adc_set_mode:
 
 p_adc_check_gpio:
-054c 6808cb25 fetcht 1 ,mem_mouse_multi_led_gpio 
-054d 204067fb call gpio_config_input 
-054e 6810807c hfetch 1 ,core_gpio_pd0 
-054f 793ffe05 set0 5 ,pdata 
-0550 6010807c hstore 1 ,core_gpio_pd0 
-0551 68108078 hfetch 1 ,core_gpio_pu0 
-0552 793ffe05 set0 5 ,pdata 
-0553 60108078 hstore 1 ,core_gpio_pu0 
-0554 202068f4 branch adc_check_gpio 
+0548 6810807c hfetch 1 ,core_gpio_pd0 
+0549 793ffe05 set0 5 ,pdata 
+054a 6010807c hstore 1 ,core_gpio_pd0 
+054b 68108078 hfetch 1 ,core_gpio_pu0 
+054c 793ffe05 set0 5 ,pdata 
+054d 60108078 hstore 1 ,core_gpio_pu0 
+054e 202068f4 branch adc_check_gpio 
 
 p_adc_bat_percent_lowpower_out:
-0555 ea240000 ifetch 8 ,rega 
-0556 60040a9a store 8 ,mem_pdatatemp 
-0557 68090a9c fetcht 2 ,mem_pdatatemp + 2 
-0558 68010aa0 fetch 2 ,mem_pdatatemp + 6 
-0559 98467c00 isub temp ,null 
-055a 24216944 nbranch adc_set_no_power_flag ,positive 
-055b 68090a9e fetcht 2 ,mem_pdatatemp + 4 
-055c 98467c00 isub temp ,null 
-055d 24216940 nbranch adc_set_low_power_flag ,positive 
+054f ea240000 ifetch 8 ,rega 
+0550 60040a9a store 8 ,mem_pdatatemp 
+0551 68090a9c fetcht 2 ,mem_pdatatemp + 2 
+0552 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+0553 98467c00 isub temp ,null 
+0554 24216944 nbranch adc_set_no_power_flag ,positive 
+0555 68090a9e fetcht 2 ,mem_pdatatemp + 4 
+0556 98467c00 isub temp ,null 
+0557 24216940 nbranch adc_set_low_power_flag ,positive 
 
 p_adc_clear_low_power_flag:
-055e 6800c231 fetch 1 ,mem_adc_power_flag 
-055f 793ffe00 set0 0 ,pdata 
-0560 6000c231 store 1 ,mem_adc_power_flag 
-0561 20600000 rtn 
+0558 6800c231 fetch 1 ,mem_adc_power_flag 
+0559 793ffe00 set0 0 ,pdata 
+055a 6000c231 store 1 ,mem_adc_power_flag 
+055b 20600000 rtn 
 
 p_mouse_low_voltage_led_timer:
-0562 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-0563 c4020000 rtnbit0 mouse_low_voltage_flag 
-0564 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0565 1fe0fe01 pincrease 1 
-0566 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
-0567 1fe67c1e sub pdata ,30 ,null 
-0568 2441056c ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-0569 1fe67c05 sub pdata ,5 ,null 
-056a 202104f9 branch p_mouse_multi_led_on ,positive 
-056b 2020050a branch p_mouse_multi_led_off 
+055c 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+055d c4020000 rtnbit0 mouse_low_voltage_flag 
+055e 6800cb24 fetch 1 ,mem_mouse_multi_led_blink_enable 
+055f c0008568 beq on ,p_mouse_adc_low_volatage_led_timer_count_clean 
+0560 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0561 1fe0fe01 pincrease 1 
+0562 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
+0563 1fe67c1e sub pdata ,30 ,null 
+0564 24410568 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+0565 1fe67c19 sub pdata ,25 ,null 
+0566 20210500 branch p_mouse_multi_led_off ,positive 
+0567 202004f9 branch p_mouse_multi_led_on 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-056c 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
-056d 20600000 rtn 
+0568 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
+0569 20600000 rtn 
 
 p_mouse_sensor_poweron:
-056e 2040030a call p_mouse_spi_init 
-056f 58008006 setarg 0x8006 
-0570 20406413 call twspi_write 
-0571 20002ee0 nop 12000 
-0572 da604ba0 arg mem_sensor_poweron_init ,regc 
-0573 204002d6 call p_sensor_wr_seq 
+056a 2040030a call p_mouse_spi_init 
+056b 58008006 setarg 0x8006 
+056c 20406413 call twspi_write 
+056d 20002ee0 nop 12000 
+056e da604ba0 arg mem_sensor_poweron_init ,regc 
+056f 204002d6 call p_sensor_wr_seq 
 
 p_mouse_dpi_config:
-0574 6800c77a fetch 1 ,mem_mouse_dpi 
-0575 c0ff8578 bne 0xff ,p_mouse_seting_dpi 
+0570 6800c77a fetch 1 ,mem_mouse_dpi 
+0571 c0ff8574 bne 0xff ,p_mouse_seting_dpi 
 
 p_mouse_dpi_config_default:
-0576 6800c6e1 fetch 1 ,mem_config_sensor_motion 
-0577 6000c77a store 1 ,mem_mouse_dpi 
+0572 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+0573 6000c77a store 1 ,mem_mouse_dpi 
 
 p_mouse_seting_dpi:
 
 p_mouse_seting_sensor_type:
 
 p_mouse_seting_320x_dpi:
-0578 6800c77a fetch 1 ,mem_mouse_dpi 
-0579 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-057a 20428586 call p_mouse_320x_dpi_recount ,zero 
-057b 6800c77a fetch 1 ,mem_mouse_dpi 
-057c c0000588 beq mouse_dpi_level1 ,p_mouse_set_cpi1 
-057d c001858f beq mouse_dpi_level4 ,p_mouse_set_cpi4 
+0574 6800c77a fetch 1 ,mem_mouse_dpi 
+0575 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+0576 20428582 call p_mouse_320x_dpi_recount ,zero 
+0577 6800c77a fetch 1 ,mem_mouse_dpi 
+0578 c0000584 beq mouse_dpi_level1 ,p_mouse_set_cpi1 
+0579 c001858b beq mouse_dpi_level4 ,p_mouse_set_cpi4 
 
 p_mouse_set_cpi3:
-057e 6800c6e0 fetch 1 ,mem_config_sensor_type 
-057f c0030596 beq p3065_xy ,p_mouse_3065xy_set_cpi3 
-0580 c0038596 beq mx8650 ,p_mouse_3065xy_set_cpi3 
-0581 c001059c beq ka8 ,p_mouse_ka8_set_cpi3 
-0582 c00485a5 beq s201x ,p_mouse_set_s201x_cpi2 
+057a 6800c6e0 fetch 1 ,mem_config_sensor_type 
+057b c0030592 beq p3065_xy ,p_mouse_3065xy_set_cpi3 
+057c c0038592 beq mx8650 ,p_mouse_3065xy_set_cpi3 
+057d c0010598 beq ka8 ,p_mouse_ka8_set_cpi3 
+057e c00485a1 beq s201x ,p_mouse_set_s201x_cpi2 
 
 p_mouse_320x_set_cpi3:
-0583 6800c781 fetch 1 ,mem_320x_dpi_3 
+057f 6800c781 fetch 1 ,mem_320x_dpi_3 
 
 p_mouse_dpi_store:
-0584 6000c6b5 store 1 ,mem_mouse_cpi_count 
-0585 20203dc1 branch mouse_p3205_dpi + 3 
+0580 6000c6b5 store 1 ,mem_mouse_cpi_count 
+0581 20203dc1 branch mouse_p3205_dpi + 3 
 
 p_mouse_320x_dpi_recount:
-0586 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
-0587 20600000 rtn 
+0582 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+0583 20600000 rtn 
 
 p_mouse_set_cpi1:
-0588 6800c6e0 fetch 1 ,mem_config_sensor_type 
-0589 c0030598 beq p3065_xy ,p_mouse_3065xy_set_cpi1 
-058a c0038598 beq mx8650 ,p_mouse_3065xy_set_cpi1 
-058b c001059f beq ka8 ,p_mouse_ka8_set_cpi1 
-058c c00485a3 beq s201x ,p_mouse_set_s201x_cpi1 
+0584 6800c6e0 fetch 1 ,mem_config_sensor_type 
+0585 c0030594 beq p3065_xy ,p_mouse_3065xy_set_cpi1 
+0586 c0038594 beq mx8650 ,p_mouse_3065xy_set_cpi1 
+0587 c001059b beq ka8 ,p_mouse_ka8_set_cpi1 
+0588 c004859f beq s201x ,p_mouse_set_s201x_cpi1 
 
 p_mouse_320x_set_cpi1:
-058d 6800c77f fetch 1 ,mem_320x_dpi_1 
-058e 20200584 branch p_mouse_dpi_store 
+0589 6800c77f fetch 1 ,mem_320x_dpi_1 
+058a 20200580 branch p_mouse_dpi_store 
 
 p_mouse_set_cpi4:
-058f 6800c6e0 fetch 1 ,mem_config_sensor_type 
-0590 c003059a beq p3065_xy ,p_mouse_3065xy_set_cpi4 
-0591 c003859a beq mx8650 ,p_mouse_3065xy_set_cpi4 
-0592 c00105a1 beq ka8 ,p_mouse_ka8_set_cpi4 
-0593 c00485a9 beq s201x ,p_mouse_set_s201x_cpi4 
+058b 6800c6e0 fetch 1 ,mem_config_sensor_type 
+058c c0030596 beq p3065_xy ,p_mouse_3065xy_set_cpi4 
+058d c0038596 beq mx8650 ,p_mouse_3065xy_set_cpi4 
+058e c001059d beq ka8 ,p_mouse_ka8_set_cpi4 
+058f c00485a5 beq s201x ,p_mouse_set_s201x_cpi4 
 
 p_mouse_320x_set_cpi4:
-0594 6800c782 fetch 1 ,mem_320x_dpi_4 
-0595 20200584 branch p_mouse_dpi_store 
+0590 6800c782 fetch 1 ,mem_320x_dpi_4 
+0591 20200580 branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi3:
-0596 6800cb38 fetch 1 ,mem_3065xy_dpi_3 
-0597 20200584 branch p_mouse_dpi_store 
+0592 6800cb38 fetch 1 ,mem_3065xy_dpi_3 
+0593 20200580 branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi1:
-0598 6800cb36 fetch 1 ,mem_3065xy_dpi_1 
-0599 20200584 branch p_mouse_dpi_store 
+0594 6800cb36 fetch 1 ,mem_3065xy_dpi_1 
+0595 20200580 branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi4:
-059a 6800cb39 fetch 1 ,mem_3065xy_dpi_4 
-059b 20200584 branch p_mouse_dpi_store 
+0596 6800cb39 fetch 1 ,mem_3065xy_dpi_4 
+0597 20200580 branch p_mouse_dpi_store 
 
 p_mouse_ka8_set_cpi3:
-059c 6800cb38 fetch 1 ,mem_3065xy_dpi_3 
+0598 6800cb38 fetch 1 ,mem_3065xy_dpi_3 
 
 p_mouse_ka8_dpi_store:
-059d 1fe0fe03 increase 3 ,pdata 
-059e 20200584 branch p_mouse_dpi_store 
+0599 1fe0fe03 increase 3 ,pdata 
+059a 20200580 branch p_mouse_dpi_store 
 
 p_mouse_ka8_set_cpi1:
-059f 6800cb36 fetch 1 ,mem_3065xy_dpi_1 
-05a0 2020059d branch p_mouse_ka8_dpi_store 
+059b 6800cb36 fetch 1 ,mem_3065xy_dpi_1 
+059c 20200599 branch p_mouse_ka8_dpi_store 
 
 p_mouse_ka8_set_cpi4:
-05a1 6800cb39 fetch 1 ,mem_3065xy_dpi_4 
-05a2 2020059d branch p_mouse_ka8_dpi_store 
+059d 6800cb39 fetch 1 ,mem_3065xy_dpi_4 
+059e 20200599 branch p_mouse_ka8_dpi_store 
 
 p_mouse_set_s201x_cpi1:
-05a3 7046b589 jam 0x89 ,mem_mouse_cpi_count 
-05a4 202005aa branch p_mouse_set_sensor_high_dpi 
+059f 7046b589 jam 0x89 ,mem_mouse_cpi_count 
+05a0 202005a6 branch p_mouse_set_sensor_high_dpi 
 
 p_mouse_set_s201x_cpi2:
-05a5 7046b58b jam 0x8b ,mem_mouse_cpi_count 
-05a6 202005aa branch p_mouse_set_sensor_high_dpi 
+05a1 7046b58b jam 0x8b ,mem_mouse_cpi_count 
+05a2 202005a6 branch p_mouse_set_sensor_high_dpi 
 
 p_mouse_set_s201x_cpi3:
-05a7 7046b582 jam 0x82 ,mem_mouse_cpi_count 
-05a8 202005aa branch p_mouse_set_sensor_high_dpi 
+05a3 7046b582 jam 0x82 ,mem_mouse_cpi_count 
+05a4 202005a6 branch p_mouse_set_sensor_high_dpi 
 
 p_mouse_set_s201x_cpi4:
-05a9 7046b583 jam 0x83 ,mem_mouse_cpi_count 
+05a5 7046b583 jam 0x83 ,mem_mouse_cpi_count 
 
 p_mouse_set_sensor_high_dpi:
-05aa 5800c309 setarg 0xc309 
+05a6 5800c309 setarg 0xc309 
+05a7 20406413 call twspi_write 
+05a8 6800c6b5 fetch 1 ,mem_mouse_cpi_count 
+05a9 1fed7e00 lshift8 pdata ,pdata 
+05aa 1fe0fe23 add pdata ,mouse_dpi_s201x_high_address ,pdata 
 05ab 20406413 call twspi_write 
-05ac 6800c6b5 fetch 1 ,mem_mouse_cpi_count 
-05ad 1fed7e00 lshift8 pdata ,pdata 
-05ae 1fe0fe23 add pdata ,mouse_dpi_s201x_high_address ,pdata 
-05af 20406413 call twspi_write 
-05b0 202040f4 branch mouse_sensor_enable_wp 
+05ac 202040f4 branch mouse_sensor_enable_wp 
 
 p_mouse_motion:
-05b1 78547c00 disable user 
-05b2 58000000 setarg 0 
-05b3 6003469b store 6 ,mem_mouse_x 
-05b4 204005dc call p_mouse_cheak_sensor_data 
-05b5 20404079 call mouse_zwheel 
-05b6 2040407e call mouse_t_zwheel 
-05b7 204005bc call p_mouse_key 
-05b8 24340768 nbranch p_drawing_optima_init ,user 
-05b9 2040075f call p_drawing_optima 
-05ba 20400416 call p_mouse_powerdown_sensor_timer_init 
-05bb 20203fa0 branch mouse_motion + 9 
+05ad 78547c00 disable user 
+05ae 58000000 setarg 0 
+05af 6003469b store 6 ,mem_mouse_x 
+05b0 204005d8 call p_mouse_cheak_sensor_data 
+05b1 20404079 call mouse_zwheel 
+05b2 2040407e call mouse_t_zwheel 
+05b3 204005b8 call p_mouse_key 
+05b4 24340766 nbranch p_drawing_optima_init ,user 
+05b5 2040075d call p_drawing_optima 
+05b6 20400416 call p_mouse_powerdown_sensor_timer_init 
+05b7 20203fa0 branch mouse_motion + 9 
 
 p_mouse_key:
-05bc 204005be call p_mouse_check_key_gpio 
-05bd 2020409a branch mouse_key + 1 
+05b8 204005ba call p_mouse_check_key_gpio 
+05b9 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-05be da200000 arg 0 ,rega 
-05bf 204005c1 call p_mouse_check_lkey_gpio 
-05c0 2020408e branch mouse_check_key_gpio_output 
+05ba da200000 arg 0 ,rega 
+05bb 204005bd call p_mouse_check_lkey_gpio 
+05bc 2020408e branch mouse_check_key_gpio_output 
 
 p_mouse_check_lkey_gpio:
-05c1 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-05c2 204005d1 call p_gpio_set_input_pu 
-05c3 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-05c4 2040681d call gpio_get_bit 
-05c5 7920a200 setflag true ,0 ,rega 
+05bd 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+05be 204005cd call p_gpio_set_input_pu 
+05bf 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+05c0 2040681d call gpio_get_bit 
+05c1 7920a200 setflag true ,0 ,rega 
 
 p_mouse_check_rkey_gpio:
-05c6 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-05c7 204005d1 call p_gpio_set_input_pu 
-05c8 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-05c9 2040681d call gpio_get_bit 
-05ca 7920a201 setflag true ,1 ,rega 
+05c2 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+05c3 204005cd call p_gpio_set_input_pu 
+05c4 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+05c5 2040681d call gpio_get_bit 
+05c6 7920a201 setflag true ,1 ,rega 
 
 p_mouse_check_mkey_gpio:
-05cb 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-05cc 204005d1 call p_gpio_set_input_pu 
-05cd 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-05ce 2040681d call gpio_get_bit 
-05cf 7920a202 setflag true ,2 ,rega 
-05d0 20600000 rtn 
+05c7 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+05c8 204005cd call p_gpio_set_input_pu 
+05c9 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+05ca 2040681d call gpio_get_bit 
+05cb 7920a202 setflag true ,2 ,rega 
+05cc 20600000 rtn 
 
 p_gpio_set_input_pu:
-05d1 79200407 set1 gpio_active_bit ,temp 
-05d2 d8a08078 arg core_gpio_pu0 ,contw 
-05d3 20406830 call gpio_set_bit 
-05d4 793f8407 set0 gpio_active_bit ,temp 
-05d5 202005da branch p_gpio_set_input_pd4 
+05cd 79200407 set1 gpio_active_bit ,temp 
+05ce d8a08078 arg core_gpio_pu0 ,contw 
+05cf 20406830 call gpio_set_bit 
+05d0 793f8407 set0 gpio_active_bit ,temp 
+05d1 202005d6 branch p_gpio_set_input_pd4 
 
 p_gpio_set_input_pd:
-05d6 793f8407 set0 gpio_active_bit ,temp 
-05d7 d8a08078 arg core_gpio_pu0 ,contw 
-05d8 20406830 call gpio_set_bit 
-05d9 79200407 set1 gpio_active_bit ,temp 
+05d2 793f8407 set0 gpio_active_bit ,temp 
+05d3 d8a08078 arg core_gpio_pu0 ,contw 
+05d4 20406830 call gpio_set_bit 
+05d5 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pd4:
-05da d8a0807c arg core_gpio_pd0 ,contw 
-05db 2020680a branch gpio_set_high_impedance + 4 
+05d6 d8a0807c arg core_gpio_pd0 ,contw 
+05d7 2020680a branch gpio_set_high_impedance + 4 
 
 p_mouse_cheak_sensor_data:
 
 p_mouse_p32xx_sensor_motion:
-05dc 20403fc0 call mouse_clear_sensor_data 
-05dd 78547c00 disable user 
-05de 20203fe7 branch mouse_p32xx_sensor_motion_2 
+05d8 20403fc0 call mouse_clear_sensor_data 
+05d9 78547c00 disable user 
+05da 20203fe7 branch mouse_p32xx_sensor_motion_2 
 
 p_mouse_bb_event_discovery_btn:
-05df 204004c7 call p_mouse_null_enter_hibernate_disable 
-05e0 280ffe26 isolate1 mark_24g ,mark 
-05e1 204081d9 call p_g24_check_51cmd_stop_24g ,true 
-05e2 2020426f branch mouse_bb_event_discovery_btn + 3 
+05db 204004c7 call p_mouse_null_enter_hibernate_disable 
+05dc 280ffe26 isolate1 mark_24g ,mark 
+05dd 204081d9 call p_g24_check_51cmd_stop_24g ,true 
+05de 2020426f branch mouse_bb_event_discovery_btn + 3 
 
 p_mouse_start_discovery:
-05e3 7011c630 jam zcode_30 ,mem_zcode_temp_param0 
-05e4 2020073e branch p_zcode_entrance 
+05df 7011c630 jam zcode_30 ,mem_zcode_temp_param0 
+05e0 2020073c branch p_zcode_entrance 
 
 p_mouse_stop_discovery:
-05e5 204003a5 call p_mouse_init_sensor_reset 
-05e6 204042cb call mouse_stop_discovery + 1 
-05e7 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
-05e8 1fe0ffff increase -1 
-05e9 247a0000 nrtn blank 
-05ea 20200528 branch p_mouse_discovey_led_blink_off 
+05e1 58000000 setarg 0 
+05e2 600146ac store 2 ,mem_mouse_discovery_timer 
+05e3 204003a5 call p_mouse_init_sensor_reset 
+05e4 204042cb call mouse_stop_discovery + 1 
+05e5 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
+05e6 1fe0ffff increase -1 
+05e7 247a0000 nrtn blank 
+05e8 20200516 branch p_mouse_discovey_led_blink_off 
 
 p_le_slave_match:
-05eb 6800c50f fetch 1 ,mem_le_md_count 
-05ec 1fe0fe01 pincrease 1 
-05ed 6000c50f store 1 ,mem_le_md_count 
-05ee c0065395 beq le_md_max_count ,le_slave_cont 
-05ef 204055aa call le_acknowledge 
-05f0 2040561e call le_prepare_tx 
-05f1 204006e3 call power_ctrl_start 
-05f2 2020538f branch le_slave_match + 7 
+05e9 6800c50f fetch 1 ,mem_le_md_count 
+05ea 1fe0fe01 pincrease 1 
+05eb 6000c50f store 1 ,mem_le_md_count 
+05ec c0065395 beq le_md_max_count ,le_slave_cont 
+05ed 204055aa call le_acknowledge 
+05ee 2040561e call le_prepare_tx 
+05ef 204006e1 call power_ctrl_start 
+05f0 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-05f3 68008016 fetch 1 ,mem_le_ch_mapped 
-05f4 1fe0fe01 increase 1 ,pdata 
-05f5 60008016 store 1 ,mem_le_ch_mapped 
-05f6 c1940000 rtnne 40 
-05f7 70001625 jam 37 ,mem_le_ch_mapped 
-05f8 20600000 rtn 
+05f1 68008016 fetch 1 ,mem_le_ch_mapped 
+05f2 1fe0fe01 increase 1 ,pdata 
+05f3 60008016 store 1 ,mem_le_ch_mapped 
+05f4 c1940000 rtnne 40 
+05f5 70001625 jam 37 ,mem_le_ch_mapped 
+05f6 20600000 rtn 
 
 p_le_receive_skip:
-05f9 204029bb call save_rssi 
-05fa 2040023f call p_rssi_signal 
-05fb 202054a3 branch le_receive_skip + 2 
+05f7 204029bb call save_rssi 
+05f8 2040023f call p_rssi_signal 
+05f9 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-05fc 7011c620 jam zcode_20 ,mem_zcode_temp_param0 
-05fd 2020073e branch p_zcode_entrance 
+05fa 7011c620 jam zcode_20 ,mem_zcode_temp_param0 
+05fb 2020073c branch p_zcode_entrance 
 
 p_le_update_channel_map:
-05fe 7011c621 jam zcode_21 ,mem_zcode_temp_param0 
-05ff 2020073e branch p_zcode_entrance 
+05fc 7011c621 jam zcode_21 ,mem_zcode_temp_param0 
+05fd 2020073c branch p_zcode_entrance 
 
 p_le_prepare_tx:
-0600 68008456 fetch 1 ,mem_le_arq 
-0601 c2828620 bbit1 wak ,p_le_prepare_tx_wak 
-0602 204006dd call power_ctrl_pac_succ_incrs 
-0603 6800c78e fetch 1 ,mem_empty_count 
-0604 243a060a nbranch p_le_send_empyt ,blank 
-0605 6800843f fetch 1 ,mem_le_state 
-0606 c302060e bbit0 lestate_encryption ,p_le_tx_4 
-0607 680082da fetch 1 ,mem_le_rxbuf + 1 
-0608 203a060e branch p_le_tx_4 ,blank 
-0609 20205664 branch le_send_empty 
+05fe 68008456 fetch 1 ,mem_le_arq 
+05ff c282861e bbit1 wak ,p_le_prepare_tx_wak 
+0600 204006db call power_ctrl_pac_succ_incrs 
+0601 6800c78e fetch 1 ,mem_empty_count 
+0602 243a0608 nbranch p_le_send_empyt ,blank 
+0603 6800843f fetch 1 ,mem_le_state 
+0604 c302060c bbit0 lestate_encryption ,p_le_tx_4 
+0605 680082da fetch 1 ,mem_le_rxbuf + 1 
+0606 203a060c branch p_le_tx_4 ,blank 
+0607 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-060a 6800c78e fetch 1 ,mem_empty_count 
-060b 1fe0ffff increase -1 ,pdata 
-060c 6000c78e store 1 ,mem_empty_count 
-060d 20205664 branch le_send_empty 
+0608 6800c78e fetch 1 ,mem_empty_count 
+0609 1fe0ffff increase -1 ,pdata 
+060a 6000c78e store 1 ,mem_empty_count 
+060b 20205664 branch le_send_empty 
 
 p_le_tx_4:
-060e 6800c4c4 fetch 1 ,mem_le_pairing_state 
-060f c0828611 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-0610 70478e03 jam 3 ,mem_empty_count 
+060c 6800c4c4 fetch 1 ,mem_le_pairing_state 
+060d c082860f bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+060e 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-0611 20405892 call le_fifo_check_nearly_full 
-0612 205a0391 call p_mouse_data_pull ,blank 
-0613 20205622 branch le_prepare_tx + 4 
+060f 20405892 call le_fifo_check_nearly_full 
+0610 205a0391 call p_mouse_data_pull ,blank 
+0611 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
-0614 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0615 1fe17e03 and pdata ,0x03 ,pdata 
-0616 c1818000 rtnne 0x03 
-0617 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+0612 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0613 1fe17e03 and pdata ,0x03 ,pdata 
+0614 c1818000 rtnne 0x03 
+0615 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+0616 207a0000 rtn blank 
+0617 6800c3dd fetch 1 ,mem_le_txlen 
 0618 207a0000 rtn blank 
-0619 6800c3dd fetch 1 ,mem_le_txlen 
-061a 207a0000 rtn blank 
-061b 6800c3dc fetch 1 ,mem_le_txheader 
-061c 79207e04 set1 md ,pdata 
-061d 6000c3dc store 1 ,mem_le_txheader 
-061e 20405650 call le_set_md 
-061f 20600000 rtn 
+0619 6800c3dc fetch 1 ,mem_le_txheader 
+061a 79207e04 set1 md ,pdata 
+061b 6000c3dc store 1 ,mem_le_txheader 
+061c 20405650 call le_set_md 
+061d 20600000 rtn 
 
 p_le_prepare_tx_wak:
-0620 20400614 call p_le_check_tx_retransmit_setmd 
+061e 20400612 call p_le_check_tx_retransmit_setmd 
 
 p_le_power_ctrl_pac_succ_decrs:
 
 power_ctrl_pac_succ_decrs:
-0621 6800cd74 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0622 1fe67c02 sub pdata ,2 ,null 
-0623 244106e1 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-0624 6800cd74 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0625 c1000000 rtneq 0 
-0626 1fe0ffff increase -1 ,pdata 
-0627 6000cd74 store 1 ,mem_power_ctrl_pac_succ_cnt 
-0628 20600000 rtn 
+061f 6800cd77 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0620 1fe67c02 sub pdata ,2 ,null 
+0621 244106df ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+0622 6800cd77 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0623 c1000000 rtneq 0 
+0624 1fe0ffff increase -1 ,pdata 
+0625 6000cd77 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0626 20600000 rtn 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-0629 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-062a 207a0000 rtn blank 
-062b 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-062c 1fe17e03 and pdata ,0x03 ,pdata 
-062d c1018000 rtneq 0x03 
-062e 7046c602 jam 2 ,mem_le_start_encrypt_timer 
-062f 20600000 rtn 
+0627 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+0628 207a0000 rtn blank 
+0629 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+062a 1fe17e03 and pdata ,0x03 ,pdata 
+062b c1018000 rtneq 0x03 
+062c 7046c602 jam 2 ,mem_le_start_encrypt_timer 
+062d 20600000 rtn 
 
 p_le_parse:
-0630 c6078000 rtnmark1 mark_old_packet 
-0631 20405890 call le_fifo_check_full 
-0632 247a0000 nrtn blank 
-0633 680082d9 fetch 1 ,mem_le_rxbuf 
-0634 1fe17e03 and pdata ,0x3 ,pdata 
-0635 6000c50c store 1 ,mem_le_packet_llid 
-0636 e8c08000 ifetch 1 ,contr 
-0637 1fe17e1f and pdata ,0x1f ,pdata 
-0638 6000c50b store 1 ,mem_le_packet_size 
-0639 207a0000 rtn blank 
-063a 18c27e00 copy contr ,pdata 
-063b 6001450d store 2 ,mem_le_payload_ptr 
-063c 6800c50c fetch 1 ,mem_le_packet_llid 
-063d c001863f beq llid_le_ll ,p_le_parse_ll 
-063e 2020568d branch le_parse_l2cap 
+062e c6078000 rtnmark1 mark_old_packet 
+062f 20405890 call le_fifo_check_full 
+0630 247a0000 nrtn blank 
+0631 680082d9 fetch 1 ,mem_le_rxbuf 
+0632 1fe17e03 and pdata ,0x3 ,pdata 
+0633 6000c50c store 1 ,mem_le_packet_llid 
+0634 e8c08000 ifetch 1 ,contr 
+0635 1fe17e1f and pdata ,0x1f ,pdata 
+0636 6000c50b store 1 ,mem_le_packet_size 
+0637 207a0000 rtn blank 
+0638 18c27e00 copy contr ,pdata 
+0639 6001450d store 2 ,mem_le_payload_ptr 
+063a 6800c50c fetch 1 ,mem_le_packet_llid 
+063b c001863d beq llid_le_ll ,p_le_parse_ll 
+063c 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-063f 680082db fetch 1 ,mem_le_rxbuf + 2 
-0640 c0000643 beq ll_connection_update_req ,p_le_parse_connection_update_req 
-0641 c000864a beq ll_channel_map_req ,p_le_parse_channel_map_req 
-0642 20205c65 branch le_parse_ll + 1 
+063d 680082db fetch 1 ,mem_le_rxbuf + 2 
+063e c0000641 beq ll_connection_update_req ,p_le_parse_connection_update_req 
+063f c0008648 beq ll_channel_map_req ,p_le_parse_channel_map_req 
+0640 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_connection_update_req:
-0643 20405c7b call le_parse_connection_update_req 
-0644 6800cb61 fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
-0645 207a0000 rtn blank 
+0641 20405c7b call le_parse_connection_update_req 
+0642 6800cb61 fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
+0643 207a0000 rtn blank 
 
 p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset:
-0646 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0647 6000c172 store 1 ,mem_lpm_mult 
-0648 6000c7c3 store 1 ,mem_lpm_mult_init 
-0649 20600000 rtn 
+0644 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0645 6000c172 store 1 ,mem_lpm_mult 
+0646 6000c7c3 store 1 ,mem_lpm_mult_init 
+0647 20600000 rtn 
 
 p_le_parse_channel_map_req:
-064a e8c28000 ifetch 5 ,contr 
-064b 6002c3ce store 5 ,mem_le_new_map 
-064c e8c10000 ifetch 2 ,contr 
-064d 6001045f store 2 ,mem_le_instant 
-064e 20205c8a branch le_parse_channel_map_req + 7 
+0648 e8c28000 ifetch 5 ,contr 
+0649 6002c3ce store 5 ,mem_le_new_map 
+064a e8c10000 ifetch 2 ,contr 
+064b 6001045f store 2 ,mem_le_instant 
+064c 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-064f e8c10000 ifetch 2 ,contr 
-0650 c0020653 beq le_l2cap_cid_att ,p_le_parse_att 
-0651 c0030690 beq le_l2cap_cid_smp ,p_le_parse_smp 
-0652 20205698 branch le_parse_l2cap + 11 
+064d e8c10000 ifetch 2 ,contr 
+064e c0020651 beq le_l2cap_cid_att ,p_le_parse_att 
+064f c003068e beq le_l2cap_cid_smp ,p_le_parse_smp 
+0650 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-0653 20407ea5 call store_contr 
-0654 20400629 call p_mouse_le_reconn_write_enable_timer_reinit 
-0655 20407e9f call get_contr 
-0656 e8c18000 ifetch 3 ,contr 
-0657 60018477 store 3 ,mem_le_att_opcode 
-0658 c0080662 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-0659 1fec8400 rshift8 pdata ,temp 
-065a 18467c24 sub temp ,0x24 ,null 
-065b 20210670 branch p_le_parse_att1 ,positive 
-065c d84047c4 arg mem_mouse_le_uuid_sup ,temp 
-065d 600944bc storet 2 ,mem_ui_le_uuid_table 
-065e 204058ad call le_parse_att + 2 
-065f 58008e7a setarg 0x8e7a 
-0660 600144bc store 2 ,mem_ui_le_uuid_table 
-0661 20600000 rtn 
+0651 20407ea5 call store_contr 
+0652 20400627 call p_mouse_le_reconn_write_enable_timer_reinit 
+0653 20407e9f call get_contr 
+0654 e8c18000 ifetch 3 ,contr 
+0655 60018477 store 3 ,mem_le_att_opcode 
+0656 c0080660 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+0657 1fec8400 rshift8 pdata ,temp 
+0658 18467c24 sub temp ,0x24 ,null 
+0659 2021066e branch p_le_parse_att1 ,positive 
+065a d84047c4 arg mem_mouse_le_uuid_sup ,temp 
+065b 600944bc storet 2 ,mem_ui_le_uuid_table 
+065c 204058ad call le_parse_att + 2 
+065d 58008e7a setarg 0x8e7a 
+065e 600144bc store 2 ,mem_ui_le_uuid_table 
+065f 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-0662 204059fa call le_parse_att_read_by_group_type_request 
-0663 20405879 call le_fifo_get_last_tx_ptr 
-0664 18c08c07 increase 7 ,contr 
-0665 e8c08000 ifetch 1 ,contr 
-0666 c1888000 rtnne attop_read_by_group_type_response 
-0667 18c08c05 increase 5 ,contr 
-0668 e8c10000 ifetch 2 ,contr 
-0669 d8401812 arg uuid_service_hids ,temp 
-066a 98467c00 isub temp ,null 
-066b 24628000 nrtn zero 
-066c 18c08dfc increase -4 ,contr 
-066d 5800002b setarg 0x2b 
-066e e0c10000 istore 2 ,contr 
-066f 20600000 rtn 
+0660 204059fa call le_parse_att_read_by_group_type_request 
+0661 20405879 call le_fifo_get_last_tx_ptr 
+0662 18c08c07 increase 7 ,contr 
+0663 e8c08000 ifetch 1 ,contr 
+0664 c1888000 rtnne attop_read_by_group_type_response 
+0665 18c08c05 increase 5 ,contr 
+0666 e8c10000 ifetch 2 ,contr 
+0667 d8401812 arg uuid_service_hids ,temp 
+0668 98467c00 isub temp ,null 
+0669 24628000 nrtn zero 
+066a 18c08dfc increase -4 ,contr 
+066b 5800002b setarg 0x2b 
+066c e0c10000 istore 2 ,contr 
+066d 20600000 rtn 
 
 p_le_parse_att1:
-0670 c0050672 beq attop_read_request ,p_le_parse_att_read_request 
-0671 202058ad branch le_parse_att + 2 
+066e c0050670 beq attop_read_request ,p_le_parse_att_read_request 
+066f 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0672 68090478 fetcht 2 ,mem_le_att_handle 
-0673 6800c4e9 fetch 1 ,mem_le_configuration 
-0674 c281868a bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0670 68090478 fetcht 2 ,mem_le_att_handle 
+0671 6800c4e9 fetch 1 ,mem_le_configuration 
+0672 c2818688 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0675 2040576a call le_att_get_handle_ptr 
-0676 203a5a76 branch le_send_att_error_response_notfound ,blank 
-0677 18c08dfe increase -2 ,contr 
-0678 e8c10000 ifetch 2 ,contr 
-0679 d8402a50 arg uuid_chrctr_pnp_id ,temp 
-067a 98467c00 isub temp ,null 
-067b 20228680 branch p_le_send_att_pnp_id ,zero 
-067c 68010478 fetch 2 ,mem_le_att_handle 
-067d c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-067e 68090478 fetcht 2 ,mem_le_att_handle 
-067f 202059bf branch le_send_att_read_response 
+0673 2040576a call le_att_get_handle_ptr 
+0674 203a5a76 branch le_send_att_error_response_notfound ,blank 
+0675 18c08dfe increase -2 ,contr 
+0676 e8c10000 ifetch 2 ,contr 
+0677 d8402a50 arg uuid_chrctr_pnp_id ,temp 
+0678 98467c00 isub temp ,null 
+0679 2022867e branch p_le_send_att_pnp_id ,zero 
+067a 68010478 fetch 2 ,mem_le_att_handle 
+067b c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+067c 68090478 fetcht 2 ,mem_le_att_handle 
+067d 202059bf branch le_send_att_read_response 
 
 p_le_send_att_pnp_id:
-0680 20407ea5 call store_contr 
-0681 6800cb3a fetch 1 ,mem_le_att_pnp_id_len 
-0682 1fe0a201 add pdata ,1 ,rega 
-0683 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
-0684 5800000b setarg attop_read_response 
-0685 e0a08000 istore 1 ,contw 
-0686 6800cb3a fetch 1 ,mem_le_att_pnp_id_len 
-0687 1fe27200 copy pdata ,loopcnt 
-0688 d8c04b3b arg mem_le_att_pnp_id ,contr 
-0689 20207f01 branch memcpy 
+067e 20407ea5 call store_contr 
+067f 6800cb3a fetch 1 ,mem_le_att_pnp_id_len 
+0680 1fe0a201 add pdata ,1 ,rega 
+0681 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+0682 5800000b setarg attop_read_response 
+0683 e0a08000 istore 1 ,contw 
+0684 6800cb3a fetch 1 ,mem_le_att_pnp_id_len 
+0685 1fe27200 copy pdata ,loopcnt 
+0686 d8c04b3b arg mem_le_att_pnp_id ,contr 
+0687 20207f01 branch memcpy 
 
 p_le_send_att_read_response_check_auth:
-068a 680144fa fetch 2 ,mem_le_pairing_handle 
-068b 98467c00 isub temp ,null 
-068c 24228675 nbranch p_le_send_att_read_response ,zero 
-068d 20405a42 call le_check_encrypt_state 
-068e 24340675 nbranch p_le_send_att_read_response ,user 
-068f 202059e2 branch le_send_att_read_response_check_auth + 5 
+0688 680144fa fetch 2 ,mem_le_pairing_handle 
+0689 98467c00 isub temp ,null 
+068a 24228673 nbranch p_le_send_att_read_response ,zero 
+068b 20405a42 call le_check_encrypt_state 
+068c 24340673 nbranch p_le_send_att_read_response ,user 
+068d 202059e2 branch le_send_att_read_response_check_auth + 5 
 
 p_le_parse_smp:
-0690 e8c08000 ifetch 1 ,contr 
-0691 c0008694 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-0692 c0028696 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-0693 20205af5 branch le_parse_smp + 1 
+068e e8c08000 ifetch 1 ,contr 
+068f c0008692 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+0690 c0028694 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0691 20205af5 branch le_parse_smp + 1 
 
 p_le_parse_smp_pairing_request:
-0694 704b6e01 jam 1 ,mem_le_send_security_request_flag 
-0695 20205b09 branch le_parse_smp_pairing_request 
+0692 704b6e01 jam 1 ,mem_le_send_security_request_flag 
+0693 20205b09 branch le_parse_smp_pairing_request 
 
 p_le_parse_smp_pairing_failed:
-0696 7011c682 jam zcode_82 ,mem_zcode_temp_param0 
-0697 2020073e branch p_zcode_entrance 
+0694 7011c682 jam zcode_82 ,mem_zcode_temp_param0 
+0695 2020073c branch p_zcode_entrance 
 
 p_le_adv_not_match:
-0698 68008016 fetch 1 ,mem_le_ch_mapped 
-0699 c093d6f2 bne 39 ,le_adv_loop 
-069a 2040069e call p_le_adv_random_delay 
-069b d8e00000 arg le_adv_interval_timer ,queue 
-069c 68014482 fetch 2 ,mem_le_adv_interval 
-069d 20207f08 branch timer_init 
+0696 68008016 fetch 1 ,mem_le_ch_mapped 
+0697 c093d6f2 bne 39 ,le_adv_loop 
+0698 2040069c call p_le_adv_random_delay 
+0699 d8e00000 arg le_adv_interval_timer ,queue 
+069a 68014482 fetch 2 ,mem_le_adv_interval 
+069b 20207f08 branch timer_init 
 
 p_le_adv_random_delay:
-069e 180a7e00 random pdata 
-069f d84001ff arg 0x1ff ,temp 
-06a0 98417e00 iand temp ,pdata 
-06a1 1fe0fefa add pdata ,250 ,pdata 
-06a2 20203cbe branch delay 
+069c 180a7e00 random pdata 
+069d d84001ff arg 0x1ff ,temp 
+069e 98417e00 iand temp ,pdata 
+069f 1fe0fefa add pdata ,250 ,pdata 
+06a0 20203cbe branch delay 
 
 p_le_lpm_setmult:
-06a3 7855fc00 disable wake 
-06a4 203706a6 branch p_le_lpm_set_mult_attempt ,attempt 
-06a5 2436d806 nbranch le_lpm_lost ,match 
+06a1 7855fc00 disable wake 
+06a2 203706a4 branch p_le_lpm_set_mult_attempt ,attempt 
+06a3 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-06a6 20402bcb call lpm_match 
-06a7 680140c1 fetch 2 ,mem_rx_window_sniff 
-06a8 6001044d store 2 ,mem_le_receive_window 
-06a9 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-06aa 2fe00603 compare 3 ,pdata ,3 
-06ab 2420abde nbranch lpm_mult_short ,true 
-06ac 202057fb branch le_lpm_set_mult_attempt + 3 
+06a4 20402bcb call lpm_match 
+06a5 680140c1 fetch 2 ,mem_rx_window_sniff 
+06a6 6001044d store 2 ,mem_le_receive_window 
+06a7 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+06a8 2fe00603 compare 3 ,pdata ,3 
+06a9 2420abde nbranch lpm_mult_short ,true 
+06aa 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-06ad 7011c622 jam zcode_22 ,mem_zcode_temp_param0 
-06ae 2020073e branch p_zcode_entrance 
+06ab 7011c622 jam zcode_22 ,mem_zcode_temp_param0 
+06ac 2020073c branch p_zcode_entrance 
 
 p_twspi_reset:
-06af 68108077 hfetch 1 ,core_gpio_out3 
-06b0 1fe17efd and_into 0xfd ,pdata 
-06b1 60108077 hstore 1 ,core_gpio_out3 
-06b2 68188073 hfetcht 1 ,core_gpio_oe3 
-06b3 18418402 or_into 0x2 ,temp 
-06b4 60188073 hstoret 1 ,core_gpio_oe3 
-06b5 204063ee call twspi_disable 
-06b6 184104fd and_into 0xfd ,temp 
-06b7 2000000d nop 13 
-06b8 204006bc call p_twspi_enable 
-06b9 60188073 hstoret 1 ,core_gpio_oe3 
-06ba 20600000 rtn 
+06ad 68108077 hfetch 1 ,core_gpio_out3 
+06ae 1fe17efd and_into 0xfd ,pdata 
+06af 60108077 hstore 1 ,core_gpio_out3 
+06b0 68188073 hfetcht 1 ,core_gpio_oe3 
+06b1 18418402 or_into 0x2 ,temp 
+06b2 60188073 hstoret 1 ,core_gpio_oe3 
+06b3 204063ee call twspi_disable 
+06b4 184104fd and_into 0xfd ,temp 
+06b5 2000000d nop 13 
+06b6 204006ba call p_twspi_enable 
+06b7 60188073 hstoret 1 ,core_gpio_oe3 
+06b8 20600000 rtn 
 
 p_spid_init:
-06bb 204064dd call spid_init_common 
+06b9 204064dd call spid_init_common 
 
 p_twspi_enable:
-06bc 68108081 hfetch 1 ,core_gpio_sel1 
-06bd 79207e00 set1 0 ,pdata 
-06be 793ffe01 set0 1 ,pdata 
-06bf 793ffe03 set0 3 ,pdata 
-06c0 60108081 hstore 1 ,core_gpio_sel1 
-06c1 20600000 rtn 
+06ba 68108081 hfetch 1 ,core_gpio_sel1 
+06bb 79207e00 set1 0 ,pdata 
+06bc 793ffe01 set0 1 ,pdata 
+06bd 793ffe03 set0 3 ,pdata 
+06be 60108081 hstore 1 ,core_gpio_sel1 
+06bf 20600000 rtn 
 
 p_check_51cmd_once_continue:
-06c2 204062bc call lmo_fifo_check 
-06c3 243a7ddb nbranch check_51cmd_restore ,blank 
-06c4 68008a99 fetch 1 ,mem_fifo_temp 
-06c5 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06c6 c00f86ca beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
-06c7 c01006cd beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
-06c8 c00906d7 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-06c9 20207dca branch check_51cmd_once_continue + 2 
+06c0 204062bc call lmo_fifo_check 
+06c1 243a7ddb nbranch check_51cmd_restore ,blank 
+06c2 68008a99 fetch 1 ,mem_fifo_temp 
+06c3 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+06c4 c00f86c8 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
+06c5 c01006cb beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
+06c6 c00906d5 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+06c7 20207dca branch check_51cmd_once_continue + 2 
 
 p_flash_store_le_reconn_info:
-06ca 70018534 jam rec_4_mode ,mem_record_bt_mode 
-06cb 6803044f fetch 6 ,mem_le_plap 
-06cc 202006cf branch p_flash_store_reconn_info 
+06c8 70018534 jam rec_4_mode ,mem_record_bt_mode 
+06c9 6803044f fetch 6 ,mem_le_plap 
+06ca 202006cd branch p_flash_store_reconn_info 
 
 p_flash_store_bd_reconn_info:
-06cd 70018533 jam rec_3_mode ,mem_record_bt_mode 
-06ce 68030040 fetch 6 ,mem_plap 
+06cb 70018533 jam rec_3_mode ,mem_record_bt_mode 
+06cc 68030040 fetch 6 ,mem_plap 
 
 p_flash_store_reconn_info:
-06cf 60030186 store 6 ,mem_temp_lap 
+06cd 60030186 store 6 ,mem_temp_lap 
 
 p_mouse_store_remote_bdaddr:
-06d0 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-06d1 c4038000 rtnbit0 mouse_store_eeprom_flag 
-06d2 d8e00007 arg mouse_store_eeprom_flag ,queue 
-06d3 204043d2 call mouse_disable_function_flag 
-06d4 204042e8 call mouse_check_device_addr 
+06ce 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+06cf c4038000 rtnbit0 mouse_store_eeprom_flag 
+06d0 d8e00007 arg mouse_store_eeprom_flag ,queue 
+06d1 204043d2 call mouse_disable_function_flag 
+06d2 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-06d5 204042fb call mouse_before_store_reconn_info 
-06d6 202002fc branch p_mouse_store_flash_device_info 
+06d3 204042fb call mouse_before_store_reconn_info 
+06d4 202002fc branch p_mouse_store_flash_device_info 
 
 p_check_51cmd_ble_update_connect_param:
-06d7 20405890 call le_fifo_check_full 
-06d8 247a0000 nrtn blank 
-06d9 20205abf branch le_l2cap_tx_update_req 
+06d5 20405890 call le_fifo_check_full 
+06d6 247a0000 nrtn blank 
+06d7 20205abf branch le_l2cap_tx_update_req 
 
 power_ctrl_pac_succ_cnt_init:
-06da 704d7701 jam 1 ,mem_power_ctrl_level 
-06db 704d7400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-06dc 20600000 rtn 
+06d8 704d7a01 jam 1 ,mem_power_ctrl_level 
+06d9 704d7700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06da 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-06dd 6800cd74 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06de 1fe0fe01 increase 1 ,pdata 
-06df 6000cd74 store 1 ,mem_power_ctrl_pac_succ_cnt 
-06e0 20600000 rtn 
+06db 6800cd77 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06dc 1fe0fe01 increase 1 ,pdata 
+06dd 6000cd77 store 1 ,mem_power_ctrl_pac_succ_cnt 
+06de 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-06e1 704d7403 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-06e2 20600000 rtn 
+06df 704d7703 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+06e0 20600000 rtn 
 
 power_ctrl_start:
-06e3 68014682 fetch 2 ,mem_ui_state_map 
-06e4 c3858000 rtnbit1 ui_state_ble_adv 
-06e5 c3838000 rtnbit1 ui_state_bt_reconnect 
-06e6 c3830000 rtnbit1 ui_state_bt_discovery 
-06e7 da204cfd arg mem_rssi_signal_buf ,rega 
-06e8 20400282 call p_rssi_average 
-06e9 6008cd75 storet 1 ,mem_rssi_avg_received 
-06ea 58000082 setarg rssi_dis_max_24g 
-06eb c51306ed bmark1 mark_24g ,power_ctrl_start_next 
-06ec 58000080 setarg rssi_dis_max_ble 
+06e1 68014682 fetch 2 ,mem_ui_state_map 
+06e2 c3858000 rtnbit1 ui_state_ble_adv 
+06e3 c3838000 rtnbit1 ui_state_bt_reconnect 
+06e4 c3830000 rtnbit1 ui_state_bt_discovery 
+06e5 da204d00 arg mem_rssi_signal_buf ,rega 
+06e6 20400282 call p_rssi_average 
+06e7 6008cd78 storet 1 ,mem_rssi_avg_received 
+06e8 58000082 setarg rssi_dis_max_24g 
+06e9 c51306eb bmark1 mark_24g ,power_ctrl_start_next 
+06ea 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-06ed 98467c00 isub temp ,null 
-06ee 24210705 nbranch power_ctrl_txpower_incrs_force ,positive 
-06ef 6800cd74 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f0 1fe67c02 sub pdata ,2 ,null 
-06f1 242106f5 nbranch power_ctrl_txpower_decrs_check ,positive 
-06f2 6800cd74 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f3 c0000706 beq 0 ,power_ctrl_txpower_incrs 
-06f4 20600000 rtn 
+06eb 98467c00 isub temp ,null 
+06ec 24210703 nbranch power_ctrl_txpower_incrs_force ,positive 
+06ed 6800cd77 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06ee 1fe67c02 sub pdata ,2 ,null 
+06ef 242106f3 nbranch power_ctrl_txpower_decrs_check ,positive 
+06f0 6800cd77 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f1 c0000704 beq 0 ,power_ctrl_txpower_incrs 
+06f2 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-06f5 6800cd74 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f6 c1990000 rtnne 50 
-06f7 704d7400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06f3 6800cd77 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f4 c1990000 rtnne 50 
+06f5 704d7700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-06f8 6808cd75 fetcht 1 ,mem_rssi_avg_received 
-06f9 58000077 setarg rssi_dis_min_24g 
-06fa c51306fc bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-06fb 58000075 setarg rssi_dis_min_ble 
+06f6 6808cd78 fetcht 1 ,mem_rssi_avg_received 
+06f7 58000077 setarg rssi_dis_min_24g 
+06f8 c51306fa bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+06f9 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-06fc 98467c00 isub temp ,null 
-06fd 24610000 nrtn positive 
-06fe 6800cd77 fetch 1 ,mem_power_ctrl_level 
-06ff c000070d beq 0 ,power_ctrl_decrs_level0 
-0700 1fe0ffff increase -1 ,pdata 
-0701 6000cd77 store 1 ,mem_power_ctrl_level 
-0702 c000070d beq 0 ,power_ctrl_decrs_level0 
+06fa 98467c00 isub temp ,null 
+06fb 24610000 nrtn positive 
+06fc 6800cd7a fetch 1 ,mem_power_ctrl_level 
+06fd c000070b beq 0 ,power_ctrl_decrs_level0 
+06fe 1fe0ffff increase -1 ,pdata 
+06ff 6000cd7a store 1 ,mem_power_ctrl_level 
+0700 c000070b beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-0703 7041de00 jam tx_power_0db ,mem_tx_power 
-0704 20600000 rtn 
+0701 7041de00 jam tx_power_0db ,mem_tx_power 
+0702 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-0705 704d7400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0703 704d7700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-0706 6800cd77 fetch 1 ,mem_power_ctrl_level 
-0707 c001070b beq 2 ,power_ctrl_incrs_level2 
-0708 1fe0fe01 increase 1 ,pdata 
-0709 6000cd77 store 1 ,mem_power_ctrl_level 
-070a c0008703 beq 1 ,power_ctrl_incrs_level1 
+0704 6800cd7a fetch 1 ,mem_power_ctrl_level 
+0705 c0010709 beq 2 ,power_ctrl_incrs_level2 
+0706 1fe0fe01 increase 1 ,pdata 
+0707 6000cd7a store 1 ,mem_power_ctrl_level 
+0708 c0008701 beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-070b 7041de02 jam tx_power_5db ,mem_tx_power 
-070c 20600000 rtn 
+0709 7041de02 jam tx_power_5db ,mem_tx_power 
+070a 20600000 rtn 
 
 power_ctrl_decrs_level0:
-070d 7041de04 jam tx_power_f5db ,mem_tx_power 
-070e 20600000 rtn 
+070b 7041de04 jam tx_power_f5db ,mem_tx_power 
+070c 20600000 rtn 
 
 p_set_freq_tx:
-070f 60088017 storet 1 ,mem_last_freq 
-0710 1840a200 add temp ,0 ,rega 
-0711 20402981 call rf_write_freq 
-0712 58000500 setarg param_pll_setup 
-0713 20402a8f call sleep 
+070d 60088017 storet 1 ,mem_last_freq 
+070e 1840a200 add temp ,0 ,rega 
+070f 20402981 call rf_write_freq 
+0710 58000500 setarg param_pll_setup 
+0711 20402a8f call sleep 
 
 p_rf_tx_enable:
-0714 70890601 jam 0x1 ,rfen_adc 
-0715 7089003c jam 0x3c ,rfen_rx 
-0716 708901e0 jam 0xe0 ,rfen_tx 
-0717 2000000a nop 10 
-0718 70890201 jam 0x01 ,rfen_mdm 
-0719 7089023d jam 0x3d ,rfen_mdm 
+0712 70890601 jam 0x1 ,rfen_adc 
+0713 7089003c jam 0x3c ,rfen_rx 
+0714 708901e0 jam 0xe0 ,rfen_tx 
+0715 2000000a nop 10 
+0716 70890201 jam 0x01 ,rfen_mdm 
+0717 7089023d jam 0x3d ,rfen_mdm 
+0718 2000000a nop 10 
+0719 708903b7 jam 0xb7 ,rfen_sn 
 071a 2000000a nop 10 
-071b 708903b7 jam 0xb7 ,rfen_sn 
-071c 2000000a nop 10 
-071d 7089027d jam 0x7d ,rfen_mdm 
-071e 6800c1de fetch 1 ,mem_tx_power 
-071f c0010727 beq tx_power_5db ,p_set_tx_power_5db 
-0720 c002072f beq tx_power_f5db ,p_set_tx_power_f5db 
-0721 c0100739 beq tx_power_pair ,p_set_tx_power_pair 
+071b 7089027d jam 0x7d ,rfen_mdm 
+071c 6800c1de fetch 1 ,mem_tx_power 
+071d c0010725 beq tx_power_5db ,p_set_tx_power_5db 
+071e c002072d beq tx_power_f5db ,p_set_tx_power_f5db 
+071f c0100737 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-0722 20400734 call p_rx_low_sens 
-0723 708955d0 jam 0xd0 ,0x8955 
-0724 708956e0 jam 0xe0 ,0x8956 
-0725 7089586c jam 0x6c ,0x8958 
-0726 2020294b branch set_tx_power_0db 
+0720 20400732 call p_rx_low_sens 
+0721 708955d0 jam 0xd0 ,0x8955 
+0722 708956e0 jam 0xe0 ,0x8956 
+0723 7089586c jam 0x6c ,0x8958 
+0724 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-0727 70894cfb jam 0xfb ,0x894c 
-0728 70894def jam 0xef ,0x894d 
-0729 70894eec jam 0xec ,0x894e 
-072a 70894f5e jam 0x5e ,0x894f 
-072b 708955d0 jam 0xd0 ,0x8955 
-072c 708956e0 jam 0xe0 ,0x8956 
-072d 7089583c jam 0x3c ,0x8958 
-072e 20202953 branch set_tx_power_5db 
+0725 70894cfb jam 0xfb ,0x894c 
+0726 70894def jam 0xef ,0x894d 
+0727 70894eec jam 0xec ,0x894e 
+0728 70894f5e jam 0x5e ,0x894f 
+0729 708955d0 jam 0xd0 ,0x8955 
+072a 708956e0 jam 0xe0 ,0x8956 
+072b 7089583c jam 0x3c ,0x8958 
+072c 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-072f 20400734 call p_rx_low_sens 
-0730 708955d0 jam 0xd0 ,0x8955 
-0731 708956c0 jam 0xc0 ,0x8956 
-0732 7089586c jam 0x6c ,0x8958 
-0733 2020295b branch set_tx_power_f5db 
+072d 20400732 call p_rx_low_sens 
+072e 708955d0 jam 0xd0 ,0x8955 
+072f 708956c0 jam 0xc0 ,0x8956 
+0730 7089586c jam 0x6c ,0x8958 
+0731 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0734 70894c5b jam 0x5b ,0x894c 
-0735 70894d96 jam 0x96 ,0x894d 
-0736 70894e2c jam 0x2c ,0x894e 
-0737 70894f46 jam 0x46 ,0x894f 
-0738 20600000 rtn 
+0732 70894c5b jam 0x5b ,0x894c 
+0733 70894d96 jam 0x96 ,0x894d 
+0734 70894e2c jam 0x2c ,0x894e 
+0735 70894f46 jam 0x46 ,0x894f 
+0736 20600000 rtn 
 
 p_set_tx_power_pair:
-0739 708956c2 jam 0xc2 ,0x8956 
-073a 708955d0 jam 0xd0 ,0x8955 
-073b 20600000 rtn 
+0737 708956c2 jam 0xc2 ,0x8956 
+0738 708955d0 jam 0xd0 ,0x8955 
+0739 20600000 rtn 
 
 p_shutdown_radio:
-073c 18002a08 force 8 ,radio_ctrl 
-073d 202028fa branch shutdown_radio + 1 
+073a 18002a08 force 8 ,radio_ctrl 
+073b 202028fa branch shutdown_radio + 1 
 
 p_zcode_entrance:
-073e 680891c6 fetcht 1 ,mem_zcode_temp_param0 
-073f 18518400 rshift4 temp ,temp 
-0740 6800cb52 fetch 1 ,mem_zcode_current_number 
-0741 98467c00 isub temp ,null 
-0742 2022875d branch p_zcode_run ,zero 
-0743 6008cb52 storet 1 ,mem_zcode_current_number 
-0744 18408401 increase 1 ,temp 
-0745 58000100 setarg zcode_buff_size 
-0746 984f8400 imul32 temp ,temp 
-0747 6801cb53 fetch 3 ,mem_xip_flash_offset 
-0748 98467e00 isub temp ,pdata 
-0749 6809cb56 fetcht 3 ,mem_flash_start_addr 
-074a 9840fe00 iadd temp ,pdata 
-074b 1fe0fffb increase -5 ,pdata 
-074c 6001cb59 store 3 ,mem_flash_address 
-074d 2040033a call p_flash_release_deep_power_down 
+073c 680891c6 fetcht 1 ,mem_zcode_temp_param0 
+073d 18518400 rshift4 temp ,temp 
+073e 6800cb52 fetch 1 ,mem_zcode_current_number 
+073f 98467c00 isub temp ,null 
+0740 2022875b branch p_zcode_run ,zero 
+0741 6008cb52 storet 1 ,mem_zcode_current_number 
+0742 18408401 increase 1 ,temp 
+0743 58000100 setarg zcode_buff_size 
+0744 984f8400 imul32 temp ,temp 
+0745 6801cb53 fetch 3 ,mem_xip_flash_offset 
+0746 98467e00 isub temp ,pdata 
+0747 6809cb56 fetcht 3 ,mem_flash_start_addr 
+0748 9840fe00 iadd temp ,pdata 
+0749 1fe0fffb increase -5 ,pdata 
+074a 6001cb59 store 3 ,mem_flash_address 
+074b 2040033a call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
-074e 6801cb59 fetch 3 ,mem_flash_address 
-074f d8400100 arg zcode_buff_size ,temp 
-0750 da201f00 arg mem_zcode_buff ,rega 
-0751 20406562 call spid_read_flash 
-0752 68021f00 fetch 4 ,mem_zcode_buff 
-0753 680a4b5c fetcht 4 ,mem_zcode_head 
-0754 98467c00 isub temp ,null 
-0755 2422874e nbranch p_zcode_read_loop ,zero 
-0756 2040030a call p_mouse_spi_init 
-0757 58001f00 setarg mem_zcode_buff 
-0758 60014199 store 2 ,mem_patch_ptr 
-0759 70419b40 jam zcode_code_size ,mem_patch_len 
-075a 204064ca call load_ucode 
-075b 58000000 setarg 0 
-075c 60024199 store 4 ,mem_patch_ptr 
+074c 6801cb59 fetch 3 ,mem_flash_address 
+074d d8400100 arg zcode_buff_size ,temp 
+074e da201f00 arg mem_zcode_buff ,rega 
+074f 20406562 call spid_read_flash 
+0750 68021f00 fetch 4 ,mem_zcode_buff 
+0751 680a4b5c fetcht 4 ,mem_zcode_head 
+0752 98467c00 isub temp ,null 
+0753 2422874c nbranch p_zcode_read_loop ,zero 
+0754 2040030a call p_mouse_spi_init 
+0755 58001f00 setarg mem_zcode_buff 
+0756 60014199 store 2 ,mem_patch_ptr 
+0757 70419b40 jam zcode_code_size ,mem_patch_len 
+0758 204064ca call load_ucode 
+0759 58000000 setarg 0 
+075a 60024199 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-075d 680091c6 fetch 1 ,mem_zcode_temp_param0 
-075e 20200001 branch p_zcode 
+075b 680091c6 fetch 1 ,mem_zcode_temp_param0 
+075c 20200001 branch p_zcode 
 
 p_drawing_optima:
-075f 6802469b fetch 4 ,mem_mouse_x 
-0760 207a0000 rtn blank 
-0761 204007bf call p_data_abs_check 
-0762 58000006 setarg 0x06 
-0763 204007b2 call p_data_greater_than_check 
-0764 58000003 setarg 0x03 
-0765 204007b8 call p_data_less_than_check 
-0766 6800cb0b fetch 1 ,mem_mouse_asm_flag 
-0767 c000876b beq 1 ,p_drawing_optima_modify 
+075d 6802469b fetch 4 ,mem_mouse_x 
+075e 207a0000 rtn blank 
+075f 204007bd call p_data_abs_check 
+0760 58000006 setarg 0x06 
+0761 204007b0 call p_data_greater_than_check 
+0762 58000003 setarg 0x03 
+0763 204007b6 call p_data_less_than_check 
+0764 6800cb0b fetch 1 ,mem_mouse_asm_flag 
+0765 c0008769 beq 1 ,p_drawing_optima_modify 
 
 p_drawing_optima_init:
-0768 df200005 arg 5 ,loopcnt 
-0769 d8a04b0b arg mem_mouse_asm_flag ,contw 
-076a 20207ed4 branch clear_mem 
+0766 df200005 arg 5 ,loopcnt 
+0767 d8a04b0b arg mem_mouse_asm_flag ,contw 
+0768 20207ed4 branch clear_mem 
 
 p_drawing_optima_modify:
-076b 68014b0c fetch 2 ,mem_mouse_x_pre 
-076c 600111be store 2 ,mem_data_pre 
-076d 6801469b fetch 2 ,mem_mouse_x 
-076e 600111c0 store 2 ,mem_data_current 
-076f 2040077e call p_drawing_optima_data_x 
-0770 680111be fetch 2 ,mem_data_pre 
-0771 60014b0c store 2 ,mem_mouse_x_pre 
-0772 680111c0 fetch 2 ,mem_data_current 
-0773 6001469b store 2 ,mem_mouse_x 
-0774 68014b0e fetch 2 ,mem_mouse_y_pre 
-0775 600111be store 2 ,mem_data_pre 
-0776 6801469d fetch 2 ,mem_mouse_y 
-0777 600111c0 store 2 ,mem_data_current 
-0778 20400786 call p_drawing_optima_data_y 
-0779 680111be fetch 2 ,mem_data_pre 
-077a 60014b0e store 2 ,mem_mouse_y_pre 
-077b 680111c0 fetch 2 ,mem_data_current 
-077c 6001469d store 2 ,mem_mouse_y 
-077d 20600000 rtn 
+0769 68014b0c fetch 2 ,mem_mouse_x_pre 
+076a 600111be store 2 ,mem_data_pre 
+076b 6801469b fetch 2 ,mem_mouse_x 
+076c 600111c0 store 2 ,mem_data_current 
+076d 2040077c call p_drawing_optima_data_x 
+076e 680111be fetch 2 ,mem_data_pre 
+076f 60014b0c store 2 ,mem_mouse_x_pre 
+0770 680111c0 fetch 2 ,mem_data_current 
+0771 6001469b store 2 ,mem_mouse_x 
+0772 68014b0e fetch 2 ,mem_mouse_y_pre 
+0773 600111be store 2 ,mem_data_pre 
+0774 6801469d fetch 2 ,mem_mouse_y 
+0775 600111c0 store 2 ,mem_data_current 
+0776 20400784 call p_drawing_optima_data_y 
+0777 680111be fetch 2 ,mem_data_pre 
+0778 60014b0e store 2 ,mem_mouse_y_pre 
+0779 680111c0 fetch 2 ,mem_data_current 
+077a 6001469d store 2 ,mem_mouse_y 
+077b 20600000 rtn 
 
 p_drawing_optima_data_x:
-077e 680111be fetch 2 ,mem_data_pre 
-077f 680911c0 fetcht 2 ,mem_data_current 
+077c 680111be fetch 2 ,mem_data_pre 
+077d 680911c0 fetcht 2 ,mem_data_current 
+077e 9840fe00 iadd temp ,pdata 
+077f 6808cbaa fetcht 1 ,mem_mouse_data_xtemp 
 0780 9840fe00 iadd temp ,pdata 
-0781 6808cbaa fetcht 1 ,mem_mouse_data_xtemp 
-0782 9840fe00 iadd temp ,pdata 
-0783 1fe10401 and pdata ,0x01 ,temp 
-0784 6008cbaa storet 1 ,mem_mouse_data_xtemp 
-0785 2020078e branch p_drawing_optima_data 
+0781 1fe10401 and pdata ,0x01 ,temp 
+0782 6008cbaa storet 1 ,mem_mouse_data_xtemp 
+0783 2020078c branch p_drawing_optima_data 
 
 p_drawing_optima_data_y:
-0786 680111be fetch 2 ,mem_data_pre 
-0787 680911c0 fetcht 2 ,mem_data_current 
+0784 680111be fetch 2 ,mem_data_pre 
+0785 680911c0 fetcht 2 ,mem_data_current 
+0786 9840fe00 iadd temp ,pdata 
+0787 6808cbab fetcht 1 ,mem_mouse_data_ytemp 
 0788 9840fe00 iadd temp ,pdata 
-0789 6808cbab fetcht 1 ,mem_mouse_data_ytemp 
-078a 9840fe00 iadd temp ,pdata 
-078b 1fe10401 and pdata ,0x01 ,temp 
-078c 6008cbab storet 1 ,mem_mouse_data_ytemp 
-078d 2020078e branch p_drawing_optima_data 
+0789 1fe10401 and pdata ,0x01 ,temp 
+078a 6008cbab storet 1 ,mem_mouse_data_ytemp 
+078b 2020078c branch p_drawing_optima_data 
 
 p_drawing_optima_data:
-078e 600191c2 store 3 ,mem_data_sum 
-078f 2feffe10 isolate1 16 ,pdata 
-0790 20208798 branch p_data_sum_overflow ,true 
-0791 680091c3 fetch 1 ,mem_data_sum + 1 
-0792 c07f879f beq 0xff ,p_data_sum_n 
-0793 680091c2 fetch 1 ,mem_data_sum 
+078c 600191c2 store 3 ,mem_data_sum 
+078d 2feffe10 isolate1 16 ,pdata 
+078e 20208796 branch p_data_sum_overflow ,true 
+078f 680091c3 fetch 1 ,mem_data_sum + 1 
+0790 c07f879d beq 0xff ,p_data_sum_n 
+0791 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-0794 1fe37e00 rshift pdata ,pdata 
-0795 600111be store 2 ,mem_data_pre 
-0796 600111c0 store 2 ,mem_data_current 
-0797 20600000 rtn 
+0792 1fe37e00 rshift pdata ,pdata 
+0793 600111be store 2 ,mem_data_pre 
+0794 600111c0 store 2 ,mem_data_current 
+0795 20600000 rtn 
 
 p_data_sum_overflow:
-0798 680091c3 fetch 1 ,mem_data_sum + 1 
-0799 c000079c beq 0 ,p_data_sum_overflow_p 
-079a 680191c2 fetch 3 ,mem_data_sum 
-079b 20200794 branch p_data_store_pre 
+0796 680091c3 fetch 1 ,mem_data_sum + 1 
+0797 c000079a beq 0 ,p_data_sum_overflow_p 
+0798 680191c2 fetch 3 ,mem_data_sum 
+0799 20200792 branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-079c 7011c400 jam 0 ,mem_data_sum + 2 
-079d 680091c2 fetch 1 ,mem_data_sum 
-079e 20200794 branch p_data_store_pre 
+079a 7011c400 jam 0 ,mem_data_sum + 2 
+079b 680091c2 fetch 1 ,mem_data_sum 
+079c 20200792 branch p_data_store_pre 
 
 p_data_sum_n:
-079f 680091c2 fetch 1 ,mem_data_sum 
-07a0 204007aa call p_pdata_get_half 
-07a1 600091be store 1 ,mem_data_pre 
-07a2 600091c0 store 1 ,mem_data_current 
-07a3 203a07a8 branch p_data_zero ,blank 
-07a4 580000ff setarg 0xff 
+079d 680091c2 fetch 1 ,mem_data_sum 
+079e 204007a8 call p_pdata_get_half 
+079f 600091be store 1 ,mem_data_pre 
+07a0 600091c0 store 1 ,mem_data_current 
+07a1 203a07a6 branch p_data_zero ,blank 
+07a2 580000ff setarg 0xff 
 
 p_data_set_direction:
-07a5 600091bf store 1 ,mem_data_pre + 1 
-07a6 600091c1 store 1 ,mem_data_current + 1 
-07a7 20600000 rtn 
+07a3 600091bf store 1 ,mem_data_pre + 1 
+07a4 600091c1 store 1 ,mem_data_current + 1 
+07a5 20600000 rtn 
 
 p_data_zero:
-07a8 58000000 setarg 0 
-07a9 202007a5 branch p_data_set_direction 
+07a6 58000000 setarg 0 
+07a7 202007a3 branch p_data_set_direction 
 
 p_pdata_get_half:
-07aa 1fe67e00 sub pdata ,0 ,pdata 
-07ab 60008aae store 1 ,mem_rega 
-07ac 68008aae fetch 1 ,mem_rega 
-07ad 1fe37e00 rshift pdata ,pdata 
-07ae 60008aae store 1 ,mem_rega 
-07af 68008aae fetch 1 ,mem_rega 
-07b0 1fe67e00 sub pdata ,0 ,pdata 
-07b1 20600000 rtn 
+07a8 1fe67e00 sub pdata ,0 ,pdata 
+07a9 60008aae store 1 ,mem_rega 
+07aa 68008aae fetch 1 ,mem_rega 
+07ab 1fe37e00 rshift pdata ,pdata 
+07ac 60008aae store 1 ,mem_rega 
+07ad 68008aae fetch 1 ,mem_rega 
+07ae 1fe67e00 sub pdata ,0 ,pdata 
+07af 20600000 rtn 
 
 p_data_greater_than_check:
-07b2 9a267c00 isub rega ,null 
-07b3 242107bd nbranch p_enable_asm ,positive 
-07b4 9a467c00 isub regb ,null 
-07b5 242107bd nbranch p_enable_asm ,positive 
+07b0 9a267c00 isub rega ,null 
+07b1 242107bb nbranch p_enable_asm ,positive 
+07b2 9a467c00 isub regb ,null 
+07b3 242107bb nbranch p_enable_asm ,positive 
 
 p_disable_asm:
-07b6 704b0b00 jam 0 ,mem_mouse_asm_flag 
-07b7 20600000 rtn 
+07b4 704b0b00 jam 0 ,mem_mouse_asm_flag 
+07b5 20600000 rtn 
 
 p_data_less_than_check:
-07b8 9a267c00 isub rega ,null 
+07b6 9a267c00 isub rega ,null 
+07b7 24610000 nrtn positive 
+07b8 9a467c00 isub regb ,null 
 07b9 24610000 nrtn positive 
-07ba 9a467c00 isub regb ,null 
-07bb 24610000 nrtn positive 
-07bc 202007b6 branch p_disable_asm 
+07ba 202007b4 branch p_disable_asm 
 
 p_enable_asm:
-07bd 704b0b01 jam 1 ,mem_mouse_asm_flag 
-07be 20600000 rtn 
+07bb 704b0b01 jam 1 ,mem_mouse_asm_flag 
+07bc 20600000 rtn 
 
 p_data_abs_check:
-07bf 6801469b fetch 2 ,mem_mouse_x 
-07c0 204007c6 call p_data_abs 
-07c1 1fe22200 copy pdata ,rega 
-07c2 6801469d fetch 2 ,mem_mouse_y 
-07c3 204007c6 call p_data_abs 
-07c4 1fe22400 copy pdata ,regb 
-07c5 20600000 rtn 
+07bd 6801469b fetch 2 ,mem_mouse_x 
+07be 204007c4 call p_data_abs 
+07bf 1fe22200 copy pdata ,rega 
+07c0 6801469d fetch 2 ,mem_mouse_y 
+07c1 204007c4 call p_data_abs 
+07c2 1fe22400 copy pdata ,regb 
+07c3 20600000 rtn 
 
 p_data_abs:
-07c6 600111c0 store 2 ,mem_data_current 
-07c7 680091c1 fetch 1 ,mem_data_current + 1 
-07c8 c07f87cc beq 0xff ,p_data_reversal 
-07c9 680091c0 fetch 1 ,mem_data_current 
+07c4 600111c0 store 2 ,mem_data_current 
+07c5 680091c1 fetch 1 ,mem_data_current + 1 
+07c6 c07f87ca beq 0xff ,p_data_reversal 
+07c7 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-07ca 1fe17eff and_into 0xff ,pdata 
-07cb 20600000 rtn 
+07c8 1fe17eff and_into 0xff ,pdata 
+07c9 20600000 rtn 
 
 p_data_reversal:
-07cc 680111c0 fetch 2 ,mem_data_current 
-07cd 1fe67e00 sub pdata ,0 ,pdata 
-07ce 202007ca branch p_data_abs_store 
+07ca 680111c0 fetch 2 ,mem_data_current 
+07cb 1fe67e00 sub pdata ,0 ,pdata 
+07cc 202007c8 branch p_data_abs_store 
               org 0x2000
 
 start:
@@ -35415,7 +35409,7 @@
 10010 68014682 fetch 2 ,mem_ui_state_map 
 10011 c28642b0 bbit1 ui_state_btn_down ,mouse_start_discovery 
 10012 204033a9 call app_disconn_reason_clear 
-10013 204005be call p_mouse_check_key_gpio 
+10013 204005ba call p_mouse_check_key_gpio 
 10014 c0038018 beq mouse_lmr_button ,z_mouse_null_enter_hibernate_enable 
 10015 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
 10016 203a0018 branch z_mouse_null_enter_hibernate_enable ,blank 
@@ -35597,7 +35591,7 @@
 4001a 6800c092 fetch 1 ,mem_device_option 
 4001b 2feffe00 isolate1 mode_3_mouse ,pdata 
 4001c 2040fddd call check_51cmd_start_discovery ,true 
-4001d 20200520 branch p_mouse_discovery_multi_led_blink 
+4001d 2020050e branch p_mouse_discovery_multi_led_blink 
 
 z_mouse_le_addr_update:
 4001e 20400344 call p_mouse_load_flash_user_data 
@@ -35625,16 +35619,16 @@
 50005 2040000e call z_g24_factory_check 
 50006 2034034f branch p_g24_auto_pair_start ,user 
 50007 79200026 set1 mark_24g ,mark 
-50008 6800cd8f fetch 1 ,mem_24g_conn_sm 
+50008 6800cd92 fetch 1 ,mem_24g_conn_sm 
 50009 79207e02 set1 state_24g_reconn ,pdata 
-5000a 6000cd8f store 1 ,mem_24g_conn_sm 
+5000a 6000cd92 store 1 ,mem_24g_conn_sm 
 5000b 204001c2 call p_g24_syncword_crc8 
 5000c 20400145 call p_g24_ch 
 5000d 2020001b branch z_g24_auto_pair_timeout_init 
 
 z_g24_factory_check:
 5000e df200002 arg 2 ,loopcnt 
-5000f d8c04c63 arg mem_24g_addr ,contr 
+5000f d8c04c66 arg mem_24g_addr ,contr 
 50010 20407fe7 call enable_user 
 50011 5800ffff setarg 0xffff 
 
@@ -35647,14 +35641,14 @@
 
 z_g24_auto_pair_start:
 50017 79200026 set1 mark_24g ,mark 
-50018 6800cd8f fetch 1 ,mem_24g_conn_sm 
+50018 6800cd92 fetch 1 ,mem_24g_conn_sm 
 50019 79207e01 set1 state_24g_pair ,pdata 
-5001a 6000cd8f store 1 ,mem_24g_conn_sm 
+5001a 6000cd92 store 1 ,mem_24g_conn_sm 
 
 z_g24_auto_pair_timeout_init:
 5001b 58000708 setarg g24_disconn_nodata_timer 
-5001c 60014d87 store 2 ,mem_24g_stop_g24_mode_timeout 
-5001d 704d8600 jam 0 ,mem_24g_stop_g24_mode 
+5001c 60014d8a store 2 ,mem_24g_stop_g24_mode_timeout 
+5001d 704d8900 jam 0 ,mem_24g_stop_g24_mode 
 5001e 20600000 rtn 
 
 z_mouse_24g_pairing_button:
@@ -35664,10 +35658,10 @@
 50022 58000000 setarg 0 
 50023 600146ae store 2 ,mem_mouse_direct_timer 
 50024 6000c6b4 store 1 ,mem_mouse_send_blank_timer 
-50025 60014c68 store 2 ,mem_24g_check_dongle_times 
+50025 60014c6b store 2 ,mem_24g_check_dongle_times 
 50026 204042ca call mouse_stop_discovery 
 50027 2040034f call p_g24_auto_pair_start 
-50028 20200520 branch p_mouse_discovery_multi_led_blink 
+50028 2020050e branch p_mouse_discovery_multi_led_blink 
               org 0x60001
 
 z_entrance5:
@@ -35684,10 +35678,10 @@
 60009 2040405d call mouse_read_sensor_common 
 6000a 204002b0 call p_mouse_tx_power_init 
 6000b 20400011 call z_mouse_24g_attempt_success 
-6000c 20200528 branch p_mouse_discovey_led_blink_off 
+6000c 20200516 branch p_mouse_discovey_led_blink_off 
 
 z_mouse_24g_attempt_fail:
-6000d 704d7b00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+6000d 704d7e00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
 6000e 204002b0 call p_mouse_tx_power_init 
 6000f 204001d9 call p_g24_check_51cmd_stop_24g 
 60010 2020340a branch app_enter_hibernate 
@@ -35697,26 +35691,26 @@
 60012 20400019 call z_g24_auto_pair_timeout_clear 
 60013 204004c7 call p_mouse_null_enter_hibernate_disable 
 60014 20403f8d call mouse_no_data_timer_init 
-60015 68024c63 fetch 4 ,mem_24g_addr 
+60015 68024c66 fetch 4 ,mem_24g_addr 
 60016 6002477b store 4 ,mem_mouse_24g_addr 
 60017 20404366 call mouse_cheak_select_24gdevice 
 60018 202002fc branch p_mouse_store_flash_device_info 
 
 z_g24_auto_pair_timeout_clear:
 60019 58000000 setarg 0 
-6001a 6001cd86 store 3 ,mem_24g_stop_g24_mode 
+6001a 6001cd89 store 3 ,mem_24g_stop_g24_mode 
 6001b 20600000 rtn 
 
 z_g24_reconn_dispatch:
-6001c 6800cd86 fetch 1 ,mem_24g_stop_g24_mode 
+6001c 6800cd89 fetch 1 ,mem_24g_stop_g24_mode 
 6001d c000add4 beq 1 ,g24_stop_24g_mode 
 6001e 2040002b call z_g24_tx_attemp_data_prep 
 6001f 20400191 call p_g24_transmit_receive_ack 
 60020 242c0145 nbranch p_g24_ch ,sync 
 60021 24378145 nbranch p_g24_ch ,user3 
-60022 6800cd8f fetch 1 ,mem_24g_conn_sm 
+60022 6800cd92 fetch 1 ,mem_24g_conn_sm 
 60023 793ffe02 set0 state_24g_reconn ,pdata 
-60024 6000cd8f store 1 ,mem_24g_conn_sm 
+60024 6000cd92 store 1 ,mem_24g_conn_sm 
 
 z_g24_tx_attemp_dongle_succ:
 60025 704b4200 jam 0 ,mem_mouse_long_mult_flag 
@@ -35725,14 +35719,14 @@
 60028 20200354 branch p_g24_transmit_by_interrupt_enable 
 
 z_g24_store_dongle_addr:
-60029 68024c1b fetch 4 ,mem_24g_rxpayload + 2 
+60029 68024c1e fetch 4 ,mem_24g_rxpayload + 2 
 6002a 202001c1 branch p_g24_update_addr_and_synccrc8 
 
 z_g24_tx_attemp_data_prep:
 6002b 70119eff jam 0xff ,mem_24g_common_temp 
-6002c 6800cc3c fetch 1 ,mem_24g_data_type 
+6002c 6800cc3f fetch 1 ,mem_24g_data_type 
 6002d 6000919f store 1 ,mem_24g_common_temp + 1 
-6002e 68024c72 fetch 4 ,mem_24g_device_addr 
+6002e 68024c75 fetch 4 ,mem_24g_device_addr 
 6002f 600211a0 store 4 ,mem_24g_common_temp + 2 
 60030 d8400006 arg 6 ,temp 
 60031 da20119e arg mem_24g_common_temp ,rega 
@@ -35743,12 +35737,12 @@
 z_entrance6:
 
 z_g24_pair_dispatch:
-70001 6800cd86 fetch 1 ,mem_24g_stop_g24_mode 
+70001 6800cd89 fetch 1 ,mem_24g_stop_g24_mode 
 70002 c000add4 beq 1 ,g24_stop_24g_mode 
 70003 70119eff jam 0xff ,mem_24g_common_temp 
-70004 6800cc3c fetch 1 ,mem_24g_data_type 
+70004 6800cc3f fetch 1 ,mem_24g_data_type 
 70005 6000919f store 1 ,mem_24g_common_temp + 1 
-70006 68024c72 fetch 4 ,mem_24g_device_addr 
+70006 68024c75 fetch 4 ,mem_24g_device_addr 
 70007 600211a0 store 4 ,mem_24g_common_temp + 2 
 70008 d8400006 arg 6 ,temp 
 70009 da20119e arg mem_24g_common_temp ,rega 
@@ -35758,22 +35752,22 @@
 7000d 242c0026 nbranch z_g24_pair_txdata_retry ,sync 
 7000e 24378026 nbranch z_g24_pair_txdata_retry ,user3 
 7000f 204001b6 call p_g24_ackpayload_parse 
-70010 68024c63 fetch 4 ,mem_24g_addr 
-70011 680a4d80 fetcht 4 ,mem_24g_allpowerful_addr 
+70010 68024c66 fetch 4 ,mem_24g_addr 
+70011 680a4d83 fetcht 4 ,mem_24g_allpowerful_addr 
 70012 98467c00 isub temp ,null 
 70013 20228016 branch z_g24_auto_pair_skip_rx_length ,zero 
-70014 6800cc39 fetch 1 ,mem_24g_rxdata_length 
+70014 6800cc3c fetch 1 ,mem_24g_rxdata_length 
 70015 c1840000 rtnne bind_ackpayload_length 
 
 z_g24_auto_pair_skip_rx_length:
-70016 704d8f00 jam 0 ,mem_24g_conn_sm 
+70016 704d9200 jam 0 ,mem_24g_conn_sm 
 70017 204002b0 call p_mouse_tx_power_init 
-70018 68024c63 fetch 4 ,mem_24g_addr 
-70019 680a4c47 fetcht 4 ,mem_24g_paring_addr 
+70018 68024c66 fetch 4 ,mem_24g_addr 
+70019 680a4c4a fetcht 4 ,mem_24g_paring_addr 
 7001a 98467c00 isub temp ,null 
 7001b 202281cf branch p_g24_start_pairing_sm1 ,zero 
-7001c 68024c63 fetch 4 ,mem_24g_addr 
-7001d 680a4c72 fetcht 4 ,mem_24g_device_addr 
+7001c 68024c66 fetch 4 ,mem_24g_addr 
+7001d 680a4c75 fetcht 4 ,mem_24g_device_addr 
 7001e 98467c00 isub temp ,null 
 7001f 20428024 call z7_g24_store_dongle_addr ,zero 
 70020 704b4200 jam 0 ,mem_mouse_long_mult_flag 
@@ -35782,28 +35776,28 @@
 70023 20200354 branch p_g24_transmit_by_interrupt_enable 
 
 z7_g24_store_dongle_addr:
-70024 68024c1b fetch 4 ,mem_24g_rxpayload + 2 
+70024 68024c1e fetch 4 ,mem_24g_rxpayload + 2 
 70025 202001c1 branch p_g24_update_addr_and_synccrc8 
 
 z_g24_pair_txdata_retry:
 
 z_g24_pair_txdata_switch:
-70026 6800cd79 fetch 1 ,mem_24g_auto_paring_switch 
+70026 6800cd7c fetch 1 ,mem_24g_auto_paring_switch 
 70027 1fe0fe01 increase 1 ,pdata 
 70028 1fe17e03 and_into 3 ,pdata 
-70029 6000cd79 store 1 ,mem_24g_auto_paring_switch 
+70029 6000cd7c store 1 ,mem_24g_auto_paring_switch 
 7002a c000002d beq 0 ,z_g24_auto_pair_first_attemp 
 7002b c0010037 beq 2 ,z_g24_auto_pair_all_powerful 
 7002c 202001bd branch p_g24_pair_init 
 
 z_g24_auto_pair_first_attemp:
 7002d 204002b0 call p_mouse_tx_power_init 
-7002e 68024c72 fetch 4 ,mem_24g_device_addr 
-7002f 60024c63 store 4 ,mem_24g_addr 
-70030 6800cd89 fetch 1 ,mem_24g_pair_current_ch_num 
-70031 6000cc46 store 1 ,mem_24g_current_ch_number 
+7002e 68024c75 fetch 4 ,mem_24g_device_addr 
+7002f 60024c66 store 4 ,mem_24g_addr 
+70030 6800cd8c fetch 1 ,mem_24g_pair_current_ch_num 
+70031 6000cc49 store 1 ,mem_24g_current_ch_number 
 70032 20400035 call z_g24_ch_syncword_crc8_init 
-70033 6008cd89 storet 1 ,mem_24g_pair_current_ch_num 
+70033 6008cd8c storet 1 ,mem_24g_pair_current_ch_num 
 70034 20600000 rtn 
 
 z_g24_ch_syncword_crc8_init:
@@ -35812,12 +35806,12 @@
 
 z_g24_auto_pair_all_powerful:
 70037 7041de20 jam tx_power_pair ,mem_tx_power 
-70038 68024d80 fetch 4 ,mem_24g_allpowerful_addr 
-70039 60024c63 store 4 ,mem_24g_addr 
-7003a 6800cd8a fetch 1 ,mem_24g_powerful_current_ch_num 
-7003b 6000cc46 store 1 ,mem_24g_current_ch_number 
+70038 68024d83 fetch 4 ,mem_24g_allpowerful_addr 
+70039 60024c66 store 4 ,mem_24g_addr 
+7003a 6800cd8d fetch 1 ,mem_24g_powerful_current_ch_num 
+7003b 6000cc49 store 1 ,mem_24g_current_ch_number 
 7003c 20400035 call z_g24_ch_syncword_crc8_init 
-7003d 6008cd8a storet 1 ,mem_24g_powerful_current_ch_num 
+7003d 6008cd8d storet 1 ,mem_24g_powerful_current_ch_num 
 7003e 20600000 rtn 
               org 0x80001
 
@@ -35838,19 +35832,19 @@
 z_g24_search_dongle:
 8000b 6800cb42 fetch 1 ,mem_mouse_long_mult_flag 
 8000c 207a0000 rtn blank 
-8000d 6800cc67 fetch 1 ,mem_24g_abort_pac 
+8000d 6800cc6a fetch 1 ,mem_24g_abort_pac 
 8000e 207a0000 rtn blank 
-8000f 6800cd8e fetch 1 ,mem_24g_search_dongle_wait 
+8000f 6800cd91 fetch 1 ,mem_24g_search_dongle_wait 
 80010 1fe0fe01 increase 1 ,pdata 
 80011 1fe17e03 and_into 3 ,pdata 
-80012 6000cd8e store 1 ,mem_24g_search_dongle_wait 
+80012 6000cd91 store 1 ,mem_24g_search_dongle_wait 
 80013 247a0000 nrtn blank 
-80014 704d8d00 jam 0 ,mem_24g_search_dongle_ch 
+80014 704d9000 jam 0 ,mem_24g_search_dongle_ch 
 
 z_g24_search_dongle_loop:
-80015 6800cd8d fetch 1 ,mem_24g_search_dongle_ch 
+80015 6800cd90 fetch 1 ,mem_24g_search_dongle_ch 
 80016 1fe0fe01 increase 1 ,pdata 
-80017 6000cd8d store 1 ,mem_24g_search_dongle_ch 
+80017 6000cd90 store 1 ,mem_24g_search_dongle_ch 
 80018 1fe67c08 sub pdata ,g24_ch_number ,null 
 80019 2421001f nbranch z_g24_search_dongle_loop_end ,positive 
 8001a 20400025 call z7_g24_tx_attemp_data_prep 
@@ -35861,17 +35855,17 @@
 
 z_g24_search_dongle_loop_end:
 8001f 2040018e call p_g24_txbuf_clear 
-80020 6800cd8c fetch 1 ,mem_24g_search_dongle_count 
+80020 6800cd8f fetch 1 ,mem_24g_search_dongle_count 
 80021 1fe0fe01 increase 1 ,pdata 
-80022 6000cd8c store 1 ,mem_24g_search_dongle_count 
+80022 6000cd8f store 1 ,mem_24g_search_dongle_count 
 80023 c00800f5 beq g24_ch_poll_count ,p_g24_search_dongle_check 
 80024 20600000 rtn 
 
 z7_g24_tx_attemp_data_prep:
 80025 70119eff jam 0xff ,mem_24g_common_temp 
-80026 6800cc3c fetch 1 ,mem_24g_data_type 
+80026 6800cc3f fetch 1 ,mem_24g_data_type 
 80027 6000919f store 1 ,mem_24g_common_temp + 1 
-80028 68024c72 fetch 4 ,mem_24g_device_addr 
+80028 68024c75 fetch 4 ,mem_24g_device_addr 
 80029 600211a0 store 4 ,mem_24g_common_temp + 2 
 8002a d8400006 arg 6 ,temp 
 8002b da20119e arg mem_24g_common_temp ,rega 
@@ -35924,33 +35918,33 @@
 a0003 20600000 rtn 
 
 z_g24_pairing_sm:
-a0004 6800cc40 fetch 1 ,mem_24g_ensure 
+a0004 6800cc43 fetch 1 ,mem_24g_ensure 
 a0005 c000ffe7 beq ensure_on_24g ,enable_user 
-a0006 6800cc4b fetch 1 ,mem_24g_pairing_sm 
+a0006 6800cc4e fetch 1 ,mem_24g_pairing_sm 
 a0007 c000800b beq state_24g_pairing_1 ,z_g24_pairing_sm_1 
 a0008 c001000e beq state_24g_pairing_2 ,z_g24_pairing_sm_2 
 a0009 c0018011 beq state_24g_pairing_3 ,z_g24_pairing_sm_3 
 a000a 20202a8c branch assert 
 
 z_g24_pairing_sm_1:
-a000b 704c4b11 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
+a000b 704c4e11 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
 a000c 70119eaa jam 0xaa ,mem_24g_common_temp 
 a000d 20200013 branch z_g24_pairing_sm_common 
 
 z_g24_pairing_sm_2:
-a000e 704c4b12 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
+a000e 704c4e12 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
 a000f 70119e55 jam 0x55 ,mem_24g_common_temp 
 a0010 20200013 branch z_g24_pairing_sm_common 
 
 z_g24_pairing_sm_3:
-a0011 704c4b13 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
+a0011 704c4e13 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
 a0012 70119e22 jam 0x22 ,mem_24g_common_temp 
 
 z_g24_pairing_sm_common:
-a0013 6800cc3c fetch 1 ,mem_24g_data_type 
+a0013 6800cc3f fetch 1 ,mem_24g_data_type 
 a0014 1fe17e07 and_into bits_data ,pdata 
 a0015 6000919f store 1 ,mem_24g_common_temp + 1 
-a0016 68024c72 fetch 4 ,mem_24g_device_addr 
+a0016 68024c75 fetch 4 ,mem_24g_device_addr 
 a0017 600211a0 store 4 ,mem_24g_common_temp + 2 
 
 z_g24_put_pairing_data_in_buff:
@@ -35962,7 +35956,7 @@
 a001d 20207fe7 branch enable_user 
 
 z_g24_paring_mode:
-a001e 6800cc4b fetch 1 ,mem_24g_pairing_sm 
+a001e 6800cc4e fetch 1 ,mem_24g_pairing_sm 
 a001f c17f8000 rtneq state_24g_pairing_success 
 a0020 c0088024 beq state_24g_pairing_1_waiting_ack ,z_g24_pairing_sm_1_waiting_ack 
 a0021 c0090026 beq state_24g_pairing_2_waiting_ack ,z_g24_pairing_sm_2_waiting_ack 
@@ -35970,18 +35964,18 @@
 a0023 20600000 rtn 
 
 z_g24_pairing_sm_1_waiting_ack:
-a0024 704c4b02 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
+a0024 704c4e02 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
 a0025 2020018a branch p_g24_transmit_abandon 
 
 z_g24_pairing_sm_2_waiting_ack:
-a0026 704c4b03 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
+a0026 704c4e03 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
 a0027 2020018a branch p_g24_transmit_abandon 
 
 z_g24_pairing_sm_3_waiting_ack:
-a0028 704c4bff jam state_24g_pairing_success ,mem_24g_pairing_sm 
+a0028 704c4eff jam state_24g_pairing_success ,mem_24g_pairing_sm 
 a0029 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
 a002a 20407d86 call ui_ipc_send_event 
-a002b 68024c1b fetch 4 ,mem_24g_rxpayload + 2 
+a002b 68024c1e fetch 4 ,mem_24g_rxpayload + 2 
 a002c 204001c1 call p_g24_update_addr_and_synccrc8 
 a002d 2020018a branch p_g24_transmit_abandon 
               org 0xb0001
@@ -36018,7 +36012,7 @@
 
 z_mouse_le_conn_param_update_rsp_not_accepted:
 b0017 704b6101 jam 1 ,mem_mouse_le_updata_not_accepted_flag 
-b0018 20200646 branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
+b0018 20200644 branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
 
 z_mouse_le_bb_disconnected:
 b0019 704b6f00 jam 0 ,mem_mouse_le_bb_connected_flag 
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/LeXiang/1059Only_BLE/output/romcode.rom	(revision 7021)
+++ /branch/mouse_project/LeXiang/1059Only_BLE/output/romcode.rom	(working copy)
@@ -24590,7 +24590,7 @@
 68014682
 c28642b0
 204033a9
-204005be
+204005ba
 c0038018
 6800c6b6
 203a0018
@@ -24723,7 +24723,7 @@
 6800c092
 2feffe00
 2040fddd
-20200520
+2020050e
 20400344
 68094b70
 18408401
@@ -24742,14 +24742,14 @@
 2040000e
 2034034f
 79200026
-6800cd8f
+6800cd92
 79207e02
-6000cd8f
+6000cd92
 204001c2
 20400145
 2020001b
 df200002
-d8c04c63
+d8c04c66
 20407fe7
 5800ffff
 e8c90000
@@ -24758,12 +24758,12 @@
 c2000012
 20600000
 79200026
-6800cd8f
+6800cd92
 79207e01
-6000cd8f
+6000cd92
 58000708
-60014d87
-704d8600
+60014d8a
+704d8900
 20600000
 20404482
 d8e00003
@@ -24771,10 +24771,10 @@
 58000000
 600146ae
 6000c6b4
-60014c68
+60014c6b
 204042ca
 2040034f
-20200520
+2020050e
 c0280006
 c028800d
 c0290011
@@ -24786,8 +24786,8 @@
 2040405d
 204002b0
 20400011
-20200528
-704d7b00
+20200516
+704d7e00
 204002b0
 204001d9
 2020340a
@@ -24795,43 +24795,43 @@
 20400019
 204004c7
 20403f8d
-68024c63
+68024c66
 6002477b
 20404366
 202002fc
 58000000
-6001cd86
+6001cd89
 20600000
-6800cd86
+6800cd89
 c000add4
 2040002b
 20400191
 242c0145
 24378145
-6800cd8f
+6800cd92
 793ffe02
-6000cd8f
+6000cd92
 704b4200
 20402f20
 2040018e
 20200354
-68024c1b
+68024c1e
 202001c1
 70119eff
-6800cc3c
+6800cc3f
 6000919f
-68024c72
+68024c75
 600211a0
 d8400006
 da20119e
 204001de
 202001f0
-6800cd86
+6800cd89
 c000add4
 70119eff
-6800cc3c
+6800cc3f
 6000919f
-68024c72
+68024c75
 600211a0
 d8400006
 da20119e
@@ -24841,52 +24841,52 @@
 242c0026
 24378026
 204001b6
-68024c63
-680a4d80
+68024c66
+680a4d83
 98467c00
 20228016
-6800cc39
+6800cc3c
 c1840000
-704d8f00
+704d9200
 204002b0
-68024c63
-680a4c47
+68024c66
+680a4c4a
 98467c00
 202281cf
-68024c63
-680a4c72
+68024c66
+680a4c75
 98467c00
 20428024
 704b4200
 20402f20
 2040018e
 20200354
-68024c1b
+68024c1e
 202001c1
-6800cd79
+6800cd7c
 1fe0fe01
 1fe17e03
-6000cd79
+6000cd7c
 c000002d
 c0010037
 202001bd
 204002b0
-68024c72
-60024c63
-6800cd89
-6000cc46
+68024c75
+60024c66
+6800cd8c
+6000cc49
 20400035
-6008cd89
+6008cd8c
 20600000
 204001c2
 20200145
 7041de20
-68024d80
-60024c63
-6800cd8a
-6000cc46
+68024d83
+60024c66
+6800cd8d
+6000cc49
 20400035
-6008cd8a
+6008cd8d
 20600000
 c0380004
 c038800b
@@ -24900,17 +24900,17 @@
 202002fc
 6800cb42
 207a0000
-6800cc67
+6800cc6a
 207a0000
-6800cd8e
+6800cd91
 1fe0fe01
 1fe17e03
-6000cd8e
+6000cd91
 247a0000
-704d8d00
-6800cd8d
+704d9000
+6800cd90
 1fe0fe01
-6000cd8d
+6000cd90
 1fe67c08
 2421001f
 20400025
@@ -24919,15 +24919,15 @@
 2437802e
 204000fd
 2040018e
-6800cd8c
+6800cd8f
 1fe0fe01
-6000cd8c
+6000cd8f
 c00800f5
 20600000
 70119eff
-6800cc3c
+6800cc3f
 6000919f
-68024c72
+68024c75
 600211a0
 d8400006
 da20119e
@@ -24968,25 +24968,25 @@
 c0480004
 c048801e
 20600000
-6800cc40
+6800cc43
 c000ffe7
-6800cc4b
+6800cc4e
 c000800b
 c001000e
 c0018011
 20202a8c
-704c4b11
+704c4e11
 70119eaa
 20200013
-704c4b12
+704c4e12
 70119e55
 20200013
-704c4b13
+704c4e13
 70119e22
-6800cc3c
+6800cc3f
 1fe17e07
 6000919f
-68024c72
+68024c75
 600211a0
 7011a400
 da20119e
@@ -24994,20 +24994,20 @@
 204001de
 2040015a
 20207fe7
-6800cc4b
+6800cc4e
 c17f8000
 c0088024
 c0090026
 c0098028
 20600000
-704c4b02
+704c4e02
 2020018a
-704c4b03
+704c4e03
 2020018a
-704c4bff
+704c4eff
 700a9939
 20407d86
-68024c1b
+68024c1e
 204001c1
 2020018a
 c0500022
@@ -25033,7 +25033,7 @@
 7047c201
 20600000
 704b6101
-20200646
+20200644
 704b6f00
 58000007
 60014496
@@ -25089,4 +25089,4 @@
 704b0a00
 204002fc
 202041d9
-00002bbb
+00005c1d
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/LeXiang/1059Only_BLE/program/patch.prog	(revision 7021)
+++ /branch/mouse_project/LeXiang/1059Only_BLE/program/patch.prog	(working copy)
@@ -2273,22 +2273,22 @@
 	rtn
 p_mouse_multi_led_on:
 	jam ON,mem_mouse_multi_led_state
-	fetch 1,mem_device_flag
-	beq MODE_24G_DEVICE,p_mouse_multi_down_led_on
+	// fetch 1,mem_device_flag
+	// beq MODE_24G_DEVICE,p_mouse_multi_down_led_on
 p_mouse_multi_up_led_on:
 	fetcht 1,mem_mouse_bt_led_gpio
 	call gpio_config_output
 	fetcht 1,mem_mouse_bt_led_gpio
 	branch gpio_out_active
-p_mouse_multi_down_led_on:
-	jam 1,mem_24g_device_led_status
-	hfetch 1,core_gpio_pd0	//gpio5 pull up disable
-	set0 5,pdata
-	hstore 1,core_gpio_pd0
-	fetcht 1,mem_mouse_multi_led_gpio
-	call gpio_config_output
-	fetcht 1,mem_mouse_multi_led_gpio
-	branch gpio_out_active
+// p_mouse_multi_down_led_on:
+// 	jam 1,mem_24g_device_led_status
+// 	hfetch 1,core_gpio_pd0	//gpio5 pull up disable
+// 	set0 5,pdata
+// 	hstore 1,core_gpio_pd0
+// 	fetcht 1,mem_mouse_multi_led_gpio
+// 	call gpio_config_output
+// 	fetcht 1,mem_mouse_multi_led_gpio
+// 	branch gpio_out_active
 	
 p_mouse_multi_led_blink_off:
 	setarg 0
@@ -2301,16 +2301,16 @@
 p_mouse_multi_led_off_wait_blink_over:
 	jam 0,mem_mouse_multi_led_on_timer
 	jam OFF,mem_mouse_multi_led_state
-p_mouse_multi_led_off2:
-	jam 0,mem_24g_device_led_status
-	fetcht 1,mem_mouse_multi_led_gpio
-	call gpio_config_output
-
-	fetcht 1,mem_mouse_multi_led_gpio
-	call gpio_out_inactive
-	hfetch 1,core_gpio_pd0	//gpio5 pull down enable
-	set1 5,pdata
-	hstore 1,core_gpio_pd0
+// p_mouse_multi_led_off2:
+// 	jam 0,mem_24g_device_led_status
+// 	fetcht 1,mem_mouse_multi_led_gpio
+// 	call gpio_config_output
+
+// 	fetcht 1,mem_mouse_multi_led_gpio
+// 	call gpio_out_inactive
+	// hfetch 1,core_gpio_pd0	//gpio5 pull down enable
+	// set1 5,pdata
+	// hstore 1,core_gpio_pd0
 p_mouse_bt_led_suspend:
 	fetcht 1,mem_mouse_bt_led_gpio
 	set0 gpio_active_bit,temp
@@ -2343,6 +2343,7 @@
 	branch p_mouse_multi_led_blink_off
 		
 p_mouse_dpi_multi_led_blink:
+	call p_mouse_multi_led_off
 	jam 3,mem_mouse_multi_led_blink_timer_init	//300ms
 	jam 1,mem_mouse_multi_led_blink_count_limited
 	branch p_mouse_multi_led_blink_enable
@@ -2366,8 +2367,23 @@
 	isub temp,pdata
 	sub pdata,0x6e,null
 	ncall p_mouse_vlotage_add,positive
+	// store 2,mem_mouse_vdd_now_vol
+
+	fetcht 2,mem_mouse_vdd_add
+	iadd temp,temp
+	storet 2,mem_mouse_vdd_add
+	fetch 1,mem_adc_check_count
+	pincrease 1
+	store 1,mem_adc_check_count
+	rtnne 4
+	div temp,4  //取四次ADC值求平均
+	call wait_div_end
+	quotient temp
+	storet 2,mem_mouse_vdd_now_vol
+	jam 0,mem_adc_check_count
+	setarg 0
+	store 2,mem_mouse_vdd_add
 	
-	store 2,mem_mouse_vdd_now_vol
 	arg mem_mouse_vdd_calculate_set,rega
 	call p_adc_bat_percent_lowpower_out
 	fetch 1,mem_adc_power_flag
@@ -2385,14 +2401,17 @@
 p_mouse_vlotage_add:
 	add pdata,0x0e,pdata
 	rtn
+// p_app_enter_hibernate:
+// 	call ice_break
+// 	branch app_enter_hibernate
 	
 p_adc_set_mode:
 //	fetch 1,mem_adc_config_flag
 //	beq ADC_CONFIG_GPIO,p_adc_check_gpio
 //	branch adc_set_mode+1
 p_adc_check_gpio:
-	fetcht 1,mem_mouse_multi_led_gpio
-	call gpio_config_input
+	// fetcht 1,mem_mouse_multi_led_gpio
+	// call gpio_config_input
 	hfetch 1,core_gpio_pd0	//gpio5 pull down disable
 	set0 5,pdata
 	hstore 1,core_gpio_pd0
@@ -2426,15 +2445,16 @@
 	//rtnbit1 UI_STATE_BT_DISCOVERY
 //	fetch 2,mem_mouse_multi_led_blink_count
 //	nrtn blank
-	
+	fetch 1,mem_mouse_multi_led_blink_enable
+	beq ON,p_mouse_adc_low_volatage_led_timer_count_clean
 	fetch 1,mem_adc_low_volatage_led_timer_count
 	pincrease 1
 	store 1,mem_adc_low_volatage_led_timer_count
 	sub pdata,30,null
 	ncall p_mouse_adc_low_volatage_led_timer_count_clean,positive
-	sub pdata,5,null
-	branch p_mouse_multi_led_on,positive
-	branch p_mouse_multi_led_off
+	sub pdata,25,null
+	branch p_mouse_multi_led_off,positive
+	branch p_mouse_multi_led_on
 p_mouse_adc_low_volatage_led_timer_count_clean:
 	jam 1,mem_adc_low_volatage_led_timer_count
 	rtn
@@ -2671,6 +2691,8 @@
 	branch p_zcode_entrance
 
 p_mouse_stop_discovery:
+	setarg 0
+	store 2,mem_mouse_discovery_timer
 	call p_mouse_init_sensor_reset		//clear sensor data,confirm the motion pin high
 	call mouse_stop_discovery+1
 	fetch 1,mem_mouse_multi_led_blink_count
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/LeXiang/1059Only_BLE/sched/mouse.dat	(revision 7021)
+++ /branch/mouse_project/LeXiang/1059Only_BLE/sched/mouse.dat	(working copy)
@@ -135,7 +135,7 @@
 
 mem_discovery_timeout:08 07#3min
 mem_mouse_direct_timeout:58 02#8s
-mem_mouse_no_data_timeout:78 ff#109min
+mem_mouse_no_data_timeout:70 17#78 ff#109min
 mem_mouse_powerdown_sensor_timeout:70 17#10min
 
 mem_flash_ncs_gpio:0a
@@ -148,8 +148,8 @@
 mem_adc_config_flag:02 #0 vinlpm 1 hvin 2 gpio
 mem_adc_channel:32 #gpio5
 mem_mouse_vdd_full_vol:98 00#1.5V
-64 00#mem_mouse_vdd_empty_vol:5a 00# 2.8V
-7e 00#mem_mouse_vdd_low_vol:64 00  #3.2v
+63 00#64 00#mem_mouse_vdd_empty_vol:5a 00# 2.8V
+80 00#mem_mouse_vdd_low_vol:64 00  #3.2v
 mem_adc_read_timer:0a
 
 mem_config_sensor_type:00
@@ -320,7 +320,7 @@
 mem_mouse_dpi_button_state:01
 mem_empty_count:03
 
-mem_mouse_multi_led_gpio:85
+mem_mouse_multi_led_gpio:ff#85
 mem_mouse_multi_led_on_timer_init:1e
 mem_mouse_multi_led_blink_timer_init:03
 mem_mouse_bt_led_gpio:14
