Index: output/flash.dat
===================================================================
--- /branch/mouse_project/ZJL_Project/ZJL_1059/ZJL_CY-004/output/flash.dat	(revision 3630)
+++ /branch/mouse_project/ZJL_Project/ZJL_1059/ZJL_CY-004/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-f2
+ee
 1f
 20
 20
@@ -23,7 +23,7 @@
 20
 40
 07
-08
+07
 68
 00
 c6
@@ -55,7 +55,7 @@
 20
 40
 07
-97
+96
 20
 40
 00
@@ -87,7 +87,7 @@
 58
 00
 06
-50
+4f
 60
 01
 41
@@ -155,11 +155,7 @@
 24
 55
 80
-2b
-20
-40
-02
-ae
+2a
 20
 40
 03
@@ -260,6 +256,10 @@
 00
 00
 01
+20
+00
+00
+01
 c2
 84
 00
@@ -275,43 +275,43 @@
 c0
 42
 87
-74
+73
 c0
 44
 87
-45
+44
 c0
 0d
 86
-65
+64
 c0
 13
 06
-67
+66
 c0
 24
 06
-82
+81
 c0
 25
 06
-84
+83
 c0
 28
 86
-8d
+8c
 c0
 2c
 86
-80
+7f
 c0
 53
 86
-92
+91
 c0
 56
 86
-ab
+aa
 c0
 65
 b3
@@ -319,7 +319,7 @@
 c0
 74
 86
-bc
+bb
 c0
 50
 80
@@ -343,19 +343,19 @@
 c0
 73
 05
-45
+44
 c0
 75
 05
-a9
+a8
 c0
 75
 85
-ad
+ac
 c0
 76
 05
-af
+ae
 20
 20
 2a
@@ -363,75 +363,75 @@
 c0
 1c
 85
-b1
+b0
 c0
 21
 85
-b9
+b8
 c0
 25
 05
-bf
+be
 c0
 2b
 85
-c2
+c1
 c0
 2c
 85
-c4
+c3
 c0
 31
 85
-c6
+c5
 c0
 33
 05
-f0
+ef
 c0
 33
 86
-07
+06
 c0
 35
 06
-3d
+3c
 c0
 3b
 86
-46
+45
 c0
 02
 86
-be
+bd
 c0
 40
 06
-c0
+bf
 c0
 41
 06
-ca
+c9
 c0
 44
 06
-cc
+cb
 c0
 46
 06
-52
+51
 c0
 46
 86
-5e
+5d
 c0
 50
 04
-fc
+fb
 c0
 7d
 06
-f0
+ef
 20
 20
 2a
@@ -651,7 +651,7 @@
 20
 40
 07
-19
+18
 58
 01
 77
@@ -999,7 +999,7 @@
 20
 40
 07
-0f
+0e
 20
 20
 01
@@ -1043,7 +1043,7 @@
 20
 40
 07
-0f
+0e
 70
 4d
 60
@@ -1383,7 +1383,7 @@
 20
 40
 07
-0b
+0a
 70
 4b
 58
@@ -1479,7 +1479,7 @@
 20
 40
 07
-08
+07
 20
 20
 01
@@ -1599,11 +1599,11 @@
 20
 40
 07
-3c
+3b
 20
 40
 07
-0f
+0e
 20
 20
 01
@@ -1683,7 +1683,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -1691,7 +1691,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -1699,7 +1699,7 @@
 20
 20
 07
-76
+75
 70
 11
 9e
@@ -2675,7 +2675,7 @@
 20
 40
 04
-e3
+e2
 d8
 40
 02
@@ -2719,7 +2719,7 @@
 20
 20
 07
-76
+75
 68
 00
 cc
@@ -2739,7 +2739,7 @@
 20
 20
 07
-76
+75
 70
 42
 12
@@ -3095,7 +3095,7 @@
 20
 40
 02
-ac
+ae
 58
 00
 08
@@ -3111,7 +3111,7 @@
 20
 20
 07
-76
+75
 70
 80
 86
@@ -3419,7 +3419,7 @@
 20
 20
 07
-76
+75
 70
 4b
 65
@@ -3531,7 +3531,7 @@
 20
 20
 07
-76
+75
 68
 00
 c7
@@ -3699,7 +3699,7 @@
 20
 20
 05
-99
+98
 70
 4b
 4b
@@ -3759,7 +3759,7 @@
 20
 20
 05
-a4
+a3
 70
 4b
 52
@@ -4247,7 +4247,7 @@
 20
 40
 05
-5a
+59
 60
 00
 cb
@@ -4259,7 +4259,7 @@
 20
 40
 05
-a4
+a3
 1a
 22
 7e
@@ -4383,7 +4383,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -4391,7 +4391,7 @@
 20
 20
 07
-76
+75
 70
 0a
 99
@@ -4407,7 +4407,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -4415,7 +4415,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -4423,7 +4423,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -4431,7 +4431,7 @@
 20
 20
 07
-76
+75
 70
 48
 0b
@@ -4451,7 +4451,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -4459,7 +4459,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -4467,7 +4467,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -4475,7 +4475,7 @@
 20
 20
 07
-76
+75
 20
 40
 02
@@ -4491,7 +4491,7 @@
 20
 20
 07
-76
+75
 68
 00
 cb
@@ -4511,7 +4511,7 @@
 20
 40
 04
-e3
+e2
 20
 40
 04
@@ -4998,10 +4998,6 @@
 7e
 20
 40
-02
-ae
-20
-40
 03
 04
 20
@@ -5027,11 +5023,11 @@
 20
 41
 04
-f5
+f4
 24
 41
 04
-f9
+f8
 20
 40
 68
@@ -5039,7 +5035,7 @@
 20
 40
 05
-18
+17
 20
 40
 69
@@ -5055,7 +5051,7 @@
 20
 40
 05
-22
+21
 68
 00
 c2
@@ -5071,7 +5067,7 @@
 c3
 00
 05
-10
+0f
 70
 4a
 ff
@@ -5087,7 +5083,7 @@
 24
 3a
 04
-f9
+f8
 70
 42
 2d
@@ -5115,7 +5111,7 @@
 c0
 01
 04
-ff
+fe
 20
 20
 69
@@ -5135,7 +5131,7 @@
 20
 20
 05
-03
+02
 98
 46
 22
@@ -5151,7 +5147,7 @@
 24
 21
 05
-08
+07
 20
 20
 69
@@ -5175,7 +5171,7 @@
 20
 41
 05
-0e
+0d
 20
 20
 69
@@ -5227,7 +5223,7 @@
 c0
 01
 05
-1b
+1a
 20
 20
 68
@@ -5275,11 +5271,11 @@
 c0
 01
 05
-33
+32
 c0
 00
 05
-27
+26
 68
 01
 0a
@@ -5299,7 +5295,7 @@
 20
 40
 05
-39
+38
 68
 09
 0a
@@ -5343,7 +5339,7 @@
 24
 21
 05
-3d
+3c
 20
 40
 04
@@ -5351,7 +5347,7 @@
 20
 20
 05
-41
+40
 68
 08
 c2
@@ -5427,15 +5423,15 @@
 20
 40
 05
-4f
+4e
 24
 34
 07
-97
+96
 20
 40
 07
-9a
+99
 20
 20
 3f
@@ -5443,7 +5439,7 @@
 20
 40
 05
-51
+50
 20
 20
 40
@@ -5459,23 +5455,23 @@
 20
 40
 05
-73
+72
 20
 40
 05
-79
+78
 20
 40
 05
-7f
+7e
 20
 40
 05
-85
+84
 20
 40
 05
-8c
+8b
 1a
 22
 7e
@@ -5511,11 +5507,11 @@
 20
 41
 05
-a4
+a3
 24
 41
 05
-9b
+9a
 1a
 62
 04
@@ -5531,7 +5527,7 @@
 20
 40
 05
-6d
+6c
 1a
 41
 7e
@@ -5551,11 +5547,11 @@
 c0
 03
 85
-93
+92
 c0
 00
 05
-96
+95
 20
 60
 00
@@ -5599,7 +5595,7 @@
 20
 40
 05
-5a
+59
 60
 00
 cb
@@ -5623,7 +5619,7 @@
 20
 40
 05
-5a
+59
 60
 00
 cb
@@ -5647,7 +5643,7 @@
 20
 40
 05
-5a
+59
 60
 00
 cb
@@ -5671,7 +5667,7 @@
 20
 40
 05
-5a
+59
 60
 00
 cb
@@ -5683,7 +5679,7 @@
 20
 20
 05
-a4
+a3
 70
 4b
 7b
@@ -5699,7 +5695,7 @@
 20
 40
 05
-5a
+59
 60
 00
 cb
@@ -5711,11 +5707,11 @@
 20
 20
 05
-a4
+a3
 20
 21
 05
-97
+96
 f9
 3f
 a2
@@ -5727,7 +5723,7 @@
 20
 21
 05
-94
+93
 f9
 20
 22
@@ -5799,7 +5795,7 @@
 20
 20
 05
-9f
+9e
 70
 4b
 52
@@ -5823,7 +5819,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -5831,7 +5827,7 @@
 20
 20
 07
-76
+75
 68
 00
 c5
@@ -5859,7 +5855,7 @@
 20
 40
 07
-19
+18
 20
 20
 53
@@ -5907,7 +5903,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -5915,7 +5911,7 @@
 20
 20
 07
-76
+75
 68
 00
 84
@@ -5923,11 +5919,11 @@
 c2
 82
 85
-da
+d9
 20
 40
 07
-0b
+0a
 68
 00
 c7
@@ -5935,7 +5931,7 @@
 24
 3a
 05
-d0
+cf
 68
 00
 84
@@ -5943,7 +5939,7 @@
 c3
 02
 05
-d4
+d3
 68
 00
 82
@@ -5951,7 +5947,7 @@
 20
 3a
 05
-d4
+d3
 20
 20
 56
@@ -5979,7 +5975,7 @@
 c0
 82
 85
-d7
+d6
 70
 47
 8e
@@ -5999,11 +5995,11 @@
 20
 40
 05
-dc
+db
 20
 20
 05
-e8
+e7
 68
 00
 c6
@@ -6055,7 +6051,7 @@
 20
 20
 07
-0f
+0e
 68
 00
 c7
@@ -6139,7 +6135,7 @@
 c0
 01
 85
-ff
+fe
 20
 20
 56
@@ -6151,7 +6147,7 @@
 c0
 00
 86
-02
+01
 20
 20
 5c
@@ -6183,11 +6179,11 @@
 c0
 02
 06
-0b
+0a
 c0
 03
 06
-38
+37
 20
 20
 56
@@ -6199,7 +6195,7 @@
 20
 40
 05
-e9
+e8
 20
 40
 7e
@@ -6215,7 +6211,7 @@
 c0
 08
 06
-1a
+19
 1f
 ec
 84
@@ -6227,7 +6223,7 @@
 20
 21
 06
-28
+27
 d8
 40
 47
@@ -6311,7 +6307,7 @@
 c0
 05
 06
-2a
+29
 20
 20
 58
@@ -6327,7 +6323,7 @@
 c2
 81
 86
-31
+30
 68
 01
 04
@@ -6355,7 +6351,7 @@
 24
 22
 86
-2d
+2c
 20
 40
 5a
@@ -6363,7 +6359,7 @@
 24
 34
 06
-2d
+2c
 70
 04
 7a
@@ -6379,7 +6375,7 @@
 c0
 02
 86
-3b
+3a
 20
 20
 5a
@@ -6391,7 +6387,7 @@
 20
 20
 07
-76
+75
 68
 00
 80
@@ -6403,7 +6399,7 @@
 20
 40
 06
-41
+40
 20
 20
 57
@@ -6435,7 +6431,7 @@
 20
 37
 06
-49
+48
 24
 36
 d8
@@ -6475,7 +6471,7 @@
 20
 20
 07
-76
+75
 68
 10
 80
@@ -6515,7 +6511,7 @@
 20
 40
 06
-5f
+5e
 60
 18
 80
@@ -6559,7 +6555,7 @@
 20
 20
 07
-76
+75
 20
 40
 21
@@ -6595,7 +6591,7 @@
 c5
 05
 86
-74
+73
 20
 40
 24
@@ -6603,11 +6599,11 @@
 24
 3a
 06
-6d
+6c
 c5
 16
 86
-7c
+7b
 20
 20
 21
@@ -6643,7 +6639,7 @@
 20
 20
 06
-6d
+6c
 68
 02
 01
@@ -6675,7 +6671,7 @@
 20
 20
 07
-76
+75
 68
 00
 80
@@ -6687,7 +6683,7 @@
 20
 40
 86
-88
+87
 20
 20
 24
@@ -6703,15 +6699,15 @@
 20
 40
 87
-0f
+0e
 24
 40
 87
-0b
+0a
 20
 20
 07
-19
+18
 20
 40
 24
@@ -6775,7 +6771,7 @@
 20
 3a
 06
-9f
+9e
 68
 00
 c5
@@ -6883,7 +6879,7 @@
 20
 5a
 06
-b9
+b8
 20
 20
 2b
@@ -6907,7 +6903,7 @@
 20
 20
 07
-76
+75
 70
 11
 c5
@@ -6915,7 +6911,7 @@
 20
 20
 07
-76
+75
 68
 00
 85
@@ -6927,7 +6923,7 @@
 c0
 09
 86
-c4
+c3
 20
 20
 5d
@@ -6963,7 +6959,7 @@
 20
 20
 07
-76
+75
 20
 40
 62
@@ -6983,11 +6979,11 @@
 c0
 02
 06
-ee
+ed
 c0
 08
 06
-d3
+d2
 20
 20
 63
@@ -7003,7 +6999,7 @@
 c0
 00
 86
-d7
+d6
 20
 20
 63
@@ -7019,7 +7015,7 @@
 c2
 80
 06
-db
+da
 20
 20
 63
@@ -7087,7 +7083,7 @@
 24
 21
 06
-ec
+eb
 20
 20
 63
@@ -7127,15 +7123,15 @@
 c0
 0f
 86
-fb
+fa
 c0
 10
 06
-fe
+fd
 c0
 09
 06
-f8
+f7
 20
 20
 7d
@@ -7162,8 +7158,8 @@
 4f
 20
 20
-07
-00
+06
+ff
 70
 01
 85
@@ -7243,7 +7239,7 @@
 24
 41
 07
-17
+16
 68
 00
 cd
@@ -7307,7 +7303,7 @@
 c5
 13
 07
-23
+22
 58
 00
 00
@@ -7319,7 +7315,7 @@
 24
 21
 07
-3b
+3a
 68
 00
 cd
@@ -7331,7 +7327,7 @@
 24
 21
 07
-2b
+2a
 68
 00
 cd
@@ -7339,7 +7335,7 @@
 c0
 00
 07
-3c
+3b
 20
 60
 00
@@ -7367,7 +7363,7 @@
 c5
 13
 07
-32
+31
 58
 00
 00
@@ -7387,7 +7383,7 @@
 c0
 00
 07
-43
+42
 1f
 e0
 ff
@@ -7399,7 +7395,7 @@
 c0
 00
 07
-43
+42
 70
 41
 de
@@ -7419,7 +7415,7 @@
 c0
 01
 07
-41
+40
 1f
 e0
 fe
@@ -7431,7 +7427,7 @@
 c0
 00
 87
-39
+38
 70
 41
 de
@@ -7515,19 +7511,19 @@
 c0
 01
 07
-5d
+5c
 c0
 02
 07
-62
+61
 c0
 10
 07
-71
+70
 20
 40
 07
-67
+66
 70
 89
 55
@@ -7547,7 +7543,7 @@
 20
 40
 07
-6c
+6b
 70
 89
 55
@@ -7567,7 +7563,7 @@
 20
 40
 07
-67
+66
 70
 89
 55
@@ -7663,7 +7659,7 @@
 20
 22
 87
-95
+94
 60
 08
 cb
@@ -7739,7 +7735,7 @@
 24
 22
 87
-86
+85
 20
 40
 02
@@ -7799,7 +7795,7 @@
 20
 40
 07
-eb
+ea
 58
 00
 00
@@ -7807,7 +7803,7 @@
 20
 40
 07
-de
+dd
 58
 00
 00
@@ -7815,7 +7811,7 @@
 20
 40
 07
-e4
+e3
 68
 00
 cb
@@ -7823,11 +7819,11 @@
 c0
 00
 87
-a4
+a3
 20
 20
 07
-97
+96
 68
 01
 4b
@@ -7847,7 +7843,7 @@
 20
 40
 07
-b7
+b6
 68
 01
 11
@@ -7883,7 +7879,7 @@
 20
 40
 07
-b7
+b6
 68
 01
 11
@@ -7927,7 +7923,7 @@
 20
 20
 87
-c4
+c3
 68
 00
 91
@@ -7935,7 +7931,7 @@
 c0
 7f
 87
-cb
+ca
 68
 00
 91
@@ -7963,7 +7959,7 @@
 c0
 00
 07
-c8
+c7
 68
 01
 91
@@ -7971,7 +7967,7 @@
 20
 20
 07
-c0
+bf
 70
 11
 c4
@@ -7983,7 +7979,7 @@
 20
 20
 07
-c0
+bf
 68
 00
 91
@@ -7991,7 +7987,7 @@
 20
 40
 07
-d6
+d5
 60
 00
 91
@@ -8003,7 +7999,7 @@
 20
 3a
 07
-d4
+d3
 58
 00
 00
@@ -8027,7 +8023,7 @@
 20
 20
 07
-d1
+d0
 1f
 e6
 7e
@@ -8067,7 +8063,7 @@
 24
 21
 07
-e9
+e8
 9a
 46
 7c
@@ -8075,7 +8071,7 @@
 24
 21
 07
-e9
+e8
 70
 4b
 0d
@@ -8103,7 +8099,7 @@
 20
 20
 07
-e2
+e1
 70
 4b
 0d
@@ -8123,7 +8119,7 @@
 20
 40
 07
-f4
+f3
 1f
 e2
 22
@@ -8139,7 +8135,7 @@
 20
 40
 07
-f4
+f3
 1f
 e2
 24
@@ -8155,7 +8151,7 @@
 c0
 7f
 87
-f9
+f8
 68
 00
 91
@@ -8179,9 +8175,9 @@
 20
 20
 07
-f7
-b3
-c0
+f6
+9b
+f9
 aa
 55
 08
@@ -9305,9 +9301,15 @@
 00
 9a
 4b
-64
+66
 30
 00
+55
+aa
+aa
+55
+a7
+26
 ff
 20
 20
@@ -10376,7 +10378,7 @@
 20
 40
 04
-e3
+e2
 68
 00
 cb
@@ -10652,7 +10654,7 @@
 20
 40
 04
-e3
+e2
 68
 00
 cb
@@ -11338,10 +11340,6 @@
 03
 a9
 20
-40
-02
-da
-20
 20
 42
 cb
@@ -11357,6 +11355,10 @@
 00
 00
 00
+00
+00
+00
+00
 20
 20
 00
@@ -11384,7 +11386,7 @@
 20
 40
 04
-e3
+e2
 20
 40
 04
@@ -11556,7 +11558,7 @@
 20
 40
 04
-e3
+e2
 20
 40
 43
@@ -12140,7 +12142,7 @@
 c0
 01
 00
-24
+27
 20
 60
 00
@@ -12215,8 +12217,8 @@
 08
 c2
 83
-c1
-f5
+80
+23
 c2
 80
 33
@@ -12262,7 +12264,19 @@
 33
 a9
 20
+20
+04
+e0
+20
 40
+41
+c1
+68
+01
+42
+08
+c2
+80
 33
 a9
 20
@@ -12296,11 +12310,11 @@
 c0
 03
 80
-2d
+30
 c0
 00
 80
-34
+37
 20
 20
 4d
@@ -12340,7 +12354,7 @@
 c0
 02
 80
-37
+3a
 20
 20
 4d
@@ -12369,21 +12383,9 @@
 00
 00
 00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
 aa
 55
 00
 00
-29
-ca
+6b
+74
Index: output/program.lis
===================================================================
--- /branch/mouse_project/ZJL_Project/ZJL_1059/ZJL_CY-004/output/program.lis	(revision 3630)
+++ /branch/mouse_project/ZJL_Project/ZJL_1059/ZJL_CY-004/output/program.lis	(working copy)
@@ -10,7 +10,7 @@
 0001 204003db call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
 0003 6000cce4 store 1 ,mem_tx_power_temp 
-0004 20400708 call power_ctrl_pac_succ_cnt_init 
+0004 20400707 call power_ctrl_pac_succ_cnt_init 
 0005 6800c685 fetch 1 ,mem_ui_button_timeout 
 0006 6000cb46 store 1 ,mem_select_ui_button_count 
 0007 6000c6da store 1 ,mem_combination_ui_button_count 
@@ -18,7 +18,7 @@
 0009 6000cb33 store 1 ,mem_bt_ui_button_count 
 000a 204043ca call mouse_bt_discovery_button_down_disable 
 000b 204002ac call p_mouse_spi_init 
-000c 20400797 call p_drawing_optima_init 
+000c 20400796 call p_drawing_optima_init 
 000d 20400010 call p_mouse_cb_fuction 
 000e 20400023 call p_mouse_wakeup_from_power 
 000f 20200307 branch p_mouse_setting_config 
@@ -28,7 +28,7 @@
 0011 60014d5e store 2 ,mem_cb_24g_data 
 0012 580003c7 setarg p_mouse_le 
 0013 600141ef store 2 ,mem_cb_le_process 
-0014 58000650 setarg p_le_mouse_bb_event_connect_complete 
+0014 5800064f setarg p_le_mouse_bb_event_connect_complete 
 0015 600141f9 store 2 ,mem_cb_att_write 
 0016 580003f6 setarg p_mouse_bt 
 0017 600141f1 store 2 ,mem_cb_bt_process 
@@ -47,19 +47,19 @@
 p_mouse_wakeup_from_power:
 0023 58000019 setarg 25 
 0024 60014d70 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-0025 2455802b ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
-0026 204002ae call p_mouse_init_sunt 
-0027 20400304 call p_mouse_sensor_powerdown 
+0025 2455802a ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
+0026 20400304 call p_mouse_sensor_powerdown 
 
 p_mouse_wakeup_no_from_power:
-0028 6800c71f fetch 1 ,mem_reconn_times_init 
-0029 6000c71e store 1 ,mem_reconn_times 
-002a 20600000 rtn 
+0027 6800c71f fetch 1 ,mem_reconn_times_init 
+0028 6000c71e store 1 ,mem_reconn_times 
+0029 20600000 rtn 
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
-002b 58000177 setarg 375 
-002c 60014d70 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-002d 20600000 rtn 
+002a 58000177 setarg 375 
+002b 60014d70 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+002c 20600000 rtn 
+002d 20000001 nop 1 
 002e 20000001 nop 1 
 002f 20000001 nop 1 
 0030 20000001 nop 1 
@@ -83,48 +83,48 @@
 0040 c2840059 bbit1 8 ,pf_patch_ext 
 0041 c0008076 beq patch00_1 ,p_soft_reset_1 
 0042 c0010080 beq patch00_2 ,p_soft_reset_2 
-0043 c0428774 beq patch10_5 ,p_shutdown_radio 
-0044 c0448745 beq patch11_1 ,p_set_freq_tx 
-0045 c00d8665 beq patch03_3 ,p_page_wait_fhs_reply_ok 
-0046 c0130667 beq patch04_6 ,p_role_switch_master 
-0047 c0240682 beq patch09_0 ,p_quit_connection_cont 
-0048 c0250684 beq patch09_2 ,p_prepare_tx 
-0049 c028868d beq patch0a_1 ,p_slave_conn_recv_packet 
-004a c02c8680 beq patch0b_1 ,p_process_dmh 
-004b c0538692 beq patch14_7 ,p_lpm_dispatch 
-004c c05686ab beq patch15_5 ,p_lpm_set_mult 
+0043 c0428773 beq patch10_5 ,p_shutdown_radio 
+0044 c0448744 beq patch11_1 ,p_set_freq_tx 
+0045 c00d8664 beq patch03_3 ,p_page_wait_fhs_reply_ok 
+0046 c0130666 beq patch04_6 ,p_role_switch_master 
+0047 c0240681 beq patch09_0 ,p_quit_connection_cont 
+0048 c0250683 beq patch09_2 ,p_prepare_tx 
+0049 c028868c beq patch0a_1 ,p_slave_conn_recv_packet 
+004a c02c867f beq patch0b_1 ,p_process_dmh 
+004b c0538691 beq patch14_7 ,p_lpm_dispatch 
+004c c05686aa beq patch15_5 ,p_lpm_set_mult 
 004d c065b3e4 beq patch19_3 ,app_bt_start_reconnect + 3 
-004e c07486bc beq patch1d_1 ,p_mouse_bb_disconnected 
+004e c07486bb beq patch1d_1 ,p_mouse_bb_disconnected 
 004f c0508089 beq patch14_1 ,p_init_param 
 0050 c058808e beq patch16_1 ,p_lpm_check_wake_lock 
 0051 c0590098 beq patch16_2 ,p_g24_dispatch 
 0052 c0620294 beq patch18_4 ,p_device_init 
 0053 c07182e3 beq patch1c_3 ,p_mouse_seting_dpi 
-0054 c0730545 beq patch1c_6 ,p_mouse_motion 
-0055 c07505a9 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-0056 c07585ad beq patch1d_3 ,p_mouse_start_discovery 
-0057 c07605af beq patch1d_4 ,p_mouse_stop_discovery 
+0054 c0730544 beq patch1c_6 ,p_mouse_motion 
+0055 c07505a8 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+0056 c07585ac beq patch1d_3 ,p_mouse_start_discovery 
+0057 c07605ae beq patch1d_4 ,p_mouse_stop_discovery 
 0058 20202a8e branch loop 
 
 pf_patch_ext:
-0059 c01c85b1 beq patch27_1 ,p_le_slave_match 
-005a c02185b9 beq patch28_3 ,p_le_next_adv_channel 
-005b c02505bf beq patch29_2 ,p_le_receive_skip 
-005c c02b85c2 beq patch2a_7 ,p_le_update_param 
-005d c02c85c4 beq patch2b_1 ,p_le_update_channel_map 
-005e c03185c6 beq patch2c_3 ,p_le_prepare_tx 
-005f c03305f0 beq patch2c_6 ,p_le_parse 
-0060 c0338607 beq patch2c_7 ,p_le_parse_l2cap 
-0061 c035063d beq patch2d_2 ,p_le_adv_not_match 
-0062 c03b8646 beq patch2e_7 ,p_le_lpm_setmult 
-0063 c00286be beq patch20_5 ,p_hid_rx_process 
-0064 c04006c0 beq patch30_0 ,p_parse_lmp_accepted 
-0065 c04106ca beq patch30_2 ,p_send_lmp 
-0066 c04406cc beq patch31_0 ,p_process_conn_sm 
-0067 c0460652 beq patch31_4 ,p_twspi_reset 
-0068 c046865e beq patch31_5 ,p_spid_init 
-0069 c05004fc beq patch34_0 ,p_vdd_calculate_by_mode 
-006a c07d06f0 beq patch3f_2 ,p_check_51cmd_once_continue 
+0059 c01c85b0 beq patch27_1 ,p_le_slave_match 
+005a c02185b8 beq patch28_3 ,p_le_next_adv_channel 
+005b c02505be beq patch29_2 ,p_le_receive_skip 
+005c c02b85c1 beq patch2a_7 ,p_le_update_param 
+005d c02c85c3 beq patch2b_1 ,p_le_update_channel_map 
+005e c03185c5 beq patch2c_3 ,p_le_prepare_tx 
+005f c03305ef beq patch2c_6 ,p_le_parse 
+0060 c0338606 beq patch2c_7 ,p_le_parse_l2cap 
+0061 c035063c beq patch2d_2 ,p_le_adv_not_match 
+0062 c03b8645 beq patch2e_7 ,p_le_lpm_setmult 
+0063 c00286bd beq patch20_5 ,p_hid_rx_process 
+0064 c04006bf beq patch30_0 ,p_parse_lmp_accepted 
+0065 c04106c9 beq patch30_2 ,p_send_lmp 
+0066 c04406cb beq patch31_0 ,p_process_conn_sm 
+0067 c0460651 beq patch31_4 ,p_twspi_reset 
+0068 c046865d beq patch31_5 ,p_spid_init 
+0069 c05004fb beq patch34_0 ,p_vdd_calculate_by_mode 
+006a c07d06ef beq patch3f_2 ,p_check_51cmd_once_continue 
 006b 20202a8e branch loop 
 
 p_rssi_signal:
@@ -197,7 +197,7 @@
 009e 20400150 call p_g24_transmit_packet 
 009f 6800cc3d fetch 1 ,mem_24g_pairing_sm 
 00a0 c1ff8000 rtnne state_24g_pairing_success 
-00a1 20400719 call power_ctrl_start 
+00a1 20400718 call power_ctrl_start 
 00a2 58017700 setarg g24_long_sleep_step1 
 00a3 6001cc5c store 3 ,mem_24g_enter_hibernate 
 00a4 704b7414 jam 20 ,mem_24g_long_sleep_param_update_timer 
@@ -314,7 +314,7 @@
 00f5 793ffe04 set0 bit_hop ,pdata 
 00f6 6000cc2e store 1 ,mem_24g_data_type 
 00f7 6000cbe9 store 1 ,mem_24g_txpayload 
-00f8 2040070f call power_ctrl_pac_succ_decrs 
+00f8 2040070e call power_ctrl_pac_succ_decrs 
 00f9 202001e6 branch p_g24_ch 
 
 p_g24_rf_hop_attemp_again:
@@ -331,7 +331,7 @@
 0102 20200150 branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-0103 2040070f call power_ctrl_pac_succ_decrs 
+0103 2040070e call power_ctrl_pac_succ_decrs 
 0104 704d6000 jam 0 ,mem_24g_hop_fastly_cnt 
 0105 202000eb branch p_g24_transmit_rf_ctrl_clear 
 
@@ -446,7 +446,7 @@
 0155 2437817d nbranch p_g24_retransmit ,user3 
 0156 2040016a call p_g24_txbuf_clear 
 0157 2040019b call p_g24_ackpayload_parse 
-0158 2040070b call power_ctrl_pac_succ_incrs 
+0158 2040070a call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
 0159 704b5800 jam 0 ,mem_retry_count 
@@ -480,7 +480,7 @@
 016f 20600000 rtn 
 
 p_g24_paring_mode_start:
-0170 20400708 call power_ctrl_pac_succ_cnt_init 
+0170 20400707 call power_ctrl_pac_succ_cnt_init 
 0171 202001a4 branch p_g24_paring_mode 
 
 p_g24_transmit_receive_ack:
@@ -522,8 +522,8 @@
 018d 20207d86 branch ui_ipc_send_event 
 
 p_g24_tx_fast_hop:
-018e 2040073c call power_ctrl_txpower_incrs 
-018f 2040070f call power_ctrl_pac_succ_decrs 
+018e 2040073b call power_ctrl_txpower_incrs 
+018f 2040070e call power_ctrl_pac_succ_decrs 
 0190 202001e6 branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
@@ -549,15 +549,15 @@
 
 p_g24_pairing_sm:
 01a2 7011c590 jam zcode_90 ,mem_zcode_temp_param0 
-01a3 20200776 branch p_zcode_entrance 
+01a3 20200775 branch p_zcode_entrance 
 
 p_g24_paring_mode:
 01a4 7011c591 jam zcode_91 ,mem_zcode_temp_param0 
-01a5 20200776 branch p_zcode_entrance 
+01a5 20200775 branch p_zcode_entrance 
 
 p_g24_auto_pair_start:
 01a6 7011c570 jam zcode_70 ,mem_zcode_temp_param0 
-01a7 20200776 branch p_zcode_entrance 
+01a7 20200775 branch p_zcode_entrance 
 
 p_g24_tx_attemp_data_prep:
 01a8 70119eff jam 0xff ,mem_24g_common_temp 
@@ -867,7 +867,7 @@
 
 p_device_wake_from_power:
 029a 20400001 call p_wake_from_power 
-029b 204004e3 call p_mouse_adc_read 
+029b 204004e2 call p_mouse_adc_read 
 029c d8400258 arg 600 ,temp 
 029d 680146aa fetch 2 ,mem_mouse_no_data_timeout 
 029e 98460400 isub temp ,temp 
@@ -880,7 +880,7 @@
 
 p_mouse_check_reconn_target:
 02a5 7011c530 jam zcode_30 ,mem_zcode_temp_param0 
-02a6 20200776 branch p_zcode_entrance 
+02a6 20200775 branch p_zcode_entrance 
 
 p_mouse_tx_power_init:
 02a7 6800cce4 fetch 1 ,mem_tx_power_temp 
@@ -889,7 +889,7 @@
 
 p_mouse_24g_pairing_button:
 02aa 7011c571 jam zcode_71 ,mem_zcode_temp_param0 
-02ab 20200776 branch p_zcode_entrance 
+02ab 20200775 branch p_zcode_entrance 
 
 p_device_wake_from_lpm:
 
@@ -1030,13 +1030,13 @@
 0303 202040f4 branch mouse_sensor_enable_wp 
 
 p_mouse_sensor_powerdown:
-0304 204002ac call p_mouse_spi_init 
+0304 204002ae call p_mouse_init_sunt 
 0305 58000806 setarg 0x0806 
 0306 20206413 branch twspi_write 
 
 p_mouse_setting_config:
 0307 7011c580 jam zcode_80 ,mem_zcode_temp_param0 
-0308 20200776 branch p_zcode_entrance 
+0308 20200775 branch p_zcode_entrance 
 
 p_spid_init_flash:
 0309 70808640 jam 0x40 ,core_spid_ctrl 
@@ -1133,7 +1133,7 @@
 
 p_mouse_load_flash_device_info:
 0354 7011c531 jam zcode_31 ,mem_zcode_temp_param0 
-0355 20200776 branch p_zcode_entrance 
+0355 20200775 branch p_zcode_entrance 
 
 p_mouse_le_fast_conn_disable:
 0356 704b655a jam 0x5a ,mem_mouse_fast_conn_flag 
@@ -1177,7 +1177,7 @@
 
 p_g24_start_24g_mode:
 0370 7011c560 jam zcode_60 ,mem_zcode_temp_param0 
-0371 20200776 branch p_zcode_entrance 
+0371 20200775 branch p_zcode_entrance 
 
 p_mouse_24g_led_blink:
 0372 6800c720 fetch 1 ,mem_device_flag 
@@ -1233,7 +1233,7 @@
 p_mouse_24g_led_off:
 0399 704b4b00 jam 0 ,mem_24g_device_led_status 
 039a 6808cb4c fetcht 1 ,mem_device_24g_led_gpio 
-039b 20200599 branch p_gpio_set_input_high_impedance 
+039b 20200598 branch p_gpio_set_input_high_impedance 
 
 p_mouse_24g_led_on:
 039c 704b4b01 jam 1 ,mem_24g_device_led_status 
@@ -1256,7 +1256,7 @@
 
 p_mouse_bt_led_off:
 03a9 6808cb4d fetcht 1 ,mem_device_bt_led_gpio 
-03aa 202005a4 branch p_gpio_set_input_pu 
+03aa 202005a3 branch p_gpio_set_input_pu 
 
 p_mouse_device_poweron_led_off:
 03ab 704b5200 jam 0 ,mem_mouse_poweron_led_timer 
@@ -1416,10 +1416,10 @@
 0421 704b7b05 jam 0x05 ,mem_mouse_key_temp 
 0422 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
 0423 6800cb7a fetch 1 ,mem_mouse_dpikey_press_status 
-0424 2040055a call p_mouse_check_key 
+0424 20400559 call p_mouse_check_key 
 0425 6000cb7a store 1 ,mem_mouse_dpikey_press_status 
 0426 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0427 204005a4 call p_gpio_set_input_pu 
+0427 204005a3 call p_gpio_set_input_pu 
 0428 1a227e00 copy rega ,pdata 
 0429 c282842b bbit1 5 ,p_mouse_dpi_down 
 042a 20203d62 branch mouse_dpi_up 
@@ -1456,11 +1456,11 @@
 
 p_mouse_le_bb_event_connected:
 0445 7011c5b0 jam zcode_b0 ,mem_zcode_temp_param0 
-0446 20200776 branch p_zcode_entrance 
+0446 20200775 branch p_zcode_entrance 
 
 p_mouse_le_bb_disconnected:
 0447 7011c5a2 jam zcode_a2 ,mem_zcode_temp_param0 
-0448 20200776 branch p_zcode_entrance 
+0448 20200775 branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
@@ -1470,21 +1470,21 @@
 
 p_mouse_le_ll_start_encryt:
 044b 7011c5b3 jam zcode_b3 ,mem_zcode_temp_param0 
-044c 20200776 branch p_zcode_entrance 
+044c 20200775 branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
 044d 7011c5a1 jam zcode_a1 ,mem_zcode_temp_param0 
-044e 20200776 branch p_zcode_entrance 
+044e 20200775 branch p_zcode_entrance 
 
 p_mouse_bb_event_reconn_timeout:
 
 p_mouse_bb_event_reconn_failed:
 044f 7011c5a3 jam zcode_a3 ,mem_zcode_temp_param0 
-0450 20200776 branch p_zcode_entrance 
+0450 20200775 branch p_zcode_entrance 
 
 p_mouse_sniff_not_accept:
 0451 7011c5b1 jam zcode_b1 ,mem_zcode_temp_param0 
-0452 20200776 branch p_zcode_entrance 
+0452 20200775 branch p_zcode_entrance 
 
 p_mouse_bb_event_connected:
 0453 70480b00 jam 0 ,mem_mouse_send_switch_req_timer 
@@ -1493,19 +1493,19 @@
 
 p_mouse_bb_event_disconnected:
 0456 7011c5b4 jam zcode_b4 ,mem_zcode_temp_param0 
-0457 20200776 branch p_zcode_entrance 
+0457 20200775 branch p_zcode_entrance 
 
 p_mouse_enter_sniff_check:
 0458 7011c5b2 jam zcode_b2 ,mem_zcode_temp_param0 
-0459 20200776 branch p_zcode_entrance 
+0459 20200775 branch p_zcode_entrance 
 
 p_mouse_24g_pairing_complete:
 045a 7011c592 jam zcode_92 ,mem_zcode_temp_param0 
-045b 20200776 branch p_zcode_entrance 
+045b 20200775 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_fail:
 045c 7011c561 jam zcode_61 ,mem_zcode_temp_param0 
-045d 20200776 branch p_zcode_entrance 
+045d 20200775 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_success:
 045e 204002b6 call p_mouse_init_sensor_reset 
@@ -1513,7 +1513,7 @@
 
 p_mouse_before_hibernate:
 0460 7011c5a4 jam zcode_a4 ,mem_zcode_temp_param0 
-0461 20200776 branch p_zcode_entrance 
+0461 20200775 branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
 0462 6800cb00 fetch 1 ,mem_mouse_init_sensor_reset_flag 
@@ -1522,7 +1522,7 @@
 0465 20200304 branch p_mouse_sensor_powerdown 
 
 p_mouse_bb_event_timer:
-0466 204004e3 call p_mouse_adc_read 
+0466 204004e2 call p_mouse_adc_read 
 0467 20400476 call p_mouse_low_voltage_led_timer 
 0468 2040049c call p_mouse_wheel_trigger_timer 
 0469 204004c0 call p_mouse_select_device_by_button 
@@ -1692,1112 +1692,1111 @@
 04df 2020437e branch mouse_set_reconnection 
 
 p_app_enter_hibernate:
-04e0 204002ae call p_mouse_init_sunt 
-04e1 20400304 call p_mouse_sensor_powerdown 
-04e2 2020340a branch app_enter_hibernate 
+04e0 20400304 call p_mouse_sensor_powerdown 
+04e1 2020340a branch app_enter_hibernate 
 
 p_mouse_adc_read:
-04e3 6800c6ce fetch 1 ,mem_adc_read_timer 
-04e4 1fe0fe01 increase 1 ,pdata 
-04e5 6000c6ce store 1 ,mem_adc_read_timer 
-04e6 1fe67c0a sub pdata ,10 ,null 
-04e7 204104f5 call p_mouse_adc_read_gpio5 ,positive 
-04e8 244104f9 ncall p_mouse_adc_read_vinlpm ,positive 
+04e2 6800c6ce fetch 1 ,mem_adc_read_timer 
+04e3 1fe0fe01 increase 1 ,pdata 
+04e4 6000c6ce store 1 ,mem_adc_read_timer 
+04e5 1fe67c0a sub pdata ,10 ,null 
+04e6 204104f4 call p_mouse_adc_read_gpio5 ,positive 
+04e7 244104f8 ncall p_mouse_adc_read_vinlpm ,positive 
 
 p_mouse_adc_read_once:
-04e9 204068a8 call adc_init_data 
-04ea 20400518 call p_adc_set_mode 
-04eb 20406908 call vdd_calculate_by_mode 
-04ec 6001470f store 2 ,mem_mouse_vdd_now_vol 
-04ed da204709 arg mem_mouse_vdd_calculate_set ,rega 
-04ee 20400522 call p_adc_bat_percent_lowpower_out 
-04ef 6800c231 fetch 1 ,mem_adc_power_flag 
-04f0 c28104bc bbit1 2 ,p_mouse_set_select_state 
-04f1 c28084e0 bbit1 1 ,p_app_enter_hibernate 
-04f2 c3000510 bbit0 0 ,p_mouse_adc_no_low_voltage 
-04f3 704aff01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-04f4 202043e7 branch mouse_adc_low_voltage 
+04e8 204068a8 call adc_init_data 
+04e9 20400517 call p_adc_set_mode 
+04ea 20406908 call vdd_calculate_by_mode 
+04eb 6001470f store 2 ,mem_mouse_vdd_now_vol 
+04ec da204709 arg mem_mouse_vdd_calculate_set ,rega 
+04ed 20400521 call p_adc_bat_percent_lowpower_out 
+04ee 6800c231 fetch 1 ,mem_adc_power_flag 
+04ef c28104bc bbit1 2 ,p_mouse_set_select_state 
+04f0 c28084e0 bbit1 1 ,p_app_enter_hibernate 
+04f1 c300050f bbit0 0 ,p_mouse_adc_no_low_voltage 
+04f2 704aff01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+04f3 202043e7 branch mouse_adc_low_voltage 
 
 p_mouse_adc_read_gpio5:
-04f5 6800cb4b fetch 1 ,mem_24g_device_led_status 
-04f6 243a04f9 nbranch p_mouse_adc_read_vinlpm ,blank 
-04f7 70422d02 jam adc_config_gpio ,mem_adc_config_flag 
-04f8 20600000 rtn 
+04f4 6800cb4b fetch 1 ,mem_24g_device_led_status 
+04f5 243a04f8 nbranch p_mouse_adc_read_vinlpm ,blank 
+04f6 70422d02 jam adc_config_gpio ,mem_adc_config_flag 
+04f7 20600000 rtn 
 
 p_mouse_adc_read_vinlpm:
-04f9 7046ce00 jam 0 ,mem_adc_read_timer 
-04fa 70422d00 jam adc_config_vinlpm ,mem_adc_config_flag 
-04fb 20600000 rtn 
+04f8 7046ce00 jam 0 ,mem_adc_read_timer 
+04f9 70422d00 jam adc_config_vinlpm ,mem_adc_config_flag 
+04fa 20600000 rtn 
 
 p_vdd_calculate_by_mode:
-04fc 6800c22d fetch 1 ,mem_adc_config_flag 
-04fd c00104ff beq adc_config_gpio ,p_vdd_calculate_io 
-04fe 2020690a branch vdd_calculate_by_mode + 2 
+04fb 6800c22d fetch 1 ,mem_adc_config_flag 
+04fc c00104fe beq adc_config_gpio ,p_vdd_calculate_io 
+04fd 2020690a branch vdd_calculate_by_mode + 2 
 
 p_vdd_calculate_io:
-04ff 68014223 fetch 2 ,mem_1v_adc_io_data 
-0500 6809421d fetcht 2 ,mem_0_5_adc_io_data 
-0501 da600032 arg 50 ,regc 
-0502 20200503 branch p_vdd_calculate 
+04fe 68014223 fetch 2 ,mem_1v_adc_io_data 
+04ff 6809421d fetcht 2 ,mem_0_5_adc_io_data 
+0500 da600032 arg 50 ,regc 
+0501 20200502 branch p_vdd_calculate 
 
 p_vdd_calculate:
-0503 98462200 isub temp ,rega 
-0504 6801422f fetch 2 ,mem_adc_current_value 
-0505 98467e00 isub temp ,pdata 
-0506 24210508 nbranch p_vdd_calculate1 ,positive 
-0507 2020691e branch vdd_calculate + 4 
+0502 98462200 isub temp ,rega 
+0503 6801422f fetch 2 ,mem_adc_current_value 
+0504 98467e00 isub temp ,pdata 
+0505 24210507 nbranch p_vdd_calculate1 ,positive 
+0506 2020691e branch vdd_calculate + 4 
 
 p_vdd_calculate1:
-0508 18427e00 copy temp ,pdata 
-0509 6809422f fetcht 2 ,mem_adc_current_value 
-050a 98467e00 isub temp ,pdata 
-050b 9a267c00 isub rega ,null 
-050c 2041050e call p_vdd_calculate2 ,positive 
-050d 2020692a branch vdd_calculate1 + 3 
+0507 18427e00 copy temp ,pdata 
+0508 6809422f fetcht 2 ,mem_adc_current_value 
+0509 98467e00 isub temp ,pdata 
+050a 9a267c00 isub rega ,null 
+050b 2041050d call p_vdd_calculate2 ,positive 
+050c 2020692a branch vdd_calculate1 + 3 
 
 p_vdd_calculate2:
-050e 1a227e00 copy rega ,pdata 
-050f 20600000 rtn 
+050d 1a227e00 copy rega ,pdata 
+050e 20600000 rtn 
 
 p_mouse_adc_no_low_voltage:
-0510 204043e9 call mouse_adc_no_low_voltage 
-0511 7046cf0c jam 12 ,mem_adc_low_volatage_led_timer_count 
-0512 6800caff fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-0513 207a0000 rtn blank 
-0514 704aff00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-0515 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
-0516 6000c715 store 1 ,mem_mouse_struct_led_gpio 
-0517 20204296 branch mouse_led_off 
+050f 204043e9 call mouse_adc_no_low_voltage 
+0510 7046cf0c jam 12 ,mem_adc_low_volatage_led_timer_count 
+0511 6800caff fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0512 207a0000 rtn blank 
+0513 704aff00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0514 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
+0515 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+0516 20204296 branch mouse_led_off 
 
 p_adc_set_mode:
-0518 6800c22d fetch 1 ,mem_adc_config_flag 
-0519 c001051b beq adc_config_gpio ,p_adc_check_gpio 
-051a 202068ec branch adc_set_mode + 1 
+0517 6800c22d fetch 1 ,mem_adc_config_flag 
+0518 c001051a beq adc_config_gpio ,p_adc_check_gpio 
+0519 202068ec branch adc_set_mode + 1 
 
 p_adc_check_gpio:
-051b 6810807c hfetch 1 ,core_gpio_pd0 
-051c 793ffe05 set0 5 ,pdata 
-051d 6010807c hstore 1 ,core_gpio_pd0 
-051e 7089718f jam 0x8f ,rf_adc_mode 
-051f 6800c22e fetch 1 ,mem_adc_channel 
-0520 60108973 hstore 1 ,rf_adc_ch 
-0521 202068f8 branch read_adc 
+051a 6810807c hfetch 1 ,core_gpio_pd0 
+051b 793ffe05 set0 5 ,pdata 
+051c 6010807c hstore 1 ,core_gpio_pd0 
+051d 7089718f jam 0x8f ,rf_adc_mode 
+051e 6800c22e fetch 1 ,mem_adc_channel 
+051f 60108973 hstore 1 ,rf_adc_ch 
+0520 202068f8 branch read_adc 
 
 p_adc_bat_percent_lowpower_out:
-0522 ea240000 ifetch 8 ,rega 
-0523 60040a9a store 8 ,mem_pdatatemp 
-0524 6800c22d fetch 1 ,mem_adc_config_flag 
-0525 c0010533 beq adc_config_gpio ,p_adc_check_gpio5 
-0526 c0000527 beq adc_config_vinlpm ,p_adc_check_vinlpm 
+0521 ea240000 ifetch 8 ,rega 
+0522 60040a9a store 8 ,mem_pdatatemp 
+0523 6800c22d fetch 1 ,mem_adc_config_flag 
+0524 c0010532 beq adc_config_gpio ,p_adc_check_gpio5 
+0525 c0000526 beq adc_config_vinlpm ,p_adc_check_vinlpm 
 
 p_adc_check_vinlpm:
-0527 68010aa0 fetch 2 ,mem_pdatatemp + 6 
-0528 68090a9c fetcht 2 ,mem_pdatatemp + 2 
-0529 98467c00 isub temp ,null 
-052a 24216944 nbranch adc_set_no_power_flag ,positive 
-052b 20400539 call p_adc_clear_no_power_flag 
-052c 68090a9e fetcht 2 ,mem_pdatatemp + 4 
-052d 98467c00 isub temp ,null 
-052e 24216940 nbranch adc_set_low_power_flag ,positive 
+0526 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+0527 68090a9c fetcht 2 ,mem_pdatatemp + 2 
+0528 98467c00 isub temp ,null 
+0529 24216944 nbranch adc_set_no_power_flag ,positive 
+052a 20400538 call p_adc_clear_no_power_flag 
+052b 68090a9e fetcht 2 ,mem_pdatatemp + 4 
+052c 98467c00 isub temp ,null 
+052d 24216940 nbranch adc_set_low_power_flag ,positive 
 
 p_adc_clear_low_power_flag:
-052f 6800c231 fetch 1 ,mem_adc_power_flag 
-0530 793ffe00 set0 0 ,pdata 
-0531 6000c231 store 1 ,mem_adc_power_flag 
-0532 20600000 rtn 
+052e 6800c231 fetch 1 ,mem_adc_power_flag 
+052f 793ffe00 set0 0 ,pdata 
+0530 6000c231 store 1 ,mem_adc_power_flag 
+0531 20600000 rtn 
 
 p_adc_check_gpio5:
-0533 68094b60 fetcht 2 ,mem_mouse_vdd_0v 
-0534 68010aa0 fetch 2 ,mem_pdatatemp + 6 
-0535 98467c00 isub temp ,null 
-0536 2421053d nbranch p_adc_set_pb_press_flag ,positive 
-0537 204004be call p_mouse_clear_select_state 
-0538 20200541 branch p_adc_clear_pb_press_flag 
+0532 68094b60 fetcht 2 ,mem_mouse_vdd_0v 
+0533 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+0534 98467c00 isub temp ,null 
+0535 2421053c nbranch p_adc_set_pb_press_flag ,positive 
+0536 204004be call p_mouse_clear_select_state 
+0537 20200540 branch p_adc_clear_pb_press_flag 
 
 p_adc_clear_no_power_flag:
-0539 6808c231 fetcht 1 ,mem_adc_power_flag 
-053a 793f8401 set0 1 ,temp 
-053b 6008c231 storet 1 ,mem_adc_power_flag 
-053c 20600000 rtn 
+0538 6808c231 fetcht 1 ,mem_adc_power_flag 
+0539 793f8401 set0 1 ,temp 
+053a 6008c231 storet 1 ,mem_adc_power_flag 
+053b 20600000 rtn 
 
 p_adc_set_pb_press_flag:
-053d 6808c231 fetcht 1 ,mem_adc_power_flag 
-053e 79200402 set1 2 ,temp 
-053f 6008c231 storet 1 ,mem_adc_power_flag 
-0540 20600000 rtn 
+053c 6808c231 fetcht 1 ,mem_adc_power_flag 
+053d 79200402 set1 2 ,temp 
+053e 6008c231 storet 1 ,mem_adc_power_flag 
+053f 20600000 rtn 
 
 p_adc_clear_pb_press_flag:
-0541 6808c231 fetcht 1 ,mem_adc_power_flag 
-0542 793f8402 set0 2 ,temp 
-0543 6008c231 storet 1 ,mem_adc_power_flag 
-0544 20600000 rtn 
+0540 6808c231 fetcht 1 ,mem_adc_power_flag 
+0541 793f8402 set0 2 ,temp 
+0542 6008c231 storet 1 ,mem_adc_power_flag 
+0543 20600000 rtn 
 
 p_mouse_motion:
-0545 78547c00 disable user 
-0546 58000000 setarg 0 
-0547 6003469b store 6 ,mem_mouse_x 
-0548 20403fb5 call mouse_cheak_sensor_data 
-0549 20404079 call mouse_zwheel 
-054a 2040407e call mouse_t_zwheel 
-054b 2040054f call p_mouse_key 
-054c 24340797 nbranch p_drawing_optima_init ,user 
-054d 2040079a call p_drawing_optima 
-054e 20203fa0 branch mouse_motion + 9 
+0544 78547c00 disable user 
+0545 58000000 setarg 0 
+0546 6003469b store 6 ,mem_mouse_x 
+0547 20403fb5 call mouse_cheak_sensor_data 
+0548 20404079 call mouse_zwheel 
+0549 2040407e call mouse_t_zwheel 
+054a 2040054e call p_mouse_key 
+054b 24340796 nbranch p_drawing_optima_init ,user 
+054c 20400799 call p_drawing_optima 
+054d 20203fa0 branch mouse_motion + 9 
 
 p_mouse_key:
-054f 20400551 call p_mouse_check_key_gpio 
-0550 2020409a branch mouse_key + 1 
+054e 20400550 call p_mouse_check_key_gpio 
+054f 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0551 6800c69a fetch 1 ,mem_mouse_key 
-0552 1fe22200 copy pdata ,rega 
-0553 20400573 call p_mouse_check_lkey_gpio 
-0554 20400579 call p_mouse_check_rkey_gpio 
-0555 2040057f call p_mouse_check_mkey_gpio 
-0556 20400585 call p_mouse_check_bkkey_gpio 
-0557 2040058c call p_mouse_check_fwkey_gpio 
-0558 1a227e00 copy rega ,pdata 
-0559 20600000 rtn 
+0550 6800c69a fetch 1 ,mem_mouse_key 
+0551 1fe22200 copy pdata ,rega 
+0552 20400572 call p_mouse_check_lkey_gpio 
+0553 20400578 call p_mouse_check_rkey_gpio 
+0554 2040057e call p_mouse_check_mkey_gpio 
+0555 20400584 call p_mouse_check_bkkey_gpio 
+0556 2040058b call p_mouse_check_fwkey_gpio 
+0557 1a227e00 copy rega ,pdata 
+0558 20600000 rtn 
 
 p_mouse_check_key:
-055a 6000cb7c store 1 ,mem_mouse_key_status 
-055b 1fe3fe00 lshift pdata ,pdata 
-055c 1fe22400 copy pdata ,regb 
-055d 18422600 copy temp ,regc 
-055e 6800cb7b fetch 1 ,mem_mouse_key_temp 
-055f 1fe67c02 sub pdata ,0x02 ,null 
-0560 204105a4 call p_gpio_set_input_pu ,positive 
-0561 2441059b ncall p_gpio_set_input_pd ,positive 
-0562 1a620400 copy regc ,temp 
-0563 2040681d call gpio_get_bit 
-0564 7920a400 setflag true ,0 ,regb 
-0565 2040056d call p_mouse_check_press 
-0566 1a417e07 and regb ,0x07 ,pdata 
-0567 6808cb7b fetcht 1 ,mem_mouse_key_temp 
-0568 18420e00 copy temp ,queue 
-0569 18467c02 sub temp ,0x02 ,null 
-056a c0038593 beq 0x07 ,p_mouse_key_press 
-056b c0000596 beq 0x00 ,p_mouse_key_release 
-056c 20600000 rtn 
+0559 6000cb7c store 1 ,mem_mouse_key_status 
+055a 1fe3fe00 lshift pdata ,pdata 
+055b 1fe22400 copy pdata ,regb 
+055c 18422600 copy temp ,regc 
+055d 6800cb7b fetch 1 ,mem_mouse_key_temp 
+055e 1fe67c02 sub pdata ,0x02 ,null 
+055f 204105a3 call p_gpio_set_input_pu ,positive 
+0560 2441059a ncall p_gpio_set_input_pd ,positive 
+0561 1a620400 copy regc ,temp 
+0562 2040681d call gpio_get_bit 
+0563 7920a400 setflag true ,0 ,regb 
+0564 2040056c call p_mouse_check_press 
+0565 1a417e07 and regb ,0x07 ,pdata 
+0566 6808cb7b fetcht 1 ,mem_mouse_key_temp 
+0567 18420e00 copy temp ,queue 
+0568 18467c02 sub temp ,0x02 ,null 
+0569 c0038592 beq 0x07 ,p_mouse_key_press 
+056a c0000595 beq 0x00 ,p_mouse_key_release 
+056b 20600000 rtn 
 
 p_mouse_check_press:
-056d 6808cb7c fetcht 1 ,mem_mouse_key_status 
-056e 18410401 and_into 0x01 ,temp 
-056f 1a417e01 and regb ,0x01 ,pdata 
-0570 98467c00 isub temp ,null 
-0571 242282d2 nbranch p_mouse_current_mult_update ,zero 
-0572 20600000 rtn 
+056c 6808cb7c fetcht 1 ,mem_mouse_key_status 
+056d 18410401 and_into 0x01 ,temp 
+056e 1a417e01 and regb ,0x01 ,pdata 
+056f 98467c00 isub temp ,null 
+0570 242282d2 nbranch p_mouse_current_mult_update ,zero 
+0571 20600000 rtn 
 
 p_mouse_check_lkey_gpio:
-0573 704b7b00 jam 0x00 ,mem_mouse_key_temp 
-0574 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0575 6800cb75 fetch 1 ,mem_mouse_lkey_press_status 
-0576 2040055a call p_mouse_check_key 
-0577 6000cb75 store 1 ,mem_mouse_lkey_press_status 
-0578 20600000 rtn 
+0572 704b7b00 jam 0x00 ,mem_mouse_key_temp 
+0573 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0574 6800cb75 fetch 1 ,mem_mouse_lkey_press_status 
+0575 20400559 call p_mouse_check_key 
+0576 6000cb75 store 1 ,mem_mouse_lkey_press_status 
+0577 20600000 rtn 
 
 p_mouse_check_rkey_gpio:
-0579 704b7b01 jam 0x01 ,mem_mouse_key_temp 
-057a 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-057b 6800cb76 fetch 1 ,mem_mouse_rkey_press_status 
-057c 2040055a call p_mouse_check_key 
-057d 6000cb76 store 1 ,mem_mouse_rkey_press_status 
-057e 20600000 rtn 
+0578 704b7b01 jam 0x01 ,mem_mouse_key_temp 
+0579 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+057a 6800cb76 fetch 1 ,mem_mouse_rkey_press_status 
+057b 20400559 call p_mouse_check_key 
+057c 6000cb76 store 1 ,mem_mouse_rkey_press_status 
+057d 20600000 rtn 
 
 p_mouse_check_mkey_gpio:
-057f 704b7b02 jam 0x02 ,mem_mouse_key_temp 
-0580 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0581 6800cb77 fetch 1 ,mem_mouse_mkey_press_status 
-0582 2040055a call p_mouse_check_key 
-0583 6000cb77 store 1 ,mem_mouse_mkey_press_status 
-0584 20600000 rtn 
+057e 704b7b02 jam 0x02 ,mem_mouse_key_temp 
+057f 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0580 6800cb77 fetch 1 ,mem_mouse_mkey_press_status 
+0581 20400559 call p_mouse_check_key 
+0582 6000cb77 store 1 ,mem_mouse_mkey_press_status 
+0583 20600000 rtn 
 
 p_mouse_check_bkkey_gpio:
-0585 704b7b03 jam 0x03 ,mem_mouse_key_temp 
-0586 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-0587 6800cb78 fetch 1 ,mem_mouse_bkkey_press_status 
-0588 2040055a call p_mouse_check_key 
-0589 6000cb78 store 1 ,mem_mouse_bkkey_press_status 
-058a 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-058b 202005a4 branch p_gpio_set_input_pu 
+0584 704b7b03 jam 0x03 ,mem_mouse_key_temp 
+0585 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+0586 6800cb78 fetch 1 ,mem_mouse_bkkey_press_status 
+0587 20400559 call p_mouse_check_key 
+0588 6000cb78 store 1 ,mem_mouse_bkkey_press_status 
+0589 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+058a 202005a3 branch p_gpio_set_input_pu 
 
 p_mouse_check_fwkey_gpio:
-058c 704b7b04 jam 0x04 ,mem_mouse_key_temp 
-058d 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-058e 6800cb79 fetch 1 ,mem_mouse_fwkey_press_status 
-058f 2040055a call p_mouse_check_key 
-0590 6000cb79 store 1 ,mem_mouse_fwkey_press_status 
-0591 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-0592 202005a4 branch p_gpio_set_input_pu 
+058b 704b7b04 jam 0x04 ,mem_mouse_key_temp 
+058c 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+058d 6800cb79 fetch 1 ,mem_mouse_fwkey_press_status 
+058e 20400559 call p_mouse_check_key 
+058f 6000cb79 store 1 ,mem_mouse_fwkey_press_status 
+0590 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+0591 202005a3 branch p_gpio_set_input_pu 
 
 p_mouse_key_press:
-0593 20210597 branch p_qset1_rega ,positive 
+0592 20210596 branch p_qset1_rega ,positive 
 
 p_qset0_rega:
-0594 f93fa200 qset0 rega 
-0595 20600000 rtn 
+0593 f93fa200 qset0 rega 
+0594 20600000 rtn 
 
 p_mouse_key_release:
-0596 20210594 branch p_qset0_rega ,positive 
+0595 20210593 branch p_qset0_rega ,positive 
 
 p_qset1_rega:
-0597 f9202200 qset1 rega 
-0598 20600000 rtn 
+0596 f9202200 qset1 rega 
+0597 20600000 rtn 
 
 p_gpio_set_input_high_impedance:
-0599 793f8407 set0 gpio_active_bit ,temp 
-059a 20206806 branch gpio_set_high_impedance 
+0598 793f8407 set0 gpio_active_bit ,temp 
+0599 20206806 branch gpio_set_high_impedance 
 
 p_gpio_set_input_pd:
-059b 793f8407 set0 gpio_active_bit ,temp 
-059c d8a08078 arg core_gpio_pu0 ,contw 
-059d 20406830 call gpio_set_bit 
-059e 79200407 set1 gpio_active_bit ,temp 
+059a 793f8407 set0 gpio_active_bit ,temp 
+059b d8a08078 arg core_gpio_pu0 ,contw 
+059c 20406830 call gpio_set_bit 
+059d 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pd4:
-059f d8a0807c arg core_gpio_pd0 ,contw 
-05a0 20406830 call gpio_set_bit 
-05a1 793f8407 set0 gpio_active_bit ,temp 
-05a2 d8a08070 arg core_gpio_oe0 ,contw 
-05a3 20206830 branch gpio_set_bit 
+059e d8a0807c arg core_gpio_pd0 ,contw 
+059f 20406830 call gpio_set_bit 
+05a0 793f8407 set0 gpio_active_bit ,temp 
+05a1 d8a08070 arg core_gpio_oe0 ,contw 
+05a2 20206830 branch gpio_set_bit 
 
 p_gpio_set_input_pu:
-05a4 79200407 set1 gpio_active_bit ,temp 
+05a3 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pu1:
-05a5 d8a08078 arg core_gpio_pu0 ,contw 
-05a6 20406830 call gpio_set_bit 
-05a7 793f8407 set0 gpio_active_bit ,temp 
-05a8 2020059f branch p_gpio_set_input_pd4 
+05a4 d8a08078 arg core_gpio_pu0 ,contw 
+05a5 20406830 call gpio_set_bit 
+05a6 793f8407 set0 gpio_active_bit ,temp 
+05a7 2020059e branch p_gpio_set_input_pd4 
 
 p_mouse_bb_event_discovery_btn:
-05a9 704b5200 jam 0 ,mem_mouse_poweron_led_timer 
-05aa 280ffe26 isolate1 mark_24g ,mark 
-05ab 204081b1 call p_g24_check_51cmd_stop_24g ,true 
-05ac 2020426d branch mouse_bb_event_discovery_btn + 1 
+05a8 704b5200 jam 0 ,mem_mouse_poweron_led_timer 
+05a9 280ffe26 isolate1 mark_24g ,mark 
+05aa 204081b1 call p_g24_check_51cmd_stop_24g ,true 
+05ab 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_mouse_start_discovery:
-05ad 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
-05ae 20200776 branch p_zcode_entrance 
+05ac 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
+05ad 20200775 branch p_zcode_entrance 
 
 p_mouse_stop_discovery:
-05af 7011c544 jam zcode_44 ,mem_zcode_temp_param0 
-05b0 20200776 branch p_zcode_entrance 
+05ae 7011c544 jam zcode_44 ,mem_zcode_temp_param0 
+05af 20200775 branch p_zcode_entrance 
 
 p_le_slave_match:
-05b1 6800c50f fetch 1 ,mem_le_md_count 
-05b2 1fe0fe01 pincrease 1 
-05b3 6000c50f store 1 ,mem_le_md_count 
-05b4 c0065395 beq le_md_max_count ,le_slave_cont 
-05b5 204055aa call le_acknowledge 
-05b6 2040561e call le_prepare_tx 
-05b7 20400719 call power_ctrl_start 
-05b8 2020538f branch le_slave_match + 7 
+05b0 6800c50f fetch 1 ,mem_le_md_count 
+05b1 1fe0fe01 pincrease 1 
+05b2 6000c50f store 1 ,mem_le_md_count 
+05b3 c0065395 beq le_md_max_count ,le_slave_cont 
+05b4 204055aa call le_acknowledge 
+05b5 2040561e call le_prepare_tx 
+05b6 20400718 call power_ctrl_start 
+05b7 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-05b9 68008016 fetch 1 ,mem_le_ch_mapped 
-05ba 1fe0fe01 increase 1 ,pdata 
-05bb 60008016 store 1 ,mem_le_ch_mapped 
-05bc c1940000 rtnne 40 
-05bd 70001625 jam 37 ,mem_le_ch_mapped 
-05be 20600000 rtn 
+05b8 68008016 fetch 1 ,mem_le_ch_mapped 
+05b9 1fe0fe01 increase 1 ,pdata 
+05ba 60008016 store 1 ,mem_le_ch_mapped 
+05bb c1940000 rtnne 40 
+05bc 70001625 jam 37 ,mem_le_ch_mapped 
+05bd 20600000 rtn 
 
 p_le_receive_skip:
-05bf 204029bb call save_rssi 
-05c0 2040006c call p_rssi_signal 
-05c1 202054a3 branch le_receive_skip + 2 
+05be 204029bb call save_rssi 
+05bf 2040006c call p_rssi_signal 
+05c0 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-05c2 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
-05c3 20200776 branch p_zcode_entrance 
+05c1 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
+05c2 20200775 branch p_zcode_entrance 
 
 p_le_update_channel_map:
-05c4 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
-05c5 20200776 branch p_zcode_entrance 
+05c3 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
+05c4 20200775 branch p_zcode_entrance 
 
 p_le_prepare_tx:
-05c6 68008456 fetch 1 ,mem_le_arq 
-05c7 c28285da bbit1 wak ,p_le_prepare_tx_wak 
-05c8 2040070b call power_ctrl_pac_succ_incrs 
-05c9 6800c78e fetch 1 ,mem_empty_count 
-05ca 243a05d0 nbranch p_le_send_empyt ,blank 
-05cb 6800843f fetch 1 ,mem_le_state 
-05cc c30205d4 bbit0 lestate_encryption ,p_le_tx_4 
-05cd 680082da fetch 1 ,mem_le_rxbuf + 1 
-05ce 203a05d4 branch p_le_tx_4 ,blank 
-05cf 20205664 branch le_send_empty 
+05c5 68008456 fetch 1 ,mem_le_arq 
+05c6 c28285d9 bbit1 wak ,p_le_prepare_tx_wak 
+05c7 2040070a call power_ctrl_pac_succ_incrs 
+05c8 6800c78e fetch 1 ,mem_empty_count 
+05c9 243a05cf nbranch p_le_send_empyt ,blank 
+05ca 6800843f fetch 1 ,mem_le_state 
+05cb c30205d3 bbit0 lestate_encryption ,p_le_tx_4 
+05cc 680082da fetch 1 ,mem_le_rxbuf + 1 
+05cd 203a05d3 branch p_le_tx_4 ,blank 
+05ce 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-05d0 6800c78e fetch 1 ,mem_empty_count 
-05d1 1fe0ffff increase -1 ,pdata 
-05d2 6000c78e store 1 ,mem_empty_count 
-05d3 20205664 branch le_send_empty 
+05cf 6800c78e fetch 1 ,mem_empty_count 
+05d0 1fe0ffff increase -1 ,pdata 
+05d1 6000c78e store 1 ,mem_empty_count 
+05d2 20205664 branch le_send_empty 
 
 p_le_tx_4:
-05d4 6800c4c4 fetch 1 ,mem_le_pairing_state 
-05d5 c08285d7 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-05d6 70478e03 jam 3 ,mem_empty_count 
+05d3 6800c4c4 fetch 1 ,mem_le_pairing_state 
+05d4 c08285d6 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+05d5 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-05d7 20405892 call le_fifo_check_nearly_full 
-05d8 205a03e4 call p_mouse_data_pull ,blank 
-05d9 20205622 branch le_prepare_tx + 4 
+05d6 20405892 call le_fifo_check_nearly_full 
+05d7 205a03e4 call p_mouse_data_pull ,blank 
+05d8 20205622 branch le_prepare_tx + 4 
 
 p_le_prepare_tx_wak:
-05da 204005dc call p_le_check_tx_retransmit_setmd 
-05db 202005e8 branch p_le_power_ctrl_pac_succ_decrs 
+05d9 204005db call p_le_check_tx_retransmit_setmd 
+05da 202005e7 branch p_le_power_ctrl_pac_succ_decrs 
 
 p_le_check_tx_retransmit_setmd:
-05dc 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05dd 1fe17e03 and pdata ,0x03 ,pdata 
-05de c1818000 rtnne 0x03 
-05df 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-05e0 207a0000 rtn blank 
-05e1 6800c3dd fetch 1 ,mem_le_txlen 
-05e2 207a0000 rtn blank 
-05e3 6800c3dc fetch 1 ,mem_le_txheader 
-05e4 79207e04 set1 md ,pdata 
-05e5 6000c3dc store 1 ,mem_le_txheader 
-05e6 20405650 call le_set_md 
-05e7 20600000 rtn 
+05db 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05dc 1fe17e03 and pdata ,0x03 ,pdata 
+05dd c1818000 rtnne 0x03 
+05de 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+05df 207a0000 rtn blank 
+05e0 6800c3dd fetch 1 ,mem_le_txlen 
+05e1 207a0000 rtn blank 
+05e2 6800c3dc fetch 1 ,mem_le_txheader 
+05e3 79207e04 set1 md ,pdata 
+05e4 6000c3dc store 1 ,mem_le_txheader 
+05e5 20405650 call le_set_md 
+05e6 20600000 rtn 
 
 p_le_power_ctrl_pac_succ_decrs:
-05e8 2020070f branch power_ctrl_pac_succ_decrs 
+05e7 2020070e branch power_ctrl_pac_succ_decrs 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-05e9 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
-05ea 207a0000 rtn blank 
-05eb 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05ec 1fe17e03 and pdata ,0x03 ,pdata 
-05ed c1018000 rtneq 0x03 
-05ee 7046c60f jam 15 ,mem_le_start_encrypt_timer 
-05ef 20600000 rtn 
+05e8 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
+05e9 207a0000 rtn blank 
+05ea 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05eb 1fe17e03 and pdata ,0x03 ,pdata 
+05ec c1018000 rtneq 0x03 
+05ed 7046c60f jam 15 ,mem_le_start_encrypt_timer 
+05ee 20600000 rtn 
 
 p_le_parse:
-05f0 c6078000 rtnmark1 mark_old_packet 
-05f1 20405890 call le_fifo_check_full 
-05f2 247a0000 nrtn blank 
-05f3 680082d9 fetch 1 ,mem_le_rxbuf 
-05f4 1fe17e03 and pdata ,0x3 ,pdata 
-05f5 6000c50c store 1 ,mem_le_packet_llid 
-05f6 e8c08000 ifetch 1 ,contr 
-05f7 1fe17e1f and pdata ,0x1f ,pdata 
-05f8 6000c50b store 1 ,mem_le_packet_size 
-05f9 207a0000 rtn blank 
-05fa 18c27e00 copy contr ,pdata 
-05fb 6001450d store 2 ,mem_le_payload_ptr 
-05fc 6800c50c fetch 1 ,mem_le_packet_llid 
-05fd c00185ff beq llid_le_ll ,p_le_parse_ll 
-05fe 2020568d branch le_parse_l2cap 
+05ef c6078000 rtnmark1 mark_old_packet 
+05f0 20405890 call le_fifo_check_full 
+05f1 247a0000 nrtn blank 
+05f2 680082d9 fetch 1 ,mem_le_rxbuf 
+05f3 1fe17e03 and pdata ,0x3 ,pdata 
+05f4 6000c50c store 1 ,mem_le_packet_llid 
+05f5 e8c08000 ifetch 1 ,contr 
+05f6 1fe17e1f and pdata ,0x1f ,pdata 
+05f7 6000c50b store 1 ,mem_le_packet_size 
+05f8 207a0000 rtn blank 
+05f9 18c27e00 copy contr ,pdata 
+05fa 6001450d store 2 ,mem_le_payload_ptr 
+05fb 6800c50c fetch 1 ,mem_le_packet_llid 
+05fc c00185fe beq llid_le_ll ,p_le_parse_ll 
+05fd 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-05ff 680082db fetch 1 ,mem_le_rxbuf + 2 
-0600 c0008602 beq ll_channel_map_req ,p_le_parse_channel_map_req 
-0601 20205c65 branch le_parse_ll + 1 
+05fe 680082db fetch 1 ,mem_le_rxbuf + 2 
+05ff c0008601 beq ll_channel_map_req ,p_le_parse_channel_map_req 
+0600 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_channel_map_req:
-0602 e8c28000 ifetch 5 ,contr 
-0603 6002c3ce store 5 ,mem_le_new_map 
-0604 e8c10000 ifetch 2 ,contr 
-0605 6001045f store 2 ,mem_le_instant 
-0606 20205c8a branch le_parse_channel_map_req + 7 
+0601 e8c28000 ifetch 5 ,contr 
+0602 6002c3ce store 5 ,mem_le_new_map 
+0603 e8c10000 ifetch 2 ,contr 
+0604 6001045f store 2 ,mem_le_instant 
+0605 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-0607 e8c10000 ifetch 2 ,contr 
-0608 c002060b beq le_l2cap_cid_att ,p_le_parse_att 
-0609 c0030638 beq le_l2cap_cid_smp ,p_le_parse_smp 
-060a 20205698 branch le_parse_l2cap + 11 
+0606 e8c10000 ifetch 2 ,contr 
+0607 c002060a beq le_l2cap_cid_att ,p_le_parse_att 
+0608 c0030637 beq le_l2cap_cid_smp ,p_le_parse_smp 
+0609 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-060b 20407ea5 call store_contr 
-060c 204005e9 call p_mouse_le_reconn_write_enable_timer_reinit 
-060d 20407e9f call get_contr 
-060e e8c18000 ifetch 3 ,contr 
-060f 60018477 store 3 ,mem_le_att_opcode 
-0610 c008061a beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-0611 1fec8400 rshift8 pdata ,temp 
-0612 18467c24 sub temp ,0x24 ,null 
-0613 20210628 branch p_le_parse_att1 ,positive 
-0614 d84047c8 arg mem_mouse_le_uuid_sup ,temp 
-0615 600944bc storet 2 ,mem_ui_le_uuid_table 
-0616 204058ad call le_parse_att + 2 
-0617 58008e7a setarg 0x8e7a 
-0618 600144bc store 2 ,mem_ui_le_uuid_table 
-0619 20600000 rtn 
+060a 20407ea5 call store_contr 
+060b 204005e8 call p_mouse_le_reconn_write_enable_timer_reinit 
+060c 20407e9f call get_contr 
+060d e8c18000 ifetch 3 ,contr 
+060e 60018477 store 3 ,mem_le_att_opcode 
+060f c0080619 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+0610 1fec8400 rshift8 pdata ,temp 
+0611 18467c24 sub temp ,0x24 ,null 
+0612 20210627 branch p_le_parse_att1 ,positive 
+0613 d84047c8 arg mem_mouse_le_uuid_sup ,temp 
+0614 600944bc storet 2 ,mem_ui_le_uuid_table 
+0615 204058ad call le_parse_att + 2 
+0616 58008e7a setarg 0x8e7a 
+0617 600144bc store 2 ,mem_ui_le_uuid_table 
+0618 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-061a 204059fa call le_parse_att_read_by_group_type_request 
-061b 20405879 call le_fifo_get_last_tx_ptr 
-061c 18c08c07 increase 7 ,contr 
-061d e8c08000 ifetch 1 ,contr 
-061e c1888000 rtnne attop_read_by_group_type_response 
-061f 18c08c05 increase 5 ,contr 
-0620 e8c10000 ifetch 2 ,contr 
-0621 d8401812 arg uuid_service_hids ,temp 
-0622 98467c00 isub temp ,null 
-0623 24628000 nrtn zero 
-0624 18c08dfc increase -4 ,contr 
-0625 5800002b setarg 0x2b 
-0626 e0c10000 istore 2 ,contr 
-0627 20600000 rtn 
+0619 204059fa call le_parse_att_read_by_group_type_request 
+061a 20405879 call le_fifo_get_last_tx_ptr 
+061b 18c08c07 increase 7 ,contr 
+061c e8c08000 ifetch 1 ,contr 
+061d c1888000 rtnne attop_read_by_group_type_response 
+061e 18c08c05 increase 5 ,contr 
+061f e8c10000 ifetch 2 ,contr 
+0620 d8401812 arg uuid_service_hids ,temp 
+0621 98467c00 isub temp ,null 
+0622 24628000 nrtn zero 
+0623 18c08dfc increase -4 ,contr 
+0624 5800002b setarg 0x2b 
+0625 e0c10000 istore 2 ,contr 
+0626 20600000 rtn 
 
 p_le_parse_att1:
-0628 c005062a beq attop_read_request ,p_le_parse_att_read_request 
-0629 202058ad branch le_parse_att + 2 
+0627 c0050629 beq attop_read_request ,p_le_parse_att_read_request 
+0628 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-062a 68090478 fetcht 2 ,mem_le_att_handle 
-062b 6800c4e9 fetch 1 ,mem_le_configuration 
-062c c2818631 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0629 68090478 fetcht 2 ,mem_le_att_handle 
+062a 6800c4e9 fetch 1 ,mem_le_configuration 
+062b c2818630 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-062d 68010478 fetch 2 ,mem_le_att_handle 
-062e c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-062f 68090478 fetcht 2 ,mem_le_att_handle 
-0630 202059bf branch le_send_att_read_response 
+062c 68010478 fetch 2 ,mem_le_att_handle 
+062d c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+062e 68090478 fetcht 2 ,mem_le_att_handle 
+062f 202059bf branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0631 680144fa fetch 2 ,mem_le_pairing_handle 
-0632 98467c00 isub temp ,null 
-0633 2422862d nbranch p_le_send_att_read_response ,zero 
-0634 20405a42 call le_check_encrypt_state 
-0635 2434062d nbranch p_le_send_att_read_response ,user 
-0636 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
-0637 20205a77 branch le_send_att_error_response 
+0630 680144fa fetch 2 ,mem_le_pairing_handle 
+0631 98467c00 isub temp ,null 
+0632 2422862c nbranch p_le_send_att_read_response ,zero 
+0633 20405a42 call le_check_encrypt_state 
+0634 2434062c nbranch p_le_send_att_read_response ,user 
+0635 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+0636 20205a77 branch le_send_att_error_response 
 
 p_le_parse_smp:
-0638 e8c08000 ifetch 1 ,contr 
-0639 c002863b beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-063a 20205af5 branch le_parse_smp + 1 
+0637 e8c08000 ifetch 1 ,contr 
+0638 c002863a beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0639 20205af5 branch le_parse_smp + 1 
 
 p_le_parse_smp_pairing_failed:
-063b 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
-063c 20200776 branch p_zcode_entrance 
+063a 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
+063b 20200775 branch p_zcode_entrance 
 
 p_le_adv_not_match:
-063d 68008016 fetch 1 ,mem_le_ch_mapped 
-063e c093d6f2 bne 39 ,le_adv_loop 
-063f 20400641 call p_le_adv_random_delay 
-0640 20205710 branch le_adv_not_match2 
+063c 68008016 fetch 1 ,mem_le_ch_mapped 
+063d c093d6f2 bne 39 ,le_adv_loop 
+063e 20400640 call p_le_adv_random_delay 
+063f 20205710 branch le_adv_not_match2 
 
 p_le_adv_random_delay:
-0641 180a7e00 random pdata 
-0642 d84001ff arg 0x1ff ,temp 
-0643 98417e00 iand temp ,pdata 
-0644 1fe0fefa add pdata ,250 ,pdata 
-0645 20203cbe branch delay 
+0640 180a7e00 random pdata 
+0641 d84001ff arg 0x1ff ,temp 
+0642 98417e00 iand temp ,pdata 
+0643 1fe0fefa add pdata ,250 ,pdata 
+0644 20203cbe branch delay 
 
 p_le_lpm_setmult:
-0646 7855fc00 disable wake 
-0647 20370649 branch p_le_lpm_set_mult_attempt ,attempt 
-0648 2436d806 nbranch le_lpm_lost ,match 
+0645 7855fc00 disable wake 
+0646 20370648 branch p_le_lpm_set_mult_attempt ,attempt 
+0647 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-0649 20402bcb call lpm_match 
-064a 680140c1 fetch 2 ,mem_rx_window_sniff 
-064b 6001044d store 2 ,mem_le_receive_window 
-064c 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-064d 2fe00603 compare 3 ,pdata ,3 
-064e 2420abde nbranch lpm_mult_short ,true 
-064f 202057fb branch le_lpm_set_mult_attempt + 3 
+0648 20402bcb call lpm_match 
+0649 680140c1 fetch 2 ,mem_rx_window_sniff 
+064a 6001044d store 2 ,mem_le_receive_window 
+064b 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+064c 2fe00603 compare 3 ,pdata ,3 
+064d 2420abde nbranch lpm_mult_short ,true 
+064e 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-0650 7011c542 jam zcode_42 ,mem_zcode_temp_param0 
-0651 20200776 branch p_zcode_entrance 
+064f 7011c542 jam zcode_42 ,mem_zcode_temp_param0 
+0650 20200775 branch p_zcode_entrance 
 
 p_twspi_reset:
-0652 68108077 hfetch 1 ,core_gpio_out3 
-0653 1fe17efd and_into 0xfd ,pdata 
-0654 60108077 hstore 1 ,core_gpio_out3 
-0655 68188073 hfetcht 1 ,core_gpio_oe3 
-0656 18418402 or_into 0x2 ,temp 
-0657 60188073 hstoret 1 ,core_gpio_oe3 
-0658 204063ee call twspi_disable 
-0659 184104fd and_into 0xfd ,temp 
-065a 2000000d nop 13 
-065b 2040065f call p_twspi_enable 
-065c 60188073 hstoret 1 ,core_gpio_oe3 
-065d 20600000 rtn 
+0651 68108077 hfetch 1 ,core_gpio_out3 
+0652 1fe17efd and_into 0xfd ,pdata 
+0653 60108077 hstore 1 ,core_gpio_out3 
+0654 68188073 hfetcht 1 ,core_gpio_oe3 
+0655 18418402 or_into 0x2 ,temp 
+0656 60188073 hstoret 1 ,core_gpio_oe3 
+0657 204063ee call twspi_disable 
+0658 184104fd and_into 0xfd ,temp 
+0659 2000000d nop 13 
+065a 2040065e call p_twspi_enable 
+065b 60188073 hstoret 1 ,core_gpio_oe3 
+065c 20600000 rtn 
 
 p_spid_init:
-065e 204064dd call spid_init_common 
+065d 204064dd call spid_init_common 
 
 p_twspi_enable:
-065f 68108081 hfetch 1 ,core_gpio_sel1 
-0660 79207e00 set1 0 ,pdata 
-0661 793ffe01 set0 1 ,pdata 
-0662 793ffe03 set0 3 ,pdata 
-0663 60108081 hstore 1 ,core_gpio_sel1 
-0664 20600000 rtn 
+065e 68108081 hfetch 1 ,core_gpio_sel1 
+065f 79207e00 set1 0 ,pdata 
+0660 793ffe01 set0 1 ,pdata 
+0661 793ffe03 set0 3 ,pdata 
+0662 60108081 hstore 1 ,core_gpio_sel1 
+0663 20600000 rtn 
 
 p_page_wait_fhs_reply_ok:
-0665 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
-0666 20200776 branch p_zcode_entrance 
+0664 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
+0665 20200775 branch p_zcode_entrance 
 
 p_role_switch_master:
-0667 204021c9 call role_switch_check 
-0668 24740000 nrtn user 
+0666 204021c9 call role_switch_check 
+0667 24740000 nrtn user 
 
 p_wait_role_switch_anchor:
-0669 78547c00 disable user 
-066a 70001120 jam param_newconnto ,mem_newconnto_counter 
-066b 793f800b set0 mark_fhs_already_good ,mark 
-066c 793f802d set0 mark_role_switch_receive_fhs ,mark 
+0668 78547c00 disable user 
+0669 70001120 jam param_newconnto ,mem_newconnto_counter 
+066a 793f800b set0 mark_fhs_already_good ,mark 
+066b 793f802d set0 mark_role_switch_receive_fhs ,mark 
 
 p_roles_waitfhs_loop:
-066d 20402a4f call rf_setup_time_master_slot 
-066e 204022e6 call master_recv_packet 
-066f c5058674 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
-0670 20402455 call new_conn_timeout 
-0671 243a066d nbranch p_roles_waitfhs_loop ,blank 
-0672 c516867c bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
-0673 202021ec branch role_switch_fail_master 
+066c 20402a4f call rf_setup_time_master_slot 
+066d 204022e6 call master_recv_packet 
+066e c5058673 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
+066f 20402455 call new_conn_timeout 
+0670 243a066c nbranch p_roles_waitfhs_loop ,blank 
+0671 c516867b bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
+0672 202021ec branch role_switch_fail_master 
 
 p_roles_replyto_fhs:
-0674 20402a4d call rf_setup_time_slave_slot 
-0675 d8200010 arg type_id ,type 
-0676 204022dc call master_send_packet 
-0677 7920002d set1 mark_role_switch_receive_fhs ,mark 
-0678 793f800b set0 mark_fhs_already_good ,mark 
-0679 18000801 force 1 ,am_addr 
-067a 70001102 jam 2 ,mem_newconnto_counter 
-067b 2020066d branch p_roles_waitfhs_loop 
+0673 20402a4d call rf_setup_time_slave_slot 
+0674 d8200010 arg type_id ,type 
+0675 204022dc call master_send_packet 
+0676 7920002d set1 mark_role_switch_receive_fhs ,mark 
+0677 793f800b set0 mark_fhs_already_good ,mark 
+0678 18000801 force 1 ,am_addr 
+0679 70001102 jam 2 ,mem_newconnto_counter 
+067a 2020066c branch p_roles_waitfhs_loop 
 
 p_roles_replyto_fhs1:
-067c 68020165 fetch 4 ,mem_clke_bt 
-067d 1fe0fe08 pincrease 8 
-067e 60020165 store 4 ,mem_clke_bt 
-067f 202021f8 branch roles_replyto_fhs + 4 
+067b 68020165 fetch 4 ,mem_clke_bt 
+067c 1fe0fe08 pincrease 8 
+067d 60020165 store 4 ,mem_clke_bt 
+067e 202021f8 branch roles_replyto_fhs + 4 
 
 p_process_dmh:
-0680 c516264d bmark1 mark_first_packet ,end_of_packet 
-0681 2020258f branch process_dmh + 1 
+067f c516264d bmark1 mark_first_packet ,end_of_packet 
+0680 2020258f branch process_dmh + 1 
 
 p_quit_connection_cont:
-0682 7011c543 jam zcode_43 ,mem_zcode_temp_param0 
-0683 20200776 branch p_zcode_entrance 
+0681 7011c543 jam zcode_43 ,mem_zcode_temp_param0 
+0682 20200775 branch p_zcode_entrance 
 
 p_prepare_tx:
-0684 68008030 fetch 1 ,mem_state 
-0685 2feffe00 isolate1 state_inconn ,pdata 
-0686 20408688 call p_bt_power_ctrl ,true 
-0687 2020248a branch prepare_tx + 1 
+0683 68008030 fetch 1 ,mem_state 
+0684 2feffe00 isolate1 state_inconn ,pdata 
+0685 20408687 call p_bt_power_ctrl ,true 
+0686 2020248a branch prepare_tx + 1 
 
 p_bt_power_ctrl:
-0688 68008047 fetch 1 ,mem_arq 
-0689 2feffe03 isolate1 wack ,pdata 
-068a 2040870f call power_ctrl_pac_succ_decrs ,true 
-068b 2440870b ncall power_ctrl_pac_succ_incrs ,true 
-068c 20200719 branch power_ctrl_start 
+0687 68008047 fetch 1 ,mem_arq 
+0688 2feffe03 isolate1 wack ,pdata 
+0689 2040870e call power_ctrl_pac_succ_decrs ,true 
+068a 2440870a ncall power_ctrl_pac_succ_incrs ,true 
+068b 20200718 branch power_ctrl_start 
 
 p_slave_conn_recv_packet:
-068d 204024f0 call slave_receive_master_slot 
-068e 242c28f9 nbranch shutdown_radio ,sync 
-068f 204029bb call save_rssi 
-0690 2040006c call p_rssi_signal 
-0691 20202518 branch slave_conn_recv_packet + 4 
+068c 204024f0 call slave_receive_master_slot 
+068d 242c28f9 nbranch shutdown_radio ,sync 
+068e 204029bb call save_rssi 
+068f 2040006c call p_rssi_signal 
+0690 20202518 branch slave_conn_recv_packet + 4 
 
 p_lpm_dispatch:
-0692 c6130000 rtnmark1 mark_24g 
-0693 20402afa call lpo_calibration 
-0694 6801c16f fetch 3 ,mem_clks_per_lpo 
-0695 207a0000 rtn blank 
-0696 6800c091 fetch 1 ,mem_lpm_mode 
-0697 207a0000 rtn blank 
-0698 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0699 1fe67c0a sub pdata ,10 ,null 
-069a 20610000 rtn positive 
-069b 6800c65a fetch 1 ,mem_ssp_enable 
-069c 203a069f branch p_lpm_dispatch_next ,blank 
-069d 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
-069e 207a0000 rtn blank 
+0691 c6130000 rtnmark1 mark_24g 
+0692 20402afa call lpo_calibration 
+0693 6801c16f fetch 3 ,mem_clks_per_lpo 
+0694 207a0000 rtn blank 
+0695 6800c091 fetch 1 ,mem_lpm_mode 
+0696 207a0000 rtn blank 
+0697 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0698 1fe67c0a sub pdata ,10 ,null 
+0699 20610000 rtn positive 
+069a 6800c65a fetch 1 ,mem_ssp_enable 
+069b 203a069e branch p_lpm_dispatch_next ,blank 
+069c 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+069d 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-069f 6800c4c0 fetch 1 ,mem_le_sc_calc 
-06a0 247a0000 nrtn blank 
-06a1 20402c3a call lpm_check_wake_lock 
-06a2 247a0000 nrtn blank 
-06a3 6800c040 fetch 1 ,mem_context 
-06a4 2fe00e03 compare 3 ,pdata ,0x7 
-06a5 2420ab9d nbranch lpm_dispatch_unconn ,true 
-06a6 68014042 fetch 2 ,mem_context + coffset_tsniff 
-06a7 d840ffff arg 0xffff ,temp 
-06a8 98467c00 isub temp ,null 
-06a9 20628000 rtn zero 
-06aa 20202b7d branch lpm_dispatch_next + 9 
+069e 6800c4c0 fetch 1 ,mem_le_sc_calc 
+069f 247a0000 nrtn blank 
+06a0 20402c3a call lpm_check_wake_lock 
+06a1 247a0000 nrtn blank 
+06a2 6800c040 fetch 1 ,mem_context 
+06a3 2fe00e03 compare 3 ,pdata ,0x7 
+06a4 2420ab9d nbranch lpm_dispatch_unconn ,true 
+06a5 68014042 fetch 2 ,mem_context + coffset_tsniff 
+06a6 d840ffff arg 0xffff ,temp 
+06a7 98467c00 isub temp ,null 
+06a8 20628000 rtn zero 
+06a9 20202b7d branch lpm_dispatch_next + 9 
 
 p_lpm_set_mult:
-06ab 7855fc00 disable wake 
-06ac 68008030 fetch 1 ,mem_state 
-06ad c4008000 rtnbit0 state_insniff 
-06ae 2436abd0 nbranch lpm_not_match ,match 
-06af 20402bcb call lpm_match 
-06b0 680140c1 fetch 2 ,mem_rx_window_sniff 
-06b1 6001003e store 2 ,mem_rx_window 
-06b2 68008047 fetch 1 ,mem_arq 
-06b3 c281abde bbit1 wack ,lpm_mult_short 
-06b4 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
-06b5 20405274 call l2cap_malloc_is_fifo_empty 
-06b6 243a2bde nbranch lpm_mult_short ,blank 
-06b7 205a06b9 call p_lpm_set_attemp_timeout ,blank 
-06b8 20202bbe branch lpm_set_mult + 13 
+06aa 7855fc00 disable wake 
+06ab 68008030 fetch 1 ,mem_state 
+06ac c4008000 rtnbit0 state_insniff 
+06ad 2436abd0 nbranch lpm_not_match ,match 
+06ae 20402bcb call lpm_match 
+06af 680140c1 fetch 2 ,mem_rx_window_sniff 
+06b0 6001003e store 2 ,mem_rx_window 
+06b1 68008047 fetch 1 ,mem_arq 
+06b2 c281abde bbit1 wack ,lpm_mult_short 
+06b3 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+06b4 20405274 call l2cap_malloc_is_fifo_empty 
+06b5 243a2bde nbranch lpm_mult_short ,blank 
+06b6 205a06b8 call p_lpm_set_attemp_timeout ,blank 
+06b7 20202bbe branch lpm_set_mult + 13 
 
 p_lpm_set_attemp_timeout:
-06b9 70008a01 jam 1 ,mem_current_sniff_attempt 
-06ba 70008b00 jam 0 ,mem_current_sniff_timeout 
-06bb 20600000 rtn 
+06b8 70008a01 jam 1 ,mem_current_sniff_attempt 
+06b9 70008b00 jam 0 ,mem_current_sniff_timeout 
+06ba 20600000 rtn 
 
 p_mouse_bb_disconnected:
-06bc 7011c501 jam zcode_01 ,mem_zcode_temp_param0 
-06bd 20200776 branch p_zcode_entrance 
+06bb 7011c501 jam zcode_01 ,mem_zcode_temp_param0 
+06bc 20200775 branch p_zcode_entrance 
 
 p_hid_rx_process:
-06be 7011c502 jam zcode_02 ,mem_zcode_temp_param0 
-06bf 20200776 branch p_zcode_entrance 
+06bd 7011c502 jam zcode_02 ,mem_zcode_temp_param0 
+06be 20200775 branch p_zcode_entrance 
 
 p_parse_lmp_accepted:
-06c0 68008552 fetch 1 ,mem_rxbuf + 1 
-06c1 600084c9 store 1 ,mem_lmi_accepted_opcode 
-06c2 c00986c4 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
-06c3 20205db4 branch parse_lmp_accepted + 3 
+06bf 68008552 fetch 1 ,mem_rxbuf + 1 
+06c0 600084c9 store 1 ,mem_lmi_accepted_opcode 
+06c1 c00986c3 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+06c2 20205db4 branch parse_lmp_accepted + 3 
 
 p_parse_lmp_accepted_switch:
-06c4 20405dcf call parse_lmp_accepted_switch 
-06c5 704b0101 jam 1 ,mem_bt_rcvd_switch_req_accept 
-06c6 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06c7 207a0000 rtn blank 
-06c8 704b0302 jam 2 ,mem_bt_send_lmp_setup_complete 
-06c9 20600000 rtn 
+06c3 20405dcf call parse_lmp_accepted_switch 
+06c4 704b0101 jam 1 ,mem_bt_rcvd_switch_req_accept 
+06c5 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06c6 207a0000 rtn blank 
+06c7 704b0302 jam 2 ,mem_bt_send_lmp_setup_complete 
+06c8 20600000 rtn 
 
 p_send_lmp:
-06ca 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
-06cb 20200776 branch p_zcode_entrance 
+06c9 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
+06ca 20200775 branch p_zcode_entrance 
 
 p_process_conn_sm:
-06cc 204062bc call lmo_fifo_check 
-06cd 247a0000 nrtn blank 
+06cb 204062bc call lmo_fifo_check 
+06cc 247a0000 nrtn blank 
 
 p_process_conn_sm_continue:
-06ce 68008055 fetch 1 ,mem_conn_sm 
-06cf 207a0000 rtn blank 
-06d0 c00206ee beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
-06d1 c00806d3 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
-06d2 20206320 branch process_conn_sm_continue + 2 
+06cd 68008055 fetch 1 ,mem_conn_sm 
+06ce 207a0000 rtn blank 
+06cf c00206ed beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
+06d0 c00806d2 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+06d1 20206320 branch process_conn_sm_continue + 2 
 
 p_host_creat_conn_wait_switch:
-06d3 6800c55b fetch 1 ,mem_switch_flag 
-06d4 c1000000 rtneq switch_flag_init 
-06d5 c00086d7 beq switch_flag_accept ,p_host_create_conn_switch_accept 
-06d6 2020635f branch host_creat_conn_wait_switch + 3 
+06d2 6800c55b fetch 1 ,mem_switch_flag 
+06d3 c1000000 rtneq switch_flag_init 
+06d4 c00086d6 beq switch_flag_accept ,p_host_create_conn_switch_accept 
+06d5 2020635f branch host_creat_conn_wait_switch + 3 
 
 p_host_create_conn_switch_accept:
-06d7 20748000 rtn master 
+06d6 20748000 rtn master 
 
 p_host_create_conn_auth_pair:
-06d8 6800816d fetch 1 ,mem_connection_options 
-06d9 c28006db bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
-06da 20206399 branch host_create_conn_auth_pair + 1 
+06d7 6800816d fetch 1 ,mem_connection_options 
+06d8 c28006da bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+06d9 20206399 branch host_create_conn_auth_pair + 1 
 
 p_host_create_conn_auth_pair_true:
-06db 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06dc c000e39d beq 1 ,host_create_conn_auth_pair_true 
-06dd 6800c1bd fetch 1 ,mem_link_key_exists 
-06de 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
-06df 680084d1 fetch 1 ,mem_lmp_conn_state 
-06e0 c4018000 rtnbit0 sent_setup_complete 
-06e1 c4010000 rtnbit0 received_setup_complete 
-06e2 6800cb02 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06e3 207a0000 rtn blank 
-06e4 704b0200 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
-06e5 680204e9 fetch 4 ,mem_aurand_send_delay_time 
-06e6 d8400014 arg 20 ,temp 
-06e7 98408400 iadd temp ,temp 
-06e8 1c427e00 copy clkn_bt ,pdata 
-06e9 98467c00 isub temp ,null 
-06ea 242106ec nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
-06eb 20206349 branch host_create_conn_auth 
+06da 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06db c000e39d beq 1 ,host_create_conn_auth_pair_true 
+06dc 6800c1bd fetch 1 ,mem_link_key_exists 
+06dd 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
+06de 680084d1 fetch 1 ,mem_lmp_conn_state 
+06df c4018000 rtnbit0 sent_setup_complete 
+06e0 c4010000 rtnbit0 received_setup_complete 
+06e1 6800cb02 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06e2 207a0000 rtn blank 
+06e3 704b0200 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
+06e4 680204e9 fetch 4 ,mem_aurand_send_delay_time 
+06e5 d8400014 arg 20 ,temp 
+06e6 98408400 iadd temp ,temp 
+06e7 1c427e00 copy clkn_bt ,pdata 
+06e8 98467c00 isub temp ,null 
+06e9 242106eb nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
+06ea 20206349 branch host_create_conn_auth 
 
 p_bt_send_max_slot_req_accept_after_switch_wait:
-06ec 704b0201 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06ed 20600000 rtn 
+06eb 704b0201 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06ec 20600000 rtn 
 
 p_host_create_conn_send_conn_req:
-06ee 70480b14 jam 20 ,mem_mouse_send_switch_req_timer 
-06ef 2020636f branch host_create_conn_send_conn_req 
+06ed 70480b14 jam 20 ,mem_mouse_send_switch_req_timer 
+06ee 2020636f branch host_create_conn_send_conn_req 
 
 p_check_51cmd_once_continue:
-06f0 204062bc call lmo_fifo_check 
-06f1 243a7ddb nbranch check_51cmd_restore ,blank 
-06f2 68008a99 fetch 1 ,mem_fifo_temp 
-06f3 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06f4 c00f86fb beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
-06f5 c01006fe beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
-06f6 c00906f8 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-06f7 20207dca branch check_51cmd_once_continue + 2 
+06ef 204062bc call lmo_fifo_check 
+06f0 243a7ddb nbranch check_51cmd_restore ,blank 
+06f1 68008a99 fetch 1 ,mem_fifo_temp 
+06f2 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+06f3 c00f86fa beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
+06f4 c01006fd beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
+06f5 c00906f7 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+06f6 20207dca branch check_51cmd_once_continue + 2 
 
 p_check_51cmd_ble_update_connect_param:
-06f8 20405890 call le_fifo_check_full 
-06f9 247a0000 nrtn blank 
-06fa 20205abf branch le_l2cap_tx_update_req 
+06f7 20405890 call le_fifo_check_full 
+06f8 247a0000 nrtn blank 
+06f9 20205abf branch le_l2cap_tx_update_req 
 
 p_flash_store_le_reconn_info:
-06fb 70018534 jam rec_4_mode ,mem_record_bt_mode 
-06fc 6803044f fetch 6 ,mem_le_plap 
-06fd 20200700 branch p_flash_store_reconn_info 
+06fa 70018534 jam rec_4_mode ,mem_record_bt_mode 
+06fb 6803044f fetch 6 ,mem_le_plap 
+06fc 202006ff branch p_flash_store_reconn_info 
 
 p_flash_store_bd_reconn_info:
-06fe 70018533 jam rec_3_mode ,mem_record_bt_mode 
-06ff 68030040 fetch 6 ,mem_plap 
+06fd 70018533 jam rec_3_mode ,mem_record_bt_mode 
+06fe 68030040 fetch 6 ,mem_plap 
 
 p_flash_store_reconn_info:
-0700 60030186 store 6 ,mem_temp_lap 
+06ff 60030186 store 6 ,mem_temp_lap 
 
 p_mouse_store_remote_bdaddr:
-0701 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-0702 c4038000 rtnbit0 mouse_store_eeprom_flag 
-0703 d8e00007 arg mouse_store_eeprom_flag ,queue 
-0704 204043d2 call mouse_disable_function_flag 
-0705 204042e8 call mouse_check_device_addr 
+0700 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0701 c4038000 rtnbit0 mouse_store_eeprom_flag 
+0702 d8e00007 arg mouse_store_eeprom_flag ,queue 
+0703 204043d2 call mouse_disable_function_flag 
+0704 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-0706 204042fb call mouse_before_store_reconn_info 
-0707 20200325 branch p_mouse_store_flash_device_info 
+0705 204042fb call mouse_before_store_reconn_info 
+0706 20200325 branch p_mouse_store_flash_device_info 
 
 power_ctrl_pac_succ_cnt_init:
-0708 704d6901 jam 1 ,mem_power_ctrl_level 
-0709 704d6600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-070a 20600000 rtn 
+0707 704d6901 jam 1 ,mem_power_ctrl_level 
+0708 704d6600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0709 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-070b 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-070c 1fe0fe01 increase 1 ,pdata 
-070d 6000cd66 store 1 ,mem_power_ctrl_pac_succ_cnt 
-070e 20600000 rtn 
+070a 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+070b 1fe0fe01 increase 1 ,pdata 
+070c 6000cd66 store 1 ,mem_power_ctrl_pac_succ_cnt 
+070d 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-070f 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0710 1fe67c02 sub pdata ,2 ,null 
-0711 24410717 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-0712 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0713 c1000000 rtneq 0 
-0714 1fe0ffff increase -1 ,pdata 
-0715 6000cd66 store 1 ,mem_power_ctrl_pac_succ_cnt 
-0716 20600000 rtn 
+070e 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+070f 1fe67c02 sub pdata ,2 ,null 
+0710 24410716 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+0711 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0712 c1000000 rtneq 0 
+0713 1fe0ffff increase -1 ,pdata 
+0714 6000cd66 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0715 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-0717 704d6603 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-0718 20600000 rtn 
+0716 704d6603 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+0717 20600000 rtn 
 
 power_ctrl_start:
-0719 68014682 fetch 2 ,mem_ui_state_map 
-071a c3858000 rtnbit1 ui_state_ble_adv 
-071b c3838000 rtnbit1 ui_state_bt_reconnect 
-071c c3830000 rtnbit1 ui_state_bt_discovery 
-071d da204cef arg mem_rssi_signal_buf ,rega 
-071e 20400261 call p_rssi_average 
-071f 6008cd67 storet 1 ,mem_rssi_avg_received 
-0720 58000082 setarg rssi_dis_max_24g 
-0721 c5130723 bmark1 mark_24g ,power_ctrl_start_next 
-0722 58000080 setarg rssi_dis_max_ble 
+0718 68014682 fetch 2 ,mem_ui_state_map 
+0719 c3858000 rtnbit1 ui_state_ble_adv 
+071a c3838000 rtnbit1 ui_state_bt_reconnect 
+071b c3830000 rtnbit1 ui_state_bt_discovery 
+071c da204cef arg mem_rssi_signal_buf ,rega 
+071d 20400261 call p_rssi_average 
+071e 6008cd67 storet 1 ,mem_rssi_avg_received 
+071f 58000082 setarg rssi_dis_max_24g 
+0720 c5130722 bmark1 mark_24g ,power_ctrl_start_next 
+0721 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-0723 98467c00 isub temp ,null 
-0724 2421073b nbranch power_ctrl_txpower_incrs_force ,positive 
-0725 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0726 1fe67c02 sub pdata ,2 ,null 
-0727 2421072b nbranch power_ctrl_txpower_decrs_check ,positive 
-0728 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0729 c000073c beq 0 ,power_ctrl_txpower_incrs 
-072a 20600000 rtn 
+0722 98467c00 isub temp ,null 
+0723 2421073a nbranch power_ctrl_txpower_incrs_force ,positive 
+0724 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0725 1fe67c02 sub pdata ,2 ,null 
+0726 2421072a nbranch power_ctrl_txpower_decrs_check ,positive 
+0727 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0728 c000073b beq 0 ,power_ctrl_txpower_incrs 
+0729 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-072b 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-072c c1900000 rtnne 32 
-072d 704d6600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+072a 6800cd66 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+072b c1900000 rtnne 32 
+072c 704d6600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-072e 6808cd67 fetcht 1 ,mem_rssi_avg_received 
-072f 58000077 setarg rssi_dis_min_24g 
-0730 c5130732 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-0731 58000075 setarg rssi_dis_min_ble 
+072d 6808cd67 fetcht 1 ,mem_rssi_avg_received 
+072e 58000077 setarg rssi_dis_min_24g 
+072f c5130731 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+0730 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-0732 98467c00 isub temp ,null 
-0733 24610000 nrtn positive 
-0734 6800cd69 fetch 1 ,mem_power_ctrl_level 
-0735 c0000743 beq 0 ,power_ctrl_decrs_level0 
-0736 1fe0ffff increase -1 ,pdata 
-0737 6000cd69 store 1 ,mem_power_ctrl_level 
-0738 c0000743 beq 0 ,power_ctrl_decrs_level0 
+0731 98467c00 isub temp ,null 
+0732 24610000 nrtn positive 
+0733 6800cd69 fetch 1 ,mem_power_ctrl_level 
+0734 c0000742 beq 0 ,power_ctrl_decrs_level0 
+0735 1fe0ffff increase -1 ,pdata 
+0736 6000cd69 store 1 ,mem_power_ctrl_level 
+0737 c0000742 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-0739 7041de00 jam tx_power_0db ,mem_tx_power 
-073a 20600000 rtn 
+0738 7041de00 jam tx_power_0db ,mem_tx_power 
+0739 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-073b 704d6600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+073a 704d6600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-073c 6800cd69 fetch 1 ,mem_power_ctrl_level 
-073d c0010741 beq 2 ,power_ctrl_incrs_level2 
-073e 1fe0fe01 increase 1 ,pdata 
-073f 6000cd69 store 1 ,mem_power_ctrl_level 
-0740 c0008739 beq 1 ,power_ctrl_incrs_level1 
+073b 6800cd69 fetch 1 ,mem_power_ctrl_level 
+073c c0010740 beq 2 ,power_ctrl_incrs_level2 
+073d 1fe0fe01 increase 1 ,pdata 
+073e 6000cd69 store 1 ,mem_power_ctrl_level 
+073f c0008738 beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-0741 7041de02 jam tx_power_5db ,mem_tx_power 
-0742 20600000 rtn 
+0740 7041de02 jam tx_power_5db ,mem_tx_power 
+0741 20600000 rtn 
 
 power_ctrl_decrs_level0:
-0743 7041de04 jam tx_power_f5db ,mem_tx_power 
-0744 20600000 rtn 
+0742 7041de04 jam tx_power_f5db ,mem_tx_power 
+0743 20600000 rtn 
 
 p_set_freq_tx:
-0745 60088017 storet 1 ,mem_last_freq 
-0746 1840a200 add temp ,0 ,rega 
-0747 20402981 call rf_write_freq 
-0748 58000500 setarg param_pll_setup 
-0749 20402a8f call sleep 
+0744 60088017 storet 1 ,mem_last_freq 
+0745 1840a200 add temp ,0 ,rega 
+0746 20402981 call rf_write_freq 
+0747 58000500 setarg param_pll_setup 
+0748 20402a8f call sleep 
 
 p_rf_tx_enable:
-074a 70890601 jam 0x1 ,rfen_adc 
-074b 7089003c jam 0x3c ,rfen_rx 
-074c 708901e0 jam 0xe0 ,rfen_tx 
-074d 2000000a nop 10 
-074e 70890201 jam 0x01 ,rfen_mdm 
-074f 7089023d jam 0x3d ,rfen_mdm 
-0750 2000000a nop 10 
-0751 708903b7 jam 0xb7 ,rfen_sn 
-0752 2000000a nop 10 
-0753 7089027d jam 0x7d ,rfen_mdm 
-0754 6800c1de fetch 1 ,mem_tx_power 
-0755 c001075d beq tx_power_5db ,p_set_tx_power_5db 
-0756 c0020762 beq tx_power_f5db ,p_set_tx_power_f5db 
-0757 c0100771 beq tx_power_pair ,p_set_tx_power_pair 
+0749 70890601 jam 0x1 ,rfen_adc 
+074a 7089003c jam 0x3c ,rfen_rx 
+074b 708901e0 jam 0xe0 ,rfen_tx 
+074c 2000000a nop 10 
+074d 70890201 jam 0x01 ,rfen_mdm 
+074e 7089023d jam 0x3d ,rfen_mdm 
+074f 2000000a nop 10 
+0750 708903b7 jam 0xb7 ,rfen_sn 
+0751 2000000a nop 10 
+0752 7089027d jam 0x7d ,rfen_mdm 
+0753 6800c1de fetch 1 ,mem_tx_power 
+0754 c001075c beq tx_power_5db ,p_set_tx_power_5db 
+0755 c0020761 beq tx_power_f5db ,p_set_tx_power_f5db 
+0756 c0100770 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-0758 20400767 call p_rx_low_sens 
-0759 708955d0 jam 0xd0 ,0x8955 
-075a 708956e0 jam 0xe0 ,0x8956 
-075b 7089586c jam 0x6c ,0x8958 
-075c 2020294b branch set_tx_power_0db 
+0757 20400766 call p_rx_low_sens 
+0758 708955d0 jam 0xd0 ,0x8955 
+0759 708956e0 jam 0xe0 ,0x8956 
+075a 7089586c jam 0x6c ,0x8958 
+075b 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-075d 2040076c call p_rx_high_sens 
-075e 708955d0 jam 0xd0 ,0x8955 
-075f 708956e0 jam 0xe0 ,0x8956 
-0760 7089583c jam 0x3c ,0x8958 
-0761 20202953 branch set_tx_power_5db 
+075c 2040076b call p_rx_high_sens 
+075d 708955d0 jam 0xd0 ,0x8955 
+075e 708956e0 jam 0xe0 ,0x8956 
+075f 7089583c jam 0x3c ,0x8958 
+0760 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0762 20400767 call p_rx_low_sens 
-0763 708955d0 jam 0xd0 ,0x8955 
-0764 708956c0 jam 0xc0 ,0x8956 
-0765 7089586c jam 0x6c ,0x8958 
-0766 2020295b branch set_tx_power_f5db 
+0761 20400766 call p_rx_low_sens 
+0762 708955d0 jam 0xd0 ,0x8955 
+0763 708956c0 jam 0xc0 ,0x8956 
+0764 7089586c jam 0x6c ,0x8958 
+0765 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0767 70894c5b jam 0x5b ,0x894c 
-0768 70894d96 jam 0x96 ,0x894d 
-0769 70894e2c jam 0x2c ,0x894e 
-076a 70894f46 jam 0x46 ,0x894f 
-076b 20600000 rtn 
+0766 70894c5b jam 0x5b ,0x894c 
+0767 70894d96 jam 0x96 ,0x894d 
+0768 70894e2c jam 0x2c ,0x894e 
+0769 70894f46 jam 0x46 ,0x894f 
+076a 20600000 rtn 
 
 p_rx_high_sens:
-076c 70894cfb jam 0xfb ,0x894c 
-076d 70894def jam 0xef ,0x894d 
-076e 70894eec jam 0xec ,0x894e 
-076f 70894f5e jam 0x5e ,0x894f 
-0770 20600000 rtn 
+076b 70894cfb jam 0xfb ,0x894c 
+076c 70894def jam 0xef ,0x894d 
+076d 70894eec jam 0xec ,0x894e 
+076e 70894f5e jam 0x5e ,0x894f 
+076f 20600000 rtn 
 
 p_set_tx_power_pair:
-0771 708956c2 jam 0xc2 ,0x8956 
-0772 708955d0 jam 0xd0 ,0x8955 
-0773 20600000 rtn 
+0770 708956c2 jam 0xc2 ,0x8956 
+0771 708955d0 jam 0xd0 ,0x8955 
+0772 20600000 rtn 
 
 p_shutdown_radio:
-0774 18002a08 force 8 ,radio_ctrl 
-0775 202028fa branch shutdown_radio + 1 
+0773 18002a08 force 8 ,radio_ctrl 
+0774 202028fa branch shutdown_radio + 1 
 
 p_zcode_entrance:
-0776 680891c5 fetcht 1 ,mem_zcode_temp_param0 
-0777 18518400 rshift4 temp ,temp 
-0778 6800cb99 fetch 1 ,mem_zcode_current_number 
-0779 98467c00 isub temp ,null 
-077a 20228795 branch p_zcode_run ,zero 
-077b 6008cb99 storet 1 ,mem_zcode_current_number 
-077c 18408401 increase 1 ,temp 
-077d 58000100 setarg zcode_buff_size 
-077e 984f8400 imul32 temp ,temp 
-077f 6801cb9a fetch 3 ,mem_xip_flash_offset 
-0780 98467e00 isub temp ,pdata 
-0781 6809cb9d fetcht 3 ,mem_flash_start_addr 
-0782 9840fe00 iadd temp ,pdata 
-0783 1fe0fffb increase -5 ,pdata 
-0784 6001cba0 store 3 ,mem_flash_address 
-0785 20400367 call p_flash_release_deep_power_down 
+0775 680891c5 fetcht 1 ,mem_zcode_temp_param0 
+0776 18518400 rshift4 temp ,temp 
+0777 6800cb99 fetch 1 ,mem_zcode_current_number 
+0778 98467c00 isub temp ,null 
+0779 20228794 branch p_zcode_run ,zero 
+077a 6008cb99 storet 1 ,mem_zcode_current_number 
+077b 18408401 increase 1 ,temp 
+077c 58000100 setarg zcode_buff_size 
+077d 984f8400 imul32 temp ,temp 
+077e 6801cb9a fetch 3 ,mem_xip_flash_offset 
+077f 98467e00 isub temp ,pdata 
+0780 6809cb9d fetcht 3 ,mem_flash_start_addr 
+0781 9840fe00 iadd temp ,pdata 
+0782 1fe0fffb increase -5 ,pdata 
+0783 6001cba0 store 3 ,mem_flash_address 
+0784 20400367 call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
-0786 6801cba0 fetch 3 ,mem_flash_address 
-0787 d8400100 arg zcode_buff_size ,temp 
-0788 da201f00 arg mem_zcode_buff ,rega 
-0789 20406562 call spid_read_flash 
-078a 68021f00 fetch 4 ,mem_zcode_buff 
-078b 680a4ba3 fetcht 4 ,mem_zcode_head 
-078c 98467c00 isub temp ,null 
-078d 24228786 nbranch p_zcode_read_loop ,zero 
-078e 204002ac call p_mouse_spi_init 
-078f 58001f00 setarg mem_zcode_buff 
-0790 60014199 store 2 ,mem_patch_ptr 
-0791 70419b40 jam zcode_code_size ,mem_patch_len 
-0792 204064ca call load_ucode 
-0793 58000000 setarg 0 
-0794 60024199 store 4 ,mem_patch_ptr 
+0785 6801cba0 fetch 3 ,mem_flash_address 
+0786 d8400100 arg zcode_buff_size ,temp 
+0787 da201f00 arg mem_zcode_buff ,rega 
+0788 20406562 call spid_read_flash 
+0789 68021f00 fetch 4 ,mem_zcode_buff 
+078a 680a4ba3 fetcht 4 ,mem_zcode_head 
+078b 98467c00 isub temp ,null 
+078c 24228785 nbranch p_zcode_read_loop ,zero 
+078d 204002ac call p_mouse_spi_init 
+078e 58001f00 setarg mem_zcode_buff 
+078f 60014199 store 2 ,mem_patch_ptr 
+0790 70419b40 jam zcode_code_size ,mem_patch_len 
+0791 204064ca call load_ucode 
+0792 58000000 setarg 0 
+0793 60024199 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-0795 680091c5 fetch 1 ,mem_zcode_temp_param0 
-0796 20200001 branch p_zcode 
+0794 680091c5 fetch 1 ,mem_zcode_temp_param0 
+0795 20200001 branch p_zcode 
 
 p_drawing_optima_init:
-0797 df200005 arg 5 ,loopcnt 
-0798 d8a04b0d arg mem_mouse_asm_flag ,contw 
-0799 20207ed4 branch clear_mem 
+0796 df200005 arg 5 ,loopcnt 
+0797 d8a04b0d arg mem_mouse_asm_flag ,contw 
+0798 20207ed4 branch clear_mem 
 
 p_drawing_optima:
-079a 6802469b fetch 4 ,mem_mouse_x 
-079b 207a0000 rtn blank 
-079c 204007eb call p_data_abs_check 
-079d 58000006 setarg 0x06 
-079e 204007de call p_data_greater_than_check 
-079f 58000003 setarg 0x03 
-07a0 204007e4 call p_data_less_than_check 
-07a1 6800cb0d fetch 1 ,mem_mouse_asm_flag 
-07a2 c00087a4 beq 1 ,p_drawing_optima_modify 
-07a3 20200797 branch p_drawing_optima_init 
+0799 6802469b fetch 4 ,mem_mouse_x 
+079a 207a0000 rtn blank 
+079b 204007ea call p_data_abs_check 
+079c 58000006 setarg 0x06 
+079d 204007dd call p_data_greater_than_check 
+079e 58000003 setarg 0x03 
+079f 204007e3 call p_data_less_than_check 
+07a0 6800cb0d fetch 1 ,mem_mouse_asm_flag 
+07a1 c00087a3 beq 1 ,p_drawing_optima_modify 
+07a2 20200796 branch p_drawing_optima_init 
 
 p_drawing_optima_modify:
-07a4 68014b0e fetch 2 ,mem_mouse_x_pre 
-07a5 600111be store 2 ,mem_data_pre 
-07a6 6801469b fetch 2 ,mem_mouse_x 
-07a7 600111c0 store 2 ,mem_data_current 
-07a8 204007b7 call p_drawing_optima_data 
-07a9 680111be fetch 2 ,mem_data_pre 
-07aa 60014b0e store 2 ,mem_mouse_x_pre 
-07ab 680111c0 fetch 2 ,mem_data_current 
-07ac 6001469b store 2 ,mem_mouse_x 
-07ad 68014b10 fetch 2 ,mem_mouse_y_pre 
-07ae 600111be store 2 ,mem_data_pre 
-07af 6801469d fetch 2 ,mem_mouse_y 
-07b0 600111c0 store 2 ,mem_data_current 
-07b1 204007b7 call p_drawing_optima_data 
-07b2 680111be fetch 2 ,mem_data_pre 
-07b3 60014b10 store 2 ,mem_mouse_y_pre 
-07b4 680111c0 fetch 2 ,mem_data_current 
-07b5 6001469d store 2 ,mem_mouse_y 
-07b6 20600000 rtn 
+07a3 68014b0e fetch 2 ,mem_mouse_x_pre 
+07a4 600111be store 2 ,mem_data_pre 
+07a5 6801469b fetch 2 ,mem_mouse_x 
+07a6 600111c0 store 2 ,mem_data_current 
+07a7 204007b6 call p_drawing_optima_data 
+07a8 680111be fetch 2 ,mem_data_pre 
+07a9 60014b0e store 2 ,mem_mouse_x_pre 
+07aa 680111c0 fetch 2 ,mem_data_current 
+07ab 6001469b store 2 ,mem_mouse_x 
+07ac 68014b10 fetch 2 ,mem_mouse_y_pre 
+07ad 600111be store 2 ,mem_data_pre 
+07ae 6801469d fetch 2 ,mem_mouse_y 
+07af 600111c0 store 2 ,mem_data_current 
+07b0 204007b6 call p_drawing_optima_data 
+07b1 680111be fetch 2 ,mem_data_pre 
+07b2 60014b10 store 2 ,mem_mouse_y_pre 
+07b3 680111c0 fetch 2 ,mem_data_current 
+07b4 6001469d store 2 ,mem_mouse_y 
+07b5 20600000 rtn 
 
 p_drawing_optima_data:
-07b7 680111be fetch 2 ,mem_data_pre 
-07b8 680911c0 fetcht 2 ,mem_data_current 
-07b9 9840fe00 iadd temp ,pdata 
-07ba 600191c2 store 3 ,mem_data_sum 
-07bb 2feffe10 isolate1 16 ,pdata 
-07bc 202087c4 branch p_data_sum_overflow ,true 
-07bd 680091c3 fetch 1 ,mem_data_sum + 1 
-07be c07f87cb beq 0xff ,p_data_sum_n 
-07bf 680091c2 fetch 1 ,mem_data_sum 
+07b6 680111be fetch 2 ,mem_data_pre 
+07b7 680911c0 fetcht 2 ,mem_data_current 
+07b8 9840fe00 iadd temp ,pdata 
+07b9 600191c2 store 3 ,mem_data_sum 
+07ba 2feffe10 isolate1 16 ,pdata 
+07bb 202087c3 branch p_data_sum_overflow ,true 
+07bc 680091c3 fetch 1 ,mem_data_sum + 1 
+07bd c07f87ca beq 0xff ,p_data_sum_n 
+07be 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-07c0 1fe37e00 rshift pdata ,pdata 
-07c1 600111be store 2 ,mem_data_pre 
-07c2 600111c0 store 2 ,mem_data_current 
-07c3 20600000 rtn 
+07bf 1fe37e00 rshift pdata ,pdata 
+07c0 600111be store 2 ,mem_data_pre 
+07c1 600111c0 store 2 ,mem_data_current 
+07c2 20600000 rtn 
 
 p_data_sum_overflow:
-07c4 680091c3 fetch 1 ,mem_data_sum + 1 
-07c5 c00007c8 beq 0 ,p_data_sum_overflow_p 
-07c6 680191c2 fetch 3 ,mem_data_sum 
-07c7 202007c0 branch p_data_store_pre 
+07c3 680091c3 fetch 1 ,mem_data_sum + 1 
+07c4 c00007c7 beq 0 ,p_data_sum_overflow_p 
+07c5 680191c2 fetch 3 ,mem_data_sum 
+07c6 202007bf branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-07c8 7011c400 jam 0 ,mem_data_sum + 2 
-07c9 680091c2 fetch 1 ,mem_data_sum 
-07ca 202007c0 branch p_data_store_pre 
+07c7 7011c400 jam 0 ,mem_data_sum + 2 
+07c8 680091c2 fetch 1 ,mem_data_sum 
+07c9 202007bf branch p_data_store_pre 
 
 p_data_sum_n:
-07cb 680091c2 fetch 1 ,mem_data_sum 
-07cc 204007d6 call p_pdata_get_half 
-07cd 600091be store 1 ,mem_data_pre 
-07ce 600091c0 store 1 ,mem_data_current 
-07cf 203a07d4 branch p_data_zero ,blank 
-07d0 580000ff setarg 0xff 
+07ca 680091c2 fetch 1 ,mem_data_sum 
+07cb 204007d5 call p_pdata_get_half 
+07cc 600091be store 1 ,mem_data_pre 
+07cd 600091c0 store 1 ,mem_data_current 
+07ce 203a07d3 branch p_data_zero ,blank 
+07cf 580000ff setarg 0xff 
 
 p_data_set_direction:
-07d1 600091bf store 1 ,mem_data_pre + 1 
-07d2 600091c1 store 1 ,mem_data_current + 1 
-07d3 20600000 rtn 
+07d0 600091bf store 1 ,mem_data_pre + 1 
+07d1 600091c1 store 1 ,mem_data_current + 1 
+07d2 20600000 rtn 
 
 p_data_zero:
-07d4 58000000 setarg 0 
-07d5 202007d1 branch p_data_set_direction 
+07d3 58000000 setarg 0 
+07d4 202007d0 branch p_data_set_direction 
 
 p_pdata_get_half:
-07d6 1fe67e00 sub pdata ,0 ,pdata 
-07d7 60008aae store 1 ,mem_rega 
-07d8 68008aae fetch 1 ,mem_rega 
-07d9 1fe37e00 rshift pdata ,pdata 
-07da 60008aae store 1 ,mem_rega 
-07db 68008aae fetch 1 ,mem_rega 
-07dc 1fe67e00 sub pdata ,0 ,pdata 
-07dd 20600000 rtn 
+07d5 1fe67e00 sub pdata ,0 ,pdata 
+07d6 60008aae store 1 ,mem_rega 
+07d7 68008aae fetch 1 ,mem_rega 
+07d8 1fe37e00 rshift pdata ,pdata 
+07d9 60008aae store 1 ,mem_rega 
+07da 68008aae fetch 1 ,mem_rega 
+07db 1fe67e00 sub pdata ,0 ,pdata 
+07dc 20600000 rtn 
 
 p_data_greater_than_check:
-07de 9a267c00 isub rega ,null 
-07df 242107e9 nbranch p_enable_asm ,positive 
-07e0 9a467c00 isub regb ,null 
-07e1 242107e9 nbranch p_enable_asm ,positive 
+07dd 9a267c00 isub rega ,null 
+07de 242107e8 nbranch p_enable_asm ,positive 
+07df 9a467c00 isub regb ,null 
+07e0 242107e8 nbranch p_enable_asm ,positive 
 
 p_disable_asm:
-07e2 704b0d00 jam 0 ,mem_mouse_asm_flag 
-07e3 20600000 rtn 
+07e1 704b0d00 jam 0 ,mem_mouse_asm_flag 
+07e2 20600000 rtn 
 
 p_data_less_than_check:
-07e4 9a267c00 isub rega ,null 
-07e5 24610000 nrtn positive 
-07e6 9a467c00 isub regb ,null 
-07e7 24610000 nrtn positive 
-07e8 202007e2 branch p_disable_asm 
+07e3 9a267c00 isub rega ,null 
+07e4 24610000 nrtn positive 
+07e5 9a467c00 isub regb ,null 
+07e6 24610000 nrtn positive 
+07e7 202007e1 branch p_disable_asm 
 
 p_enable_asm:
-07e9 704b0d01 jam 1 ,mem_mouse_asm_flag 
-07ea 20600000 rtn 
+07e8 704b0d01 jam 1 ,mem_mouse_asm_flag 
+07e9 20600000 rtn 
 
 p_data_abs_check:
-07eb 6801469b fetch 2 ,mem_mouse_x 
-07ec 600111c0 store 2 ,mem_data_current 
-07ed 204007f4 call p_data_abs 
-07ee 1fe22200 copy pdata ,rega 
-07ef 6801469d fetch 2 ,mem_mouse_y 
-07f0 600111c0 store 2 ,mem_data_current 
-07f1 204007f4 call p_data_abs 
-07f2 1fe22400 copy pdata ,regb 
-07f3 20600000 rtn 
+07ea 6801469b fetch 2 ,mem_mouse_x 
+07eb 600111c0 store 2 ,mem_data_current 
+07ec 204007f3 call p_data_abs 
+07ed 1fe22200 copy pdata ,rega 
+07ee 6801469d fetch 2 ,mem_mouse_y 
+07ef 600111c0 store 2 ,mem_data_current 
+07f0 204007f3 call p_data_abs 
+07f1 1fe22400 copy pdata ,regb 
+07f2 20600000 rtn 
 
 p_data_abs:
-07f4 680091c1 fetch 1 ,mem_data_current + 1 
-07f5 c07f87f9 beq 0xff ,p_data_reversal 
-07f6 680091c0 fetch 1 ,mem_data_current 
+07f3 680091c1 fetch 1 ,mem_data_current + 1 
+07f4 c07f87f8 beq 0xff ,p_data_reversal 
+07f5 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-07f7 1fe17eff and_into 0xff ,pdata 
-07f8 20600000 rtn 
+07f6 1fe17eff and_into 0xff ,pdata 
+07f7 20600000 rtn 
 
 p_data_reversal:
-07f9 680111c0 fetch 2 ,mem_data_current 
-07fa 1fe67e00 sub pdata ,0 ,pdata 
-07fb 202007f7 branch p_data_abs_store 
+07f8 680111c0 fetch 2 ,mem_data_current 
+07f9 1fe67e00 sub pdata ,0 ,pdata 
+07fa 202007f6 branch p_data_abs_store 
               org 0x2000
 
 start:
@@ -35418,7 +35417,7 @@
 z_entrance0:
 10001 c0000005 beq zcode_00 ,z_page_wait_fhs_reply_ok 
 10002 c0008012 beq zcode_01 ,z_mouse_bb_disconnected 
-10003 c0010024 beq zcode_02 ,z_hid_rx_process 
+10003 c0010027 beq zcode_02 ,z_hid_rx_process 
 10004 20600000 rtn 
 
 z_page_wait_fhs_reply_ok:
@@ -35445,7 +35444,7 @@
 10013 7041e30e jam 0x0e ,mem_sniff_param_interval 
 10014 204041e7 call mouse_bb_discon_clear_stack 
 10015 68014208 fetch app_disc_rsn_size ,mem_app_disconn_reason 
-10016 c283c1f5 bbit1 app_disc_ble ,mouse4_0_event_bb_disconn 
+10016 c2838023 bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
 10017 c28033a9 bbit1 app_disc_by_button ,app_disconn_reason_clear 
 10018 c280801c bbit1 app_disc_after_pairing ,z_mouse_event_light_state_pairing 
 10019 c281001f bbit1 app_disc_after_reconn ,z_mouse_event_light_state_hibernate 
@@ -35461,38 +35460,43 @@
 1001f 68014682 fetch 2 ,mem_ui_state_map 
 10020 c28642b0 bbit1 ui_state_btn_down ,mouse_start_discovery 
 10021 204033a9 call app_disconn_reason_clear 
-10022 204033a9 call app_disconn_reason_clear 
-10023 202004e0 branch p_app_enter_hibernate 
+10022 202004e0 branch p_app_enter_hibernate 
+
+p_mouse4_0_event_bb_disconn:
+10023 204041c1 call mouse_le_clean_connect_flag 
+10024 68014208 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+10025 c28033a9 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+10026 202004e0 branch p_app_enter_hibernate 
 
 z_hid_rx_process:
-10024 68010264 fetch 2 ,mem_l2cap_payload_ptr 
-10025 1fe20c00 copy pdata ,contr 
-10026 e8c08000 ifetch 1 ,contr 
-10027 6000cb04 store 1 ,mem_l2cap_rcv 
-10028 1fe1040f and pdata ,0x0f ,temp 
-10029 1ff1fe00 rshift4 pdata ,pdata 
-1002a c003802d beq hid_type_set_protocol ,z_hid_rx_set_protocol 
-1002b c0008034 beq hid_type_control ,z_hid_rx_process_hid_control 
-1002c 20204d39 branch hid_rx_process + 6 
+10027 68010264 fetch 2 ,mem_l2cap_payload_ptr 
+10028 1fe20c00 copy pdata ,contr 
+10029 e8c08000 ifetch 1 ,contr 
+1002a 6000cb04 store 1 ,mem_l2cap_rcv 
+1002b 1fe1040f and pdata ,0x0f ,temp 
+1002c 1ff1fe00 rshift4 pdata ,pdata 
+1002d c0038030 beq hid_type_set_protocol ,z_hid_rx_set_protocol 
+1002e c0008037 beq hid_type_control ,z_hid_rx_process_hid_control 
+1002f 20204d39 branch hid_rx_process + 6 
 
 z_hid_rx_set_protocol:
-1002d 20404d53 call hid_rx_process_handshake 
-1002e 704b0500 jam 0 ,mem_mouse_bt_boot_mode 
-1002f 6800cb04 fetch 1 ,mem_l2cap_rcv 
-10030 2feffe00 isolate1 0 ,pdata 
-10031 20608000 rtn true 
-10032 704b0501 jam 1 ,mem_mouse_bt_boot_mode 
-10033 20600000 rtn 
+10030 20404d53 call hid_rx_process_handshake 
+10031 704b0500 jam 0 ,mem_mouse_bt_boot_mode 
+10032 6800cb04 fetch 1 ,mem_l2cap_rcv 
+10033 2feffe00 isolate1 0 ,pdata 
+10034 20608000 rtn true 
+10035 704b0501 jam 1 ,mem_mouse_bt_boot_mode 
+10036 20600000 rtn 
 
 z_hid_rx_process_hid_control:
-10034 18427e00 copy temp ,pdata 
-10035 c0028037 beq hid_control_p_virtualcableunplug ,z_mouse_irtual_cable_unplug 
-10036 20204d41 branch hid_rx_process_hid_control + 2 
+10037 18427e00 copy temp ,pdata 
+10038 c002803a beq hid_control_p_virtualcableunplug ,z_mouse_irtual_cable_unplug 
+10039 20204d41 branch hid_rx_process_hid_control + 2 
 
 z_mouse_irtual_cable_unplug:
-10037 2040438e call mouse_irtual_cable_unplug 
-10038 204033a9 call app_disconn_reason_clear 
-10039 202004e0 branch p_app_enter_hibernate 
+1003a 2040438e call mouse_irtual_cable_unplug 
+1003b 204033a9 call app_disconn_reason_clear 
+1003c 202004e0 branch p_app_enter_hibernate 
               org 0x20001
 
 z_entrance1:
@@ -35579,7 +35583,7 @@
 z_mouse_check_reconn_target:
 40004 204002a7 call p_mouse_tx_power_init 
 40005 704b5219 jam 25 ,mem_mouse_poweron_led_timer 
-40006 204004e3 call p_mouse_adc_read 
+40006 204004e2 call p_mouse_adc_read 
 40007 204004c0 call p_mouse_select_device_by_button 
 40008 da204721 arg mem_device1_type ,rega 
 40009 6800c720 fetch 1 ,mem_device_flag 
@@ -35636,7 +35640,7 @@
 z_mouse_load_flash_device_info:
 4002f 20400351 call p_mouse_read_flash 
 40030 20400369 call p_mouse_load_random_addr_increase_count 
-40031 204004e3 call p_mouse_adc_read 
+40031 204004e2 call p_mouse_adc_read 
 40032 2040431a call mouse_select_reconn_device 
 40033 6802477b fetch 4 ,mem_mouse_24g_addr 
 40034 60024c55 store 4 ,mem_24g_addr 
@@ -35727,8 +35731,7 @@
 50038 6000cb5e store 1 ,mem_mouse_discovery_blink_count 
 50039 704b4905 jam 5 ,mem_mouse_bt_ble_led_timer 
 5003a 204003a9 call p_mouse_bt_led_off 
-5003b 204002da call p_mouse_sensor_poweron 
-5003c 202042cb branch mouse_stop_discovery + 1 
+5003b 202042cb branch mouse_stop_discovery + 1 
               org 0x60001
 
 z_entrance5:
@@ -35822,7 +35825,7 @@
 
 z_g24_tx_attemp_dongle_loop:
 7000e 200007d0 nop 2000 
-7000f 204004e3 call p_mouse_adc_read 
+7000f 204004e2 call p_mouse_adc_read 
 70010 6800cb64 fetch 1 ,mem_select_device_button_press_flag 
 70011 243a04c2 nbranch p_mouse_select_device_button_down ,blank 
 70012 6800cc5a fetch 1 ,mem_24g_check_dongle_times 
@@ -35899,7 +35902,7 @@
 80007 200007d0 nop 2000 
 80008 6800cc5b fetch 1 ,mem_24g_check_dongle_times + 1 
 80009 c281018c bbit1 0x02 ,p_g24_stop_g24_mode 
-8000a 204004e3 call p_mouse_adc_read 
+8000a 204004e2 call p_mouse_adc_read 
 8000b 6800cb64 fetch 1 ,mem_select_device_button_press_flag 
 8000c 243a04c2 nbranch p_mouse_select_device_button_down ,blank 
 8000d 20400172 call p_g24_transmit_receive_ack 
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/ZJL_Project/ZJL_1059/ZJL_CY-004/output/romcode.rom	(revision 3630)
+++ /branch/mouse_project/ZJL_Project/ZJL_1059/ZJL_CY-004/output/romcode.rom	(working copy)
@@ -24574,7 +24574,7 @@
 20600000
 c0000005
 c0008012
-c0010024
+c0010027
 20600000
 6800800e
 1fe0fe01
@@ -24593,7 +24593,7 @@
 7041e30e
 204041e7
 68014208
-c283c1f5
+c2838023
 c28033a9
 c280801c
 c281001f
@@ -24605,7 +24605,10 @@
 68014682
 c28642b0
 204033a9
-204033a9
+202004e0
+204041c1
+68014208
+c28033a9
 202004e0
 68010264
 1fe20c00
@@ -24613,8 +24616,8 @@
 6000cb04
 1fe1040f
 1ff1fe00
-c003802d
-c0008034
+c0038030
+c0008037
 20204d39
 20404d53
 704b0500
@@ -24624,7 +24627,7 @@
 704b0501
 20600000
 18427e00
-c0028037
+c002803a
 20204d41
 2040438e
 204033a9
@@ -24687,7 +24690,7 @@
 20600000
 204002a7
 704b5219
-204004e3
+204004e2
 204004c0
 da204721
 6800c720
@@ -24730,7 +24733,7 @@
 202057b8
 20400351
 20400369
-204004e3
+204004e2
 2040431a
 6802477b
 60024c55
@@ -24798,7 +24801,6 @@
 6000cb5e
 704b4905
 204003a9
-204002da
 202042cb
 c0280003
 20600000
@@ -24871,7 +24873,7 @@
 c1ff8000
 204001a8
 200007d0
-204004e3
+204004e2
 6800cb64
 243a04c2
 6800cc5a
@@ -24925,7 +24927,7 @@
 200007d0
 6800cc5b
 c281018c
-204004e3
+204004e2
 6800cb64
 243a04c2
 20400172
@@ -25177,4 +25179,4 @@
 704b0300
 704b0c00
 202041d9
-00003052
+0000586c
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/ZJL_Project/ZJL_1059/ZJL_CY-004/program/patch.prog	(revision 3630)
+++ /branch/mouse_project/ZJL_Project/ZJL_1059/ZJL_CY-004/program/patch.prog	(working copy)
@@ -84,7 +84,6 @@
 	setarg 25
 	store 2,mem_24g_transmit_by_interrupt_exit_count_init
 	ncall p_mouse_24g_transmit_by_interrupt_exit_count_max,wake
-	call p_mouse_init_sunt
 	call p_mouse_sensor_powerdown
 p_mouse_wakeup_no_from_power:
 	fetch 1,mem_reconn_times_init
@@ -113,6 +112,7 @@
 	nop 1
 	nop 1
 	nop 1
+	nop 1
 
 p_patch_array:
 	bbit1 8,pf_patch_ext
@@ -1223,7 +1223,7 @@
 
 
 p_mouse_sensor_powerdown:
-	call p_mouse_spi_init
+	call p_mouse_init_sunt
 	setarg 0x0806
 //	call twspi_read
 //	or pdata,0x08,pdata
@@ -2095,7 +2095,6 @@
 //	branch p_mouse_check_once,zero
 //	rtn
 p_app_enter_hibernate:
-	call p_mouse_init_sunt
 	call p_mouse_sensor_powerdown
 	branch app_enter_hibernate
 
Index: program/z.prog
===================================================================
--- /branch/mouse_project/ZJL_Project/ZJL_1059/ZJL_CY-004/program/z.prog	(revision 3630)
+++ /branch/mouse_project/ZJL_Project/ZJL_1059/ZJL_CY-004/program/z.prog	(working copy)
@@ -28,7 +28,7 @@
 	jam 0x0e,mem_sniff_param_interval	//115Hz
 	call mouse_bb_discon_clear_stack
 	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
-	bbit1 APP_DISC_BLE,mouse4_0_event_bb_disconn
+	bbit1 APP_DISC_BLE,p_mouse4_0_event_bb_disconn
 	bbit1 APP_DISC_BY_BUTTON,app_disconn_reason_clear
 	bbit1 APP_DISC_AFTER_PAIRING,z_mouse_event_light_state_pairing
 	bbit1 APP_DISC_AFTER_RECONN,z_mouse_event_light_state_hibernate
@@ -45,7 +45,12 @@
 	call app_disconn_reason_clear
 //	call p_mouse_check_key_gpio
 //	rtn true
-	call app_disconn_reason_clear
+	branch p_app_enter_hibernate
+
+p_mouse4_0_event_bb_disconn:
+	call mouse_le_clean_connect_flag
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	bbit1 APP_DISC_BY_BUTTON,app_disconn_reason_clear
 	branch p_app_enter_hibernate
 
 
@@ -356,7 +361,7 @@
 	jam 5,mem_mouse_bt_ble_led_timer
 //	call p_mouse_bt_discovery_check_exit
 	call p_mouse_bt_led_off
-	call p_mouse_sensor_poweron		//clear sensor data,confirm the motion pin high
+//	call p_mouse_sensor_poweron		//clear sensor data,confirm the motion pin high
 	branch mouse_stop_discovery+1
 
 org 0x60001
