Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/eeprom.dat	(revision 1844)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-52
-18
+ca
+17
 c2
 84
 00
@@ -78,12 +78,12 @@
 db
 c0
 67
-05
-12
+04
+f0
 c0
 67
 85
-dc
+ba
 c0
 68
 03
@@ -91,11 +91,11 @@
 c0
 68
 85
-47
+25
 c0
 6a
 05
-2c
+0a
 c0
 6b
 02
@@ -111,11 +111,11 @@
 c0
 6d
 84
-ae
+8c
 c0
 6f
 05
-7f
+5d
 c0
 6f
 80
@@ -131,7 +131,7 @@
 c0
 74
 04
-b5
+93
 20
 20
 13
@@ -139,7 +139,7 @@
 c0
 0d
 04
-c9
+a7
 c0
 10
 00
@@ -155,19 +155,19 @@
 c0
 43
 84
-b1
+8f
 c0
 50
 84
-d3
+b1
 c0
 51
 84
-dd
+bb
 c0
 60
 04
-df
+bd
 c0
 6e
 82
@@ -186,12 +186,12 @@
 95
 c0
 76
-05
-05
+04
+e3
 c0
 76
-86
-0c
+85
+ea
 20
 20
 13
@@ -1023,7 +1023,7 @@
 20
 40
 05
-3e
+1c
 20
 20
 3b
@@ -1623,7 +1623,7 @@
 20
 20
 05
-3e
+1c
 20
 40
 26
@@ -2027,11 +2027,11 @@
 20
 40
 05
-37
+15
 20
 40
 05
-3e
+1c
 20
 20
 3e
@@ -2079,7 +2079,7 @@
 20
 40
 05
-79
+57
 d8
 40
 00
@@ -2287,7 +2287,7 @@
 20
 40
 05
-79
+57
 20
 20
 3e
@@ -2314,8 +2314,8 @@
 9f
 20
 40
-05
-05
+04
+e3
 24
 74
 00
@@ -2827,7 +2827,7 @@
 20
 40
 05
-3e
+1c
 20
 20
 02
@@ -4657,145 +4657,9 @@
 4a
 f2
 20
-40
-43
-14
-6f
-e1
-47
-8c
-c2
-85
-c5
-5f
-6f
-e4
-4b
-ab
-c3
-04
-45
-5f
-68
-49
-49
-97
-18
-40
-84
-01
-60
-49
-49
-97
-60
-49
-43
-7b
-18
-0a
-7e
-00
-67
-e0
-c3
-7a
-6f
-e1
-ca
-c9
-67
-e1
-c3
-7d
-20
-40
-32
-25
-6f
-e1
-47
-91
-67
-e1
-4a
-c2
-70
-00
-bd
-06
-58
-00
-00
-00
-67
-e1
-4a
-b2
-67
-e0
-cb
-77
-67
-e0
-ca
-c4
-67
-e0
-cb
-a7
-67
-e0
-ca
-ac
-d8
-e0
-00
-02
-20
-40
-46
-f0
-20
-40
-46
-e4
-20
-40
-04
-a8
-20
-40
-49
-8e
 20
-20
-48
-cc
-6f
-e0
-c9
-38
-c0
-00
-84
-ac
-c0
-01
-04
-ad
-20
-60
-00
-00
-20
-20
-78
-c4
-20
-20
-43
-df
+45
+54
 58
 00
 00
@@ -4851,7 +4715,7 @@
 c0
 04
 84
-bd
+9b
 20
 20
 4d
@@ -4927,7 +4791,7 @@
 c0
 03
 84
-d0
+ae
 20
 20
 57
@@ -4999,7 +4863,7 @@
 c0
 02
 04
-e2
+c0
 20
 20
 19
@@ -5015,11 +4879,11 @@
 c0
 05
 04
-e7
+c5
 c0
 09
 04
-f6
+d4
 20
 20
 1c
@@ -5047,7 +4911,7 @@
 c2
 81
 84
-f1
+cf
 6f
 e1
 44
@@ -5075,11 +4939,11 @@
 24
 22
 84
-ed
+cb
 24
 34
 04
-ed
+cb
 20
 20
 1e
@@ -5227,7 +5091,7 @@
 20
 40
 05
-45
+23
 6f
 e0
 c8
@@ -5243,15 +5107,15 @@
 24
 34
 05
-24
+02
 20
 40
-05
-21
+04
+ff
 20
 40
 05
-29
+07
 20
 20
 45
@@ -5311,7 +5175,7 @@
 c0
 05
 85
-33
+11
 20
 40
 42
@@ -5331,7 +5195,7 @@
 20
 40
 05
-3a
+18
 da
 60
 4b
@@ -5351,7 +5215,7 @@
 c0
 05
 85
-3a
+18
 20
 20
 42
@@ -5387,7 +5251,7 @@
 c0
 05
 85
-43
+21
 20
 20
 42
@@ -5403,7 +5267,7 @@
 20
 40
 05
-47
+25
 20
 20
 40
@@ -5423,23 +5287,23 @@
 20
 40
 05
-50
+2e
 20
 40
 05
-55
+33
 20
 40
 05
-5a
+38
 20
 40
 05
-5f
+3d
 20
 40
 05
-6c
+4a
 20
 20
 41
@@ -5451,7 +5315,7 @@
 20
 40
 05
-79
+57
 20
 40
 41
@@ -5471,7 +5335,7 @@
 20
 40
 05
-79
+57
 20
 40
 41
@@ -5491,7 +5355,7 @@
 20
 40
 05
-79
+57
 20
 40
 41
@@ -5535,7 +5399,7 @@
 c0
 7f
 85
-68
+46
 20
 20
 41
@@ -5547,7 +5411,7 @@
 20
 40
 05
-7c
+5a
 68
 48
 c9
@@ -5587,7 +5451,7 @@
 c0
 7f
 85
-75
+53
 20
 20
 41
@@ -5599,7 +5463,7 @@
 20
 40
 05
-7c
+5a
 68
 48
 c9
@@ -5635,7 +5499,7 @@
 20
 40
 05
-84
+62
 20
 40
 79
@@ -5643,11 +5507,11 @@
 20
 40
 05
-87
+65
 20
 40
 05
-9b
+79
 20
 20
 46
@@ -5695,7 +5559,7 @@
 20
 40
 05
-90
+6e
 20
 20
 40
@@ -5723,7 +5587,7 @@
 c0
 7f
 85
-97
+75
 20
 20
 40
@@ -5735,7 +5599,7 @@
 20
 40
 05
-7c
+5a
 68
 48
 c9
@@ -5759,7 +5623,7 @@
 24
 3a
 05
-a4
+82
 6f
 e0
 cc
@@ -5767,11 +5631,11 @@
 20
 40
 05
-79
+57
 20
 40
 05
-b4
+92
 68
 48
 cc
@@ -5795,7 +5659,7 @@
 20
 40
 05
-7c
+5a
 70
 4c
 3f
@@ -5811,11 +5675,11 @@
 20
 40
 05
-cd
+ab
 20
 40
 05
-b8
+96
 68
 48
 cc
@@ -5859,7 +5723,7 @@
 20
 40
 05
-c3
+a1
 67
 e0
 cc
@@ -5871,7 +5735,7 @@
 20
 3a
 05
-bf
+9d
 6f
 e0
 cc
@@ -5935,11 +5799,11 @@
 c0
 03
 85
-d8
+b6
 c0
 00
 05
-da
+b8
 20
 60
 00
@@ -5979,11 +5843,11 @@
 c0
 03
 85
-d8
+b6
 c0
 00
 05
-da
+b8
 20
 60
 00
@@ -6027,7 +5891,7 @@
 c2
 9e
 85
-e8
+c6
 18
 42
 7e
@@ -6058,8 +5922,8 @@
 3e
 24
 3a
-06
 05
+e3
 6f
 e4
 4b
@@ -6067,7 +5931,7 @@
 c2
 8e
 05
-f9
+d7
 18
 42
 7e
@@ -6079,11 +5943,11 @@
 c0
 00
 05
-f5
+d3
 c0
 01
 05
-f3
+d1
 20
 60
 00
@@ -6095,7 +5959,7 @@
 20
 20
 05
-e5
+c3
 58
 00
 00
@@ -6103,7 +5967,7 @@
 20
 20
 05
-e5
+c3
 58
 00
 00
@@ -6111,7 +5975,7 @@
 20
 20
 05
-e5
+c3
 58
 00
 00
@@ -6119,7 +5983,7 @@
 20
 20
 05
-e5
+c3
 18
 42
 7e
@@ -6131,15 +5995,15 @@
 c0
 00
 05
-f5
+d3
 c0
 01
 05
-f7
+d5
 c0
 01
 85
-f3
+d1
 20
 60
 00
@@ -6155,15 +6019,15 @@
 c0
 00
 05
-f7
+d5
 c0
 00
 85
-f3
+d1
 c0
 01
 85
-f1
+cf
 20
 60
 00
@@ -6175,7 +6039,7 @@
 c2
 8e
 05
-ff
+dd
 18
 42
 7e
@@ -6187,11 +6051,11 @@
 c0
 00
 05
-f1
+cf
 c0
 00
 85
-f3
+d1
 20
 60
 00
@@ -6228,8 +6092,8 @@
 20
 26
 f6
-ae
-14
+32
+49
 aa
 55
 40
@@ -6581,7 +6445,7 @@
 00
 b3
 4b
-03
+02
 03
 aa
 55
@@ -7565,16 +7429,16 @@
 02
 40
 00
-9a
+12
 1d
 55
 aa
 aa
 55
-53
-8b
-65
-6d
+ca
+8a
+2c
+62
 ff
 ff
 ff
@@ -8188,5 +8052,141 @@
 ff
 ff
 ff
-97
-d9
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+04
+a2
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/flash.dat	(revision 1844)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/flash.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-52
-18
+ca
+17
 c2
 84
 00
@@ -78,12 +78,12 @@
 db
 c0
 67
-05
-12
+04
+f0
 c0
 67
 85
-dc
+ba
 c0
 68
 03
@@ -91,11 +91,11 @@
 c0
 68
 85
-47
+25
 c0
 6a
 05
-2c
+0a
 c0
 6b
 02
@@ -111,11 +111,11 @@
 c0
 6d
 84
-ae
+8c
 c0
 6f
 05
-7f
+5d
 c0
 6f
 80
@@ -131,7 +131,7 @@
 c0
 74
 04
-b5
+93
 20
 20
 13
@@ -139,7 +139,7 @@
 c0
 0d
 04
-c9
+a7
 c0
 10
 00
@@ -155,19 +155,19 @@
 c0
 43
 84
-b1
+8f
 c0
 50
 84
-d3
+b1
 c0
 51
 84
-dd
+bb
 c0
 60
 04
-df
+bd
 c0
 6e
 82
@@ -186,12 +186,12 @@
 95
 c0
 76
-05
-05
+04
+e3
 c0
 76
-86
-0c
+85
+ea
 20
 20
 13
@@ -1023,7 +1023,7 @@
 20
 40
 05
-3e
+1c
 20
 20
 3b
@@ -1623,7 +1623,7 @@
 20
 20
 05
-3e
+1c
 20
 40
 26
@@ -2027,11 +2027,11 @@
 20
 40
 05
-37
+15
 20
 40
 05
-3e
+1c
 20
 20
 3e
@@ -2079,7 +2079,7 @@
 20
 40
 05
-79
+57
 d8
 40
 00
@@ -2287,7 +2287,7 @@
 20
 40
 05
-79
+57
 20
 20
 3e
@@ -2314,8 +2314,8 @@
 9f
 20
 40
-05
-05
+04
+e3
 24
 74
 00
@@ -2827,7 +2827,7 @@
 20
 40
 05
-3e
+1c
 20
 20
 02
@@ -4657,145 +4657,9 @@
 4a
 f2
 20
-40
-43
-14
-6f
-e1
-47
-8c
-c2
-85
-c5
-5f
-6f
-e4
-4b
-ab
-c3
-04
-45
-5f
-68
-49
-49
-97
-18
-40
-84
-01
-60
-49
-49
-97
-60
-49
-43
-7b
-18
-0a
-7e
-00
-67
-e0
-c3
-7a
-6f
-e1
-ca
-c9
-67
-e1
-c3
-7d
-20
-40
-32
-25
-6f
-e1
-47
-91
-67
-e1
-4a
-c2
-70
-00
-bd
-06
-58
-00
-00
-00
-67
-e1
-4a
-b2
-67
-e0
-cb
-77
-67
-e0
-ca
-c4
-67
-e0
-cb
-a7
-67
-e0
-ca
-ac
-d8
-e0
-00
-02
-20
-40
-46
-f0
-20
-40
-46
-e4
-20
-40
-04
-a8
-20
-40
-49
-8e
 20
-20
-48
-cc
-6f
-e0
-c9
-38
-c0
-00
-84
-ac
-c0
-01
-04
-ad
-20
-60
-00
-00
-20
-20
-78
-c4
-20
-20
-43
-df
+45
+54
 58
 00
 00
@@ -4851,7 +4715,7 @@
 c0
 04
 84
-bd
+9b
 20
 20
 4d
@@ -4927,7 +4791,7 @@
 c0
 03
 84
-d0
+ae
 20
 20
 57
@@ -4999,7 +4863,7 @@
 c0
 02
 04
-e2
+c0
 20
 20
 19
@@ -5015,11 +4879,11 @@
 c0
 05
 04
-e7
+c5
 c0
 09
 04
-f6
+d4
 20
 20
 1c
@@ -5047,7 +4911,7 @@
 c2
 81
 84
-f1
+cf
 6f
 e1
 44
@@ -5075,11 +4939,11 @@
 24
 22
 84
-ed
+cb
 24
 34
 04
-ed
+cb
 20
 20
 1e
@@ -5227,7 +5091,7 @@
 20
 40
 05
-45
+23
 6f
 e0
 c8
@@ -5243,15 +5107,15 @@
 24
 34
 05
-24
+02
 20
 40
-05
-21
+04
+ff
 20
 40
 05
-29
+07
 20
 20
 45
@@ -5311,7 +5175,7 @@
 c0
 05
 85
-33
+11
 20
 40
 42
@@ -5331,7 +5195,7 @@
 20
 40
 05
-3a
+18
 da
 60
 4b
@@ -5351,7 +5215,7 @@
 c0
 05
 85
-3a
+18
 20
 20
 42
@@ -5387,7 +5251,7 @@
 c0
 05
 85
-43
+21
 20
 20
 42
@@ -5403,7 +5267,7 @@
 20
 40
 05
-47
+25
 20
 20
 40
@@ -5423,23 +5287,23 @@
 20
 40
 05
-50
+2e
 20
 40
 05
-55
+33
 20
 40
 05
-5a
+38
 20
 40
 05
-5f
+3d
 20
 40
 05
-6c
+4a
 20
 20
 41
@@ -5451,7 +5315,7 @@
 20
 40
 05
-79
+57
 20
 40
 41
@@ -5471,7 +5335,7 @@
 20
 40
 05
-79
+57
 20
 40
 41
@@ -5491,7 +5355,7 @@
 20
 40
 05
-79
+57
 20
 40
 41
@@ -5535,7 +5399,7 @@
 c0
 7f
 85
-68
+46
 20
 20
 41
@@ -5547,7 +5411,7 @@
 20
 40
 05
-7c
+5a
 68
 48
 c9
@@ -5587,7 +5451,7 @@
 c0
 7f
 85
-75
+53
 20
 20
 41
@@ -5599,7 +5463,7 @@
 20
 40
 05
-7c
+5a
 68
 48
 c9
@@ -5635,7 +5499,7 @@
 20
 40
 05
-84
+62
 20
 40
 79
@@ -5643,11 +5507,11 @@
 20
 40
 05
-87
+65
 20
 40
 05
-9b
+79
 20
 20
 46
@@ -5695,7 +5559,7 @@
 20
 40
 05
-90
+6e
 20
 20
 40
@@ -5723,7 +5587,7 @@
 c0
 7f
 85
-97
+75
 20
 20
 40
@@ -5735,7 +5599,7 @@
 20
 40
 05
-7c
+5a
 68
 48
 c9
@@ -5759,7 +5623,7 @@
 24
 3a
 05
-a4
+82
 6f
 e0
 cc
@@ -5767,11 +5631,11 @@
 20
 40
 05
-79
+57
 20
 40
 05
-b4
+92
 68
 48
 cc
@@ -5795,7 +5659,7 @@
 20
 40
 05
-7c
+5a
 70
 4c
 3f
@@ -5811,11 +5675,11 @@
 20
 40
 05
-cd
+ab
 20
 40
 05
-b8
+96
 68
 48
 cc
@@ -5859,7 +5723,7 @@
 20
 40
 05
-c3
+a1
 67
 e0
 cc
@@ -5871,7 +5735,7 @@
 20
 3a
 05
-bf
+9d
 6f
 e0
 cc
@@ -5935,11 +5799,11 @@
 c0
 03
 85
-d8
+b6
 c0
 00
 05
-da
+b8
 20
 60
 00
@@ -5979,11 +5843,11 @@
 c0
 03
 85
-d8
+b6
 c0
 00
 05
-da
+b8
 20
 60
 00
@@ -6027,7 +5891,7 @@
 c2
 9e
 85
-e8
+c6
 18
 42
 7e
@@ -6058,8 +5922,8 @@
 3e
 24
 3a
-06
 05
+e3
 6f
 e4
 4b
@@ -6067,7 +5931,7 @@
 c2
 8e
 05
-f9
+d7
 18
 42
 7e
@@ -6079,11 +5943,11 @@
 c0
 00
 05
-f5
+d3
 c0
 01
 05
-f3
+d1
 20
 60
 00
@@ -6095,7 +5959,7 @@
 20
 20
 05
-e5
+c3
 58
 00
 00
@@ -6103,7 +5967,7 @@
 20
 20
 05
-e5
+c3
 58
 00
 00
@@ -6111,7 +5975,7 @@
 20
 20
 05
-e5
+c3
 58
 00
 00
@@ -6119,7 +5983,7 @@
 20
 20
 05
-e5
+c3
 18
 42
 7e
@@ -6131,15 +5995,15 @@
 c0
 00
 05
-f5
+d3
 c0
 01
 05
-f7
+d5
 c0
 01
 85
-f3
+d1
 20
 60
 00
@@ -6155,15 +6019,15 @@
 c0
 00
 05
-f7
+d5
 c0
 00
 85
-f3
+d1
 c0
 01
 85
-f1
+cf
 20
 60
 00
@@ -6175,7 +6039,7 @@
 c2
 8e
 05
-ff
+dd
 18
 42
 7e
@@ -6187,11 +6051,11 @@
 c0
 00
 05
-f1
+cf
 c0
 00
 85
-f3
+d1
 20
 60
 00
@@ -6228,8 +6092,8 @@
 20
 26
 f6
-ae
-14
+32
+49
 aa
 55
 40
@@ -6581,7 +6445,7 @@
 00
 b3
 4b
-03
+02
 03
 aa
 55
@@ -7565,16 +7429,16 @@
 02
 40
 00
-9a
+12
 1d
 55
 aa
 aa
 55
-53
-8b
-65
-6d
+ca
+8a
+2c
+62
 ff
 ff
 ff
@@ -8188,5 +8052,141 @@
 ff
 ff
 ff
-97
-d9
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+04
+a2
Index: output/otp.dat
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/otp.dat	(revision 1844)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/otp.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-52
-18
+ca
+17
 c2
 84
 00
@@ -78,12 +78,12 @@
 db
 c0
 67
-05
-12
+04
+f0
 c0
 67
 85
-dc
+ba
 c0
 68
 03
@@ -91,11 +91,11 @@
 c0
 68
 85
-47
+25
 c0
 6a
 05
-2c
+0a
 c0
 6b
 02
@@ -111,11 +111,11 @@
 c0
 6d
 84
-ae
+8c
 c0
 6f
 05
-7f
+5d
 c0
 6f
 80
@@ -131,7 +131,7 @@
 c0
 74
 04
-b5
+93
 20
 20
 13
@@ -139,7 +139,7 @@
 c0
 0d
 04
-c9
+a7
 c0
 10
 00
@@ -155,19 +155,19 @@
 c0
 43
 84
-b1
+8f
 c0
 50
 84
-d3
+b1
 c0
 51
 84
-dd
+bb
 c0
 60
 04
-df
+bd
 c0
 6e
 82
@@ -186,12 +186,12 @@
 95
 c0
 76
-05
-05
+04
+e3
 c0
 76
-86
-0c
+85
+ea
 20
 20
 13
@@ -1023,7 +1023,7 @@
 20
 40
 05
-3e
+1c
 20
 20
 3b
@@ -1623,7 +1623,7 @@
 20
 20
 05
-3e
+1c
 20
 40
 26
@@ -2027,11 +2027,11 @@
 20
 40
 05
-37
+15
 20
 40
 05
-3e
+1c
 20
 20
 3e
@@ -2079,7 +2079,7 @@
 20
 40
 05
-79
+57
 d8
 40
 00
@@ -2287,7 +2287,7 @@
 20
 40
 05
-79
+57
 20
 20
 3e
@@ -2314,8 +2314,8 @@
 9f
 20
 40
-05
-05
+04
+e3
 24
 74
 00
@@ -2827,7 +2827,7 @@
 20
 40
 05
-3e
+1c
 20
 20
 02
@@ -4657,145 +4657,9 @@
 4a
 f2
 20
-40
-43
-14
-6f
-e1
-47
-8c
-c2
-85
-c5
-5f
-6f
-e4
-4b
-ab
-c3
-04
-45
-5f
-68
-49
-49
-97
-18
-40
-84
-01
-60
-49
-49
-97
-60
-49
-43
-7b
-18
-0a
-7e
-00
-67
-e0
-c3
-7a
-6f
-e1
-ca
-c9
-67
-e1
-c3
-7d
-20
-40
-32
-25
-6f
-e1
-47
-91
-67
-e1
-4a
-c2
-70
-00
-bd
-06
-58
-00
-00
-00
-67
-e1
-4a
-b2
-67
-e0
-cb
-77
-67
-e0
-ca
-c4
-67
-e0
-cb
-a7
-67
-e0
-ca
-ac
-d8
-e0
-00
-02
-20
-40
-46
-f0
-20
-40
-46
-e4
-20
-40
-04
-a8
-20
-40
-49
-8e
-20
-20
-48
-cc
-6f
-e0
-c9
-38
-c0
-00
-84
-ac
-c0
-01
-04
-ad
-20
-60
-00
-00
-20
 20
-78
-c4
-20
-20
-43
-df
+45
+54
 58
 00
 00
@@ -4851,7 +4715,7 @@
 c0
 04
 84
-bd
+9b
 20
 20
 4d
@@ -4927,7 +4791,7 @@
 c0
 03
 84
-d0
+ae
 20
 20
 57
@@ -4999,7 +4863,7 @@
 c0
 02
 04
-e2
+c0
 20
 20
 19
@@ -5015,11 +4879,11 @@
 c0
 05
 04
-e7
+c5
 c0
 09
 04
-f6
+d4
 20
 20
 1c
@@ -5047,7 +4911,7 @@
 c2
 81
 84
-f1
+cf
 6f
 e1
 44
@@ -5075,11 +4939,11 @@
 24
 22
 84
-ed
+cb
 24
 34
 04
-ed
+cb
 20
 20
 1e
@@ -5227,7 +5091,7 @@
 20
 40
 05
-45
+23
 6f
 e0
 c8
@@ -5243,15 +5107,15 @@
 24
 34
 05
-24
+02
 20
 40
-05
-21
+04
+ff
 20
 40
 05
-29
+07
 20
 20
 45
@@ -5311,7 +5175,7 @@
 c0
 05
 85
-33
+11
 20
 40
 42
@@ -5331,7 +5195,7 @@
 20
 40
 05
-3a
+18
 da
 60
 4b
@@ -5351,7 +5215,7 @@
 c0
 05
 85
-3a
+18
 20
 20
 42
@@ -5387,7 +5251,7 @@
 c0
 05
 85
-43
+21
 20
 20
 42
@@ -5403,7 +5267,7 @@
 20
 40
 05
-47
+25
 20
 20
 40
@@ -5423,23 +5287,23 @@
 20
 40
 05
-50
+2e
 20
 40
 05
-55
+33
 20
 40
 05
-5a
+38
 20
 40
 05
-5f
+3d
 20
 40
 05
-6c
+4a
 20
 20
 41
@@ -5451,7 +5315,7 @@
 20
 40
 05
-79
+57
 20
 40
 41
@@ -5471,7 +5335,7 @@
 20
 40
 05
-79
+57
 20
 40
 41
@@ -5491,7 +5355,7 @@
 20
 40
 05
-79
+57
 20
 40
 41
@@ -5535,7 +5399,7 @@
 c0
 7f
 85
-68
+46
 20
 20
 41
@@ -5547,7 +5411,7 @@
 20
 40
 05
-7c
+5a
 68
 48
 c9
@@ -5587,7 +5451,7 @@
 c0
 7f
 85
-75
+53
 20
 20
 41
@@ -5599,7 +5463,7 @@
 20
 40
 05
-7c
+5a
 68
 48
 c9
@@ -5635,7 +5499,7 @@
 20
 40
 05
-84
+62
 20
 40
 79
@@ -5643,11 +5507,11 @@
 20
 40
 05
-87
+65
 20
 40
 05
-9b
+79
 20
 20
 46
@@ -5695,7 +5559,7 @@
 20
 40
 05
-90
+6e
 20
 20
 40
@@ -5723,7 +5587,7 @@
 c0
 7f
 85
-97
+75
 20
 20
 40
@@ -5735,7 +5599,7 @@
 20
 40
 05
-7c
+5a
 68
 48
 c9
@@ -5759,7 +5623,7 @@
 24
 3a
 05
-a4
+82
 6f
 e0
 cc
@@ -5767,11 +5631,11 @@
 20
 40
 05
-79
+57
 20
 40
 05
-b4
+92
 68
 48
 cc
@@ -5795,7 +5659,7 @@
 20
 40
 05
-7c
+5a
 70
 4c
 3f
@@ -5811,11 +5675,11 @@
 20
 40
 05
-cd
+ab
 20
 40
 05
-b8
+96
 68
 48
 cc
@@ -5859,7 +5723,7 @@
 20
 40
 05
-c3
+a1
 67
 e0
 cc
@@ -5871,7 +5735,7 @@
 20
 3a
 05
-bf
+9d
 6f
 e0
 cc
@@ -5935,11 +5799,11 @@
 c0
 03
 85
-d8
+b6
 c0
 00
 05
-da
+b8
 20
 60
 00
@@ -5979,11 +5843,11 @@
 c0
 03
 85
-d8
+b6
 c0
 00
 05
-da
+b8
 20
 60
 00
@@ -6027,7 +5891,7 @@
 c2
 9e
 85
-e8
+c6
 18
 42
 7e
@@ -6058,8 +5922,8 @@
 3e
 24
 3a
-06
 05
+e3
 6f
 e4
 4b
@@ -6067,7 +5931,7 @@
 c2
 8e
 05
-f9
+d7
 18
 42
 7e
@@ -6079,11 +5943,11 @@
 c0
 00
 05
-f5
+d3
 c0
 01
 05
-f3
+d1
 20
 60
 00
@@ -6095,7 +5959,7 @@
 20
 20
 05
-e5
+c3
 58
 00
 00
@@ -6103,7 +5967,7 @@
 20
 20
 05
-e5
+c3
 58
 00
 00
@@ -6111,7 +5975,7 @@
 20
 20
 05
-e5
+c3
 58
 00
 00
@@ -6119,7 +5983,7 @@
 20
 20
 05
-e5
+c3
 18
 42
 7e
@@ -6131,15 +5995,15 @@
 c0
 00
 05
-f5
+d3
 c0
 01
 05
-f7
+d5
 c0
 01
 85
-f3
+d1
 20
 60
 00
@@ -6155,15 +6019,15 @@
 c0
 00
 05
-f7
+d5
 c0
 00
 85
-f3
+d1
 c0
 01
 85
-f1
+cf
 20
 60
 00
@@ -6175,7 +6039,7 @@
 c2
 8e
 05
-ff
+dd
 18
 42
 7e
@@ -6187,11 +6051,11 @@
 c0
 00
 05
-f1
+cf
 c0
 00
 85
-f3
+d1
 20
 60
 00
@@ -6228,8 +6092,8 @@
 20
 26
 f6
-ae
-14
+32
+49
 aa
 55
 40
@@ -6581,7 +6445,7 @@
 00
 b3
 4b
-03
+02
 03
 aa
 55
@@ -7565,13 +7429,13 @@
 03
 01
 00
-9a
+12
 1d
 55
 aa
 aa
 55
-15
-8b
-07
-11
+8c
+8a
+4e
+1e
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/program.lis	(revision 1844)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/program.lis	(working copy)
@@ -18,37 +18,37 @@
 000f c06481fc beq patch19_1 ,p_mouse_setgpio_hibernate 
 0010 c0650234 beq patch19_2 ,p_mouse_lpm_before_common 
 0011 c06600db beq patch19_4 ,p_mouse_adc_read_start 
-0012 c0670512 beq patch19_6 ,p_mouse_motion 
-0013 c06785dc beq patch19_7 ,p_mouse_dpi_process 
+0012 c06704f0 beq patch19_6 ,p_mouse_motion 
+0013 c06785ba beq patch19_7 ,p_mouse_dpi_process 
 0014 c068030b beq patch1a_0 ,p_mouse_seting_dpi 
-0015 c0688547 beq patch1a_1 ,p_mouse_check_key_gpio 
-0016 c06a052c beq patch1a_4 ,p_mouse_sensor_poweron 
+0015 c0688525 beq patch1a_1 ,p_mouse_check_key_gpio 
+0016 c06a050a beq patch1a_4 ,p_mouse_sensor_poweron 
 0017 c06b0256 beq patch1a_6 ,p_mouse_priority_bb_event 
 0018 c06c833b beq patch1b_1 ,p_mouse_bb_event_timer 
 0019 c06d0482 beq patch1b_2 ,p_mouse_start_discovery 
-001a c06d84ae beq patch1b_3 ,p_mouse_stop_discovery 
-001b c06f057f beq patch1b_6 ,p_mouse_idle 
+001a c06d848c beq patch1b_3 ,p_mouse_stop_discovery 
+001b c06f055d beq patch1b_6 ,p_mouse_idle 
 001c c06f8053 beq patch1b_7 ,p_mouse_ready_reconnection_by_button 
 001d c070804b beq patch1c_1 ,p_mouse_led_off 
 001e c0710047 beq patch1c_2 ,p_mouse_led_on 
-001f c07404b5 beq patch1d_0 ,p_hid_rx_process 
+001f c0740493 beq patch1d_0 ,p_hid_rx_process 
 0020 2020137c branch loop 
 
 pf_patch_ext:
-0021 c00d04c9 beq patch23_2 ,p_send_lmp 
+0021 c00d04a7 beq patch23_2 ,p_send_lmp 
 0022 c0100045 beq patch24_0 ,p_twspi_reset 
 0023 c01980bb beq patch26_3 ,p_adc_init_data 
 0024 c01a00c0 beq patch26_4 ,p_enable_adc 
-0025 c04384b1 beq patch30_7 ,p_ui_timer_check 
-0026 c05084d3 beq patch34_1 ,p_le_slave_match 
-0027 c05184dd beq patch34_3 ,p_le_slave_unsync 
-0028 c06004df beq patch38_0 ,p_le_parse_l2cap 
+0025 c043848f beq patch30_7 ,p_ui_timer_check 
+0026 c05084b1 beq patch34_1 ,p_le_slave_match 
+0027 c05184bb beq patch34_3 ,p_le_slave_unsync 
+0028 c06004bd beq patch38_0 ,p_le_parse_l2cap 
 0029 c06e82f7 beq patch3b_5 ,p_g24_dispatch 
 002a c07102c3 beq patch3c_2 ,p_g24_pair_dispatch 
 002b c07482cb beq patch3d_1 ,p_g24_reconn_dispatch 
 002c c0750195 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-002d c0760505 beq patch3d_4 ,p_g24_lpm_wait 
-002e c076860c beq patch3d_5 ,p_power_ctrl_start 
+002d c07604e3 beq patch3d_4 ,p_g24_lpm_wait 
+002e c07685ea beq patch3d_5 ,p_power_ctrl_start 
 002f 2020137c branch loop 
 
 p_lpm_dispatch:
@@ -332,7 +332,7 @@
 00fb 20403d8a call mouse_usb_check_enable 
 00fc 20404728 call mouse_drawing_optima_init 
 00fd 20400150 call p_mouse_cb_fuction 
-00fe 2040053e call p_mouse_sensor_powerdown 
+00fe 2040051c call p_mouse_sensor_powerdown 
 00ff 20203bc9 branch mouse_init + 8 
 
 p_mouse_double_dpi_judge:
@@ -524,7 +524,7 @@
 0191 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 0192 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 0193 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-0194 2020053e branch p_mouse_sensor_powerdown 
+0194 2020051c branch p_mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
 0195 20402631 call g24_txdata_prep 
@@ -665,8 +665,8 @@
 01f6 58000006 setarg pan_reg_config 
 01f7 20405b0d call twspi_read 
 01f8 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-01f9 20400537 call p_mouse_sensor_reset 
-01fa 2040053e call p_mouse_sensor_powerdown 
+01f9 20400515 call p_mouse_sensor_reset 
+01fa 2040051c call p_mouse_sensor_powerdown 
 01fb 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_setgpio_hibernate:
@@ -680,7 +680,7 @@
 0203 6848c910 fetcht 1 ,mem_matrix_public_gpio 
 0204 20406042 call gpio_clr_wake 
 0205 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0206 20400579 call p_mouse_gpio_config_output_high 
+0206 20400557 call p_mouse_gpio_config_output_high 
 0207 d8400003 arg 3 ,temp 
 0208 20403f56 call mouse_gpio_config_input_pu 
 0209 20400234 call p_mouse_lpm_before_common 
@@ -746,7 +746,7 @@
 0237 20406050 call gpio_config_input 
 0238 20403f88 call mouse_wheel_check 
 0239 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-023a 20400579 call p_mouse_gpio_config_output_high 
+023a 20400557 call p_mouse_gpio_config_output_high 
 023b 20203e44 branch mouse_lpm_before_common + 4 
 
 p_g24_nodata_transmit:
@@ -757,7 +757,7 @@
 0240 2040269f call g24_search_receiver 
 
 p_g24_long_sleep:
-0241 20400505 call p_g24_lpm_wait 
+0241 204004e3 call p_g24_lpm_wait 
 0242 24740000 nrtn user 
 0243 204026c4 call g24_setgpio_lpm_before 
 0244 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
@@ -921,7 +921,7 @@
 02be 58000000 setarg 0 
 02bf 67e3c8d0 store 7 ,mem_mouse_key 
 02c0 704be101 jam 1 ,mem_sensor_shutdown_flag 
-02c1 2040053e call p_mouse_sensor_powerdown 
+02c1 2040051c call p_mouse_sensor_powerdown 
 02c2 20200241 branch p_g24_long_sleep 
 
 p_g24_pair_dispatch:
@@ -1577,545 +1577,503 @@
 0488 2040c322 call mouse_cancel_reconnect ,true 
 0489 58000000 setarg 0 
 048a 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-048b 20404314 call mouse_bluetooth_fast_conn_disable 
-048c 6fe1478c fetch 2 ,mem_ui_state_map 
-048d c285c55f bbit1 ui_state_ble_adv ,mouse_start_discovery_norandom 
-048e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-048f c304455f bbit0 mouse_enable_ble_random_addre ,mouse_start_discovery_norandom 
-0490 68494997 fetcht 2 ,mem_random_addr_increase_count 
-0491 18408401 increase 1 ,temp 
-0492 60494997 storet 2 ,mem_random_addr_increase_count 
-0493 6049437b storet 2 ,mem_le_lap + 1 
-0494 180a7e00 random pdata 
-0495 67e0c37a store 1 ,mem_le_lap 
-
-p_mouse_start_discovery_norandom:
-0496 6fe1cac9 fetch 3 ,mem_mouse_le_lap_temp 
-0497 67e1c37d store 3 ,mem_le_lap + 3 
-0498 20403225 call app_lpm_mult_disable 
-0499 6fe14791 fetch 2 ,mem_discovery_timeout 
-049a 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-049b 7000bd06 jam 6 ,mem_connection_options 
-049c 58000000 setarg 0 
-049d 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-049e 67e0cb77 store 1 ,mem_mouse_direct_timer 
-049f 67e0cac4 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
-04a0 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
-04a1 67e0caac store 1 ,mem_mouse_clear_sensor_data_flag 
-04a2 d8e00002 arg mouse_store_eeprom_flag ,queue 
-04a3 204046f0 call mouse_enable_function_flag 
-04a4 204046e4 call mouse_bt_discovery_button_down_disable 
-04a5 204004a8 call p_mouse_select_bt_adv_mode 
-04a6 2040498e call mouse_low_voltage_led_blink_disable 
-04a7 202048cc branch mouse_discover_setting_led_gpio 
-
-p_mouse_select_bt_adv_mode:
-04a8 6fe0c938 fetch 1 ,mem_device_flag 
-04a9 c00084ac beq mode_bt_device1 ,p_mouse_current_classic_mode 
-04aa c00104ad beq mode_bt_device2 ,p_mouse_current_ble_mode 
-04ab 20600000 rtn 
-
-p_mouse_current_classic_mode:
-04ac 202078c4 branch check_51cmd_start_discovery 
-
-p_mouse_current_ble_mode:
-04ad 202043df branch mouse_check_51cmd_adv 
+048b 20204554 branch mouse_start_discovery + 1 
 
 p_mouse_stop_discovery:
-04ae 58000000 setarg 0 
-04af 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-04b0 20204577 branch mouse_stop_discovery + 1 
+048c 58000000 setarg 0 
+048d 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+048e 20204577 branch mouse_stop_discovery + 1 
 
 p_ui_timer_check:
-04b1 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-04b2 245a7861 ncall ui_timer_init ,blank 
-04b3 704be200 jam 0 ,mem_power_on_flag 
-04b4 20207851 branch ui_timer_check + 1 
+048f 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+0490 245a7861 ncall ui_timer_init ,blank 
+0491 704be200 jam 0 ,mem_power_on_flag 
+0492 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-04b5 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-04b6 1fe20c00 copy pdata ,contr 
-04b7 efe08006 ifetch 1 ,contr 
-04b8 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-04b9 1fe1040f and pdata ,0x0f ,temp 
-04ba 1ff1fe00 rshift4 pdata ,pdata 
-04bb c00484bd beq hid_type_set_idle ,p_hid_rx_process_handshake 
-04bc 20204d93 branch hid_rx_process + 7 
+0493 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+0494 1fe20c00 copy pdata ,contr 
+0495 efe08006 ifetch 1 ,contr 
+0496 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+0497 1fe1040f and pdata ,0x0f ,temp 
+0498 1ff1fe00 rshift4 pdata ,pdata 
+0499 c004849b beq hid_type_set_idle ,p_hid_rx_process_handshake 
+049a 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-04bd da200001 arg 1 ,rega 
-04be 20404dc0 call hid_malloc_tx_buff 
-04bf 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-04c0 e7e10005 istore 2 ,contw 
-04c1 58000000 setarg 0 
-04c2 e7e08005 istore 1 ,contw 
-04c3 70095001 jam 1 ,mem_ui_data_txbuff_length 
-04c4 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-04c5 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-04c6 67e0c4e2 store 1 ,mem_hid_control_state 
-04c7 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-04c8 20207871 branch ui_ipc_send_event 
+049b da200001 arg 1 ,rega 
+049c 20404dc0 call hid_malloc_tx_buff 
+049d 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+049e e7e10005 istore 2 ,contw 
+049f 58000000 setarg 0 
+04a0 e7e08005 istore 1 ,contw 
+04a1 70095001 jam 1 ,mem_ui_data_txbuff_length 
+04a2 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+04a3 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+04a4 67e0c4e2 store 1 ,mem_hid_control_state 
+04a5 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+04a6 20207871 branch ui_ipc_send_event 
 
 p_send_lmp:
-04c9 78547c00 disable user 
-04ca 204059e6 call lmo_fifo_process 
-04cb 6fe08049 fetch 1 ,mem_lmp_to_send 
-04cc 207a0000 rtn blank 
-04cd c283d730 bbit1 7 ,send_lmp_escape 
+04a7 78547c00 disable user 
+04a8 204059e6 call lmo_fifo_process 
+04a9 6fe08049 fetch 1 ,mem_lmp_to_send 
+04aa 207a0000 rtn blank 
+04ab c283d730 bbit1 7 ,send_lmp_escape 
 
 p_send_lmp0:
-04ce c00384d0 beq lmp_detach ,p_send_lmp_detach 
-04cf 20205701 branch send_lmp0 
+04ac c00384ae beq lmp_detach ,p_send_lmp_detach 
+04ad 20205701 branch send_lmp0 
 
 p_send_lmp_detach:
-04d0 2040585d call send_lmp_detach 
-04d1 70007378 jam 120 ,mem_conn_timer 
-04d2 20600000 rtn 
+04ae 2040585d call send_lmp_detach 
+04af 70007378 jam 120 ,mem_conn_timer 
+04b0 20600000 rtn 
 
 p_le_slave_match:
-04d3 6fe0c3dd fetch 1 ,mem_le_md_count 
-04d4 1fe0fe01 pincrease 1 
-04d5 67e0c3dd store 1 ,mem_le_md_count 
-04d6 c006165a beq le_md_max_count ,le_slave_cont 
-04d7 2040191b call le_acknowledge 
-04d8 2040196a call le_prepare_tx 
-04d9 6fe082bd fetch 1 ,mem_le_tx_phy 
-04da 2040168b call le_enable_phy_by_pdata 
-04db 20401838 call le_transmit 
-04dc 20201655 branch le_slave_match + 10 
+04b1 6fe0c3dd fetch 1 ,mem_le_md_count 
+04b2 1fe0fe01 pincrease 1 
+04b3 67e0c3dd store 1 ,mem_le_md_count 
+04b4 c006165a beq le_md_max_count ,le_slave_cont 
+04b5 2040191b call le_acknowledge 
+04b6 2040196a call le_prepare_tx 
+04b7 6fe082bd fetch 1 ,mem_le_tx_phy 
+04b8 2040168b call le_enable_phy_by_pdata 
+04b9 20401838 call le_transmit 
+04ba 20201655 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-04dd 20400e80 call end_of_packet 
-04de 20201661 branch le_slave_unsync + 1 
+04bb 20400e80 call end_of_packet 
+04bc 20201661 branch le_slave_unsync + 1 
 
 p_le_parse_l2cap:
-04df efe10006 ifetch 2 ,contr 
-04e0 c00204e2 beq le_l2cap_cid_att ,p_le_parse_att 
-04e1 202019e4 branch le_parse_l2cap + 10 
+04bd efe10006 ifetch 2 ,contr 
+04be c00204c0 beq le_l2cap_cid_att ,p_le_parse_att 
+04bf 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-04e2 efe18006 ifetch 3 ,contr 
-04e3 67e1c436 store 3 ,mem_le_att_opcode 
-04e4 c00504e7 beq attop_read_request ,p_le_parse_att_read_request 
-04e5 c00904f6 beq attop_write_request ,p_le_parse_att_write_request 
-04e6 20201cd3 branch le_parse_att + 2 
+04c0 efe18006 ifetch 3 ,contr 
+04c1 67e1c436 store 3 ,mem_le_att_opcode 
+04c2 c00504c5 beq attop_read_request ,p_le_parse_att_read_request 
+04c3 c00904d4 beq attop_write_request ,p_le_parse_att_write_request 
+04c4 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-04e7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-04e8 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-04e9 20401e8d call le_check_encrypt_state 
-04ea 68494437 fetcht 2 ,mem_le_att_handle 
-04eb 6fe0c3c0 fetch 1 ,mem_le_configuration 
-04ec c28184f1 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+04c5 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+04c6 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+04c7 20401e8d call le_check_encrypt_state 
+04c8 68494437 fetcht 2 ,mem_le_att_handle 
+04c9 6fe0c3c0 fetch 1 ,mem_le_configuration 
+04ca c28184cf bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-04ed 6fe14437 fetch 2 ,mem_le_att_handle 
-04ee c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-04ef 68494437 fetcht 2 ,mem_le_att_handle 
-04f0 20201deb branch le_send_att_read_response 
+04cb 6fe14437 fetch 2 ,mem_le_att_handle 
+04cc c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+04cd 68494437 fetcht 2 ,mem_le_att_handle 
+04ce 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-04f1 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-04f2 98467c00 isub temp ,null 
-04f3 242284ed nbranch p_le_send_att_read_response ,zero 
-04f4 243404ed nbranch p_le_send_att_read_response ,user 
-04f5 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+04cf 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+04d0 98467c00 isub temp ,null 
+04d1 242284cb nbranch p_le_send_att_read_response ,zero 
+04d2 243404cb nbranch p_le_send_att_read_response ,user 
+04d3 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-04f6 18c22200 copy contr ,rega 
-04f7 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-04f8 1fe0a5fd add pdata ,-3 ,regb 
-04f9 20401a25 call le_writeatt_cb 
-04fa 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-04fb c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-04fc 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-04fd 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-04fe 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-04ff c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0500 5800001a setarg 0x001a 
-0501 68494437 fetcht 2 ,mem_le_att_handle 
-0502 98467c00 isub temp ,null 
-0503 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-0504 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+04d4 18c22200 copy contr ,rega 
+04d5 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+04d6 1fe0a5fd add pdata ,-3 ,regb 
+04d7 20401a25 call le_writeatt_cb 
+04d8 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+04d9 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+04da 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+04db 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+04dc 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+04dd c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+04de 5800001a setarg 0x001a 
+04df 68494437 fetcht 2 ,mem_le_att_handle 
+04e0 98467c00 isub temp ,null 
+04e1 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+04e2 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_g24_lpm_wait:
-0505 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0506 243a7e56 nbranch disable_user ,blank 
-0507 78347c00 enable user 
-0508 20401465 call lpo_calibration 
-0509 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-050a 203a7e56 branch disable_user ,blank 
-050b 6fe0c099 fetch 1 ,mem_lpm_mode 
-050c 203a7e56 branch disable_user ,blank 
-050d 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-050e 247a0000 nrtn blank 
-050f 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-0510 c000fe56 beq g24_tx_timer_int_enable ,disable_user 
-0511 20600000 rtn 
+04e3 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+04e4 243a7e56 nbranch disable_user ,blank 
+04e5 78347c00 enable user 
+04e6 20401465 call lpo_calibration 
+04e7 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+04e8 203a7e56 branch disable_user ,blank 
+04e9 6fe0c099 fetch 1 ,mem_lpm_mode 
+04ea 203a7e56 branch disable_user ,blank 
+04eb 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+04ec 247a0000 nrtn blank 
+04ed 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+04ee c000fe56 beq g24_tx_timer_int_enable ,disable_user 
+04ef 20600000 rtn 
 
 p_mouse_motion:
-0512 78547c00 disable user 
-0513 58000000 setarg 0 
-0514 67e348d1 store 6 ,mem_mouse_x 
-0515 20404240 call mouse_check_sensor_data 
-0516 2040408e call mouse_dpi_config 
-0517 20403f7e call mouse_zwheel 
-0518 20403f83 call mouse_t_zwheel 
-0519 20400545 call p_mouse_key 
-051a 6fe0c8d0 fetch 1 ,mem_mouse_key 
-051b 1fe17e1f and_into 0x1f ,pdata 
-051c 67e0c8d0 store 1 ,mem_mouse_key 
-051d 24340524 nbranch p_mouse_low_power_led_delay_off ,user 
-051e 20400521 call p_mouse_work_state_flag 
-051f 20400529 call p_mouse_drawing_optima 
-0520 20204544 branch mouse_no_data_timer_init 
+04f0 78547c00 disable user 
+04f1 58000000 setarg 0 
+04f2 67e348d1 store 6 ,mem_mouse_x 
+04f3 20404240 call mouse_check_sensor_data 
+04f4 2040408e call mouse_dpi_config 
+04f5 20403f7e call mouse_zwheel 
+04f6 20403f83 call mouse_t_zwheel 
+04f7 20400523 call p_mouse_key 
+04f8 6fe0c8d0 fetch 1 ,mem_mouse_key 
+04f9 1fe17e1f and_into 0x1f ,pdata 
+04fa 67e0c8d0 store 1 ,mem_mouse_key 
+04fb 24340502 nbranch p_mouse_low_power_led_delay_off ,user 
+04fc 204004ff call p_mouse_work_state_flag 
+04fd 20400507 call p_mouse_drawing_optima 
+04fe 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_work_state_flag:
-0521 704c9c00 jam 0 ,mem_low_power_led_flag 
-0522 704c9d00 jam 0 ,mem_24g_low_power_stop_blink 
-0523 20600000 rtn 
+04ff 704c9c00 jam 0 ,mem_low_power_led_flag 
+0500 704c9d00 jam 0 ,mem_24g_low_power_stop_blink 
+0501 20600000 rtn 
 
 p_mouse_low_power_led_delay_off:
-0524 20404728 call mouse_drawing_optima_init 
-0525 6fe0cc9d fetch 1 ,mem_24g_low_power_stop_blink 
-0526 247a0000 nrtn blank 
-0527 704c9d56 jam 0x56 ,mem_24g_low_power_stop_blink 
-0528 20600000 rtn 
+0502 20404728 call mouse_drawing_optima_init 
+0503 6fe0cc9d fetch 1 ,mem_24g_low_power_stop_blink 
+0504 247a0000 nrtn blank 
+0505 704c9d56 jam 0x56 ,mem_24g_low_power_stop_blink 
+0506 20600000 rtn 
 
 p_mouse_drawing_optima:
-0529 6fe0c927 fetch 1 ,mem_config_sensor_type 
-052a c1018000 rtneq p3212 
-052b 2020471a branch mouse_drawing_optima 
+0507 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0508 c1018000 rtneq p3212 
+0509 2020471a branch mouse_drawing_optima 
 
 p_mouse_sensor_poweron:
-052c 20403f65 call mouse_sensor_spi_init 
-052d 6fe0c927 fetch 1 ,mem_config_sensor_type 
-052e c0058533 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-052f 20404232 call mouse_sensor_reset 
-0530 da604aa3 arg mem_sensor_poweron_init ,regc 
-0531 2040422b call mouse_sensor_wr_seq 
-0532 2020408e branch mouse_dpi_config 
+050a 20403f65 call mouse_sensor_spi_init 
+050b 6fe0c927 fetch 1 ,mem_config_sensor_type 
+050c c0058511 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+050d 20404232 call mouse_sensor_reset 
+050e da604aa3 arg mem_sensor_poweron_init ,regc 
+050f 2040422b call mouse_sensor_wr_seq 
+0510 2020408e branch mouse_dpi_config 
 
 p_mouse_ka8g2_sensor_init:
-0533 2040053a call p_mouse_ka8g2_sensor_reset 
-0534 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-0535 2040422b call mouse_sensor_wr_seq 
-0536 2020408e branch mouse_dpi_config 
+0511 20400518 call p_mouse_ka8g2_sensor_reset 
+0512 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
+0513 2040422b call mouse_sensor_wr_seq 
+0514 2020408e branch mouse_dpi_config 
 
 p_mouse_sensor_reset:
-0537 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0538 c005853a beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-0539 20204232 branch mouse_sensor_reset 
+0515 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0516 c0058518 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+0517 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-053a 58009706 setarg 0x9706 
-053b 20405b0c call twspi_write 
-053c 20002ee0 nop 12000 
-053d 20600000 rtn 
+0518 58009706 setarg 0x9706 
+0519 20405b0c call twspi_write 
+051a 20002ee0 nop 12000 
+051b 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-053e 204041a7 call mouse_init_sunt 
-053f 20403f65 call mouse_sensor_spi_init 
-0540 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0541 c0058543 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-0542 2020423e branch mouse_sensor_powerdown_end 
+051c 204041a7 call mouse_init_sunt 
+051d 20403f65 call mouse_sensor_spi_init 
+051e 6fe0c927 fetch 1 ,mem_config_sensor_type 
+051f c0058521 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+0520 2020423e branch mouse_sensor_powerdown_end 
 
 p_mouse_ka8g2_sensor_powerdown:
-0543 58001f06 setarg 0x1f06 
-0544 20205b0c branch twspi_write 
+0521 58001f06 setarg 0x1f06 
+0522 20205b0c branch twspi_write 
 
 p_mouse_key:
-0545 20400547 call p_mouse_check_key_gpio 
-0546 202040dd branch mouse_key + 1 
+0523 20400525 call p_mouse_check_key_gpio 
+0524 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0547 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0548 245a4121 ncall mouse_check_key_gpio_once ,blank 
-0549 da200000 arg 0 ,rega 
-054a 20400550 call p_mouse_check_lkey_gpio 
-054b 20400555 call p_mouse_check_rkey_gpio 
-054c 2040055a call p_mouse_check_mkey_gpio 
-054d 2040055f call p_mouse_check_bkkey_gpio 
-054e 2040056c call p_mouse_check_fwkey_gpio 
-054f 2020411e branch mouse_check_key_gpio_next 
+0525 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0526 245a4121 ncall mouse_check_key_gpio_once ,blank 
+0527 da200000 arg 0 ,rega 
+0528 2040052e call p_mouse_check_lkey_gpio 
+0529 20400533 call p_mouse_check_rkey_gpio 
+052a 20400538 call p_mouse_check_mkey_gpio 
+052b 2040053d call p_mouse_check_bkkey_gpio 
+052c 2040054a call p_mouse_check_fwkey_gpio 
+052d 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-0550 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-0551 20400579 call p_mouse_gpio_config_output_high 
-0552 20404124 call mouse_check_lkey_gpio 
-0553 6848c918 fetcht 1 ,mem_lbutton_gpio 
-0554 20203f56 branch mouse_gpio_config_input_pu 
+052e 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+052f 20400557 call p_mouse_gpio_config_output_high 
+0530 20404124 call mouse_check_lkey_gpio 
+0531 6848c918 fetcht 1 ,mem_lbutton_gpio 
+0532 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-0555 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-0556 20400579 call p_mouse_gpio_config_output_high 
-0557 2040412a call mouse_check_rkey_gpio 
-0558 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0559 20203f56 branch mouse_gpio_config_input_pu 
+0533 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+0534 20400557 call p_mouse_gpio_config_output_high 
+0535 2040412a call mouse_check_rkey_gpio 
+0536 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0537 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-055a 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-055b 20400579 call p_mouse_gpio_config_output_high 
-055c 20404130 call mouse_check_mkey_gpio 
-055d 6848c91a fetcht 1 ,mem_mbutton_gpio 
-055e 20203f56 branch mouse_gpio_config_input_pu 
+0538 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+0539 20400557 call p_mouse_gpio_config_output_high 
+053a 20404130 call mouse_check_mkey_gpio 
+053b 6848c91a fetcht 1 ,mem_mbutton_gpio 
+053c 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-055f 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0560 c17f8000 rtneq gpio_disable 
-0561 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-0562 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-0563 1fe22600 copy pdata ,regc 
-0564 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0565 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0566 c07f8568 beq gpio_disable ,p_mouse_3io6key_bk_check 
-0567 2020413e branch mouse_check_bkkey_gpio_next 
+053d 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+053e c17f8000 rtneq gpio_disable 
+053f 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+0540 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+0541 1fe22600 copy pdata ,regc 
+0542 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0543 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0544 c07f8546 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0545 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-0568 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0569 2040057c call p_mouse_gpio_config_output_low 
-056a 6848c90d fetcht 1 ,mem_bk_button_gpio 
-056b 2020414b branch mouse_3io6key_bk_check 
+0546 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0547 2040055a call p_mouse_gpio_config_output_low 
+0548 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0549 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-056c 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-056d c17f8000 rtneq gpio_disable 
-056e 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-056f 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-0570 1fe22600 copy pdata ,regc 
-0571 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0572 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0573 c07f8575 beq gpio_disable ,p_mouse_3io6key_fw_check 
-0574 20204157 branch mouse_check_fwkey_gpio_next 
+054a 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+054b c17f8000 rtneq gpio_disable 
+054c 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+054d 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+054e 1fe22600 copy pdata ,regc 
+054f 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0550 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0551 c07f8553 beq gpio_disable ,p_mouse_3io6key_fw_check 
+0552 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-0575 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0576 2040057c call p_mouse_gpio_config_output_low 
-0577 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0578 20204164 branch mouse_3io6key_fw_check 
+0553 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0554 2040055a call p_mouse_gpio_config_output_low 
+0555 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0556 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-0579 c17f8000 rtneq gpio_disable 
-057a d840003f arg gpcfg_output_high ,temp 
-057b 20206093 branch gpio_config_function_int 
+0557 c17f8000 rtneq gpio_disable 
+0558 d840003f arg gpcfg_output_high ,temp 
+0559 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-057c c17f8000 rtneq gpio_disable 
-057d d840003e arg gpcfg_output_low ,temp 
-057e 20206093 branch gpio_config_function_int 
+055a c17f8000 rtneq gpio_disable 
+055b d840003e arg gpcfg_output_low ,temp 
+055c 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-057f 20400584 call p_mouse_low_voltage_led_no_enter_lpm 
-0580 20407936 call ui_check_paring_button 
-0581 20400587 call p_mouse_dpi_check 
-0582 2040059b call p_mouse_dpi_another_gpio_check 
-0583 2020464f branch mouse_idle + 4 
+055d 20400562 call p_mouse_low_voltage_led_no_enter_lpm 
+055e 20407936 call ui_check_paring_button 
+055f 20400565 call p_mouse_dpi_check 
+0560 20400579 call p_mouse_dpi_another_gpio_check 
+0561 2020464f branch mouse_idle + 4 
 
 p_mouse_low_voltage_led_no_enter_lpm:
-0584 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0585 c4020000 rtnbit0 mouse_low_voltage_flag 
-0586 20204993 branch mouse_low_voltage_led_no_enter_lpm + 3 
+0562 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0563 c4020000 rtnbit0 mouse_low_voltage_flag 
+0564 20204993 branch mouse_low_voltage_led_no_enter_lpm + 3 
 
 p_mouse_dpi_check:
-0587 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0588 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-0589 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-058a c17f8000 rtneq gpio_disable 
-058b da200000 arg 0 ,rega 
-058c 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-058d 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-058e 20400590 call p_mouse_dpi_key_check 
-058f 2020402f branch mouse_dpi_check_next 
+0565 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0566 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+0567 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0568 c17f8000 rtneq gpio_disable 
+0569 da200000 arg 0 ,rega 
+056a 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+056b 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+056c 2040056e call p_mouse_dpi_key_check 
+056d 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-0590 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0591 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-0592 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-0593 1fe22600 copy pdata ,regc 
-0594 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0595 c07f8597 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-0596 2020403f branch mouse_dpi_key_check_next 
+056e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+056f c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+0570 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+0571 1fe22600 copy pdata ,regc 
+0572 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0573 c07f8575 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+0574 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-0597 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-0598 2040057c call p_mouse_gpio_config_output_low 
-0599 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-059a 20204195 branch mouse_3io6key_check 
+0575 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0576 2040055a call p_mouse_gpio_config_output_low 
+0577 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0578 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-059b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-059c c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-059d 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-059e 243a05a4 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+0579 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+057a c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+057b 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+057c 243a0582 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-059f 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-05a0 20400579 call p_mouse_gpio_config_output_high 
-05a1 204005b4 call p_mouse_dpi_another_check 
-05a2 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05a3 20203f56 branch mouse_gpio_config_input_pu 
+057d 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+057e 20400557 call p_mouse_gpio_config_output_high 
+057f 20400592 call p_mouse_dpi_another_check 
+0580 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0581 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-05a4 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-05a5 793ffe07 set0 gpio_active_bit ,pdata 
-05a6 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
-05a7 2040057c call p_mouse_gpio_config_output_low 
-05a8 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-05a9 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05aa 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-05ab 204005cd call p_mouse_check_key_connect_vin_new 
-05ac 204005b8 call p_mouse_dpi_another_state_check 
-05ad 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05ae 20203f56 branch mouse_gpio_config_input_pu 
+0582 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+0583 793ffe07 set0 gpio_active_bit ,pdata 
+0584 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
+0585 2040055a call p_mouse_gpio_config_output_low 
+0586 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0587 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0588 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0589 204005ab call p_mouse_check_key_connect_vin_new 
+058a 20400596 call p_mouse_dpi_another_state_check 
+058b 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+058c 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_down_new:
-05af 20403f56 call mouse_gpio_config_input_pu 
-05b0 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-05b1 c1008000 rtneq dpi_button_state_down 
-05b2 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-05b3 20204069 branch mouse_dpi_process 
+058d 20403f56 call mouse_gpio_config_input_pu 
+058e 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+058f c1008000 rtneq dpi_button_state_down 
+0590 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+0591 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_check:
-05b4 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-05b5 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-05b6 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-05b7 204005c3 call p_mouse_check_key_connect_gnd_new 
+0592 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0593 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0594 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0595 204005a1 call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-05b8 67e0cc3c store 1 ,mem_dpi_another_press_status 
-05b9 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-05ba 203a05bf branch p_mouse_dpi_another_up ,blank 
+0596 67e0cc3c store 1 ,mem_dpi_another_press_status 
+0597 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+0598 203a059d branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-05bb 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-05bc c1008000 rtneq dpi_button_state_down 
-05bd 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-05be 20204069 branch mouse_dpi_process 
+0599 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+059a c1008000 rtneq dpi_button_state_down 
+059b 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+059c 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-05bf 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-05c0 c1000000 rtneq dpi_button_state_up 
-05c1 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-05c2 20600000 rtn 
+059d 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+059e c1000000 rtneq dpi_button_state_up 
+059f 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+05a0 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-05c3 1fe3fe00 lshift pdata ,pdata 
-05c4 1fe22400 copy pdata ,regb 
-05c5 20406059 call gpio_get_bit 
-05c6 7920a400 setflag true ,0 ,regb 
-05c7 1a417e07 and regb ,0x07 ,pdata 
-05c8 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-05c9 18420e00 copy temp ,queue 
-05ca c00385d8 beq 0x07 ,p_mouse_key_press 
-05cb c00005da beq 0x00 ,p_mouse_key_release 
-05cc 20600000 rtn 
+05a1 1fe3fe00 lshift pdata ,pdata 
+05a2 1fe22400 copy pdata ,regb 
+05a3 20406059 call gpio_get_bit 
+05a4 7920a400 setflag true ,0 ,regb 
+05a5 1a417e07 and regb ,0x07 ,pdata 
+05a6 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+05a7 18420e00 copy temp ,queue 
+05a8 c00385b6 beq 0x07 ,p_mouse_key_press 
+05a9 c00005b8 beq 0x00 ,p_mouse_key_release 
+05aa 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-05cd 1fe3fe00 lshift pdata ,pdata 
-05ce 1fe22400 copy pdata ,regb 
-05cf 20403f54 call mouse_gpio_config_input_pd 
-05d0 20406059 call gpio_get_bit 
-05d1 7920a400 setflag true ,0 ,regb 
-05d2 1a417e07 and regb ,0x07 ,pdata 
-05d3 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-05d4 18420e00 copy temp ,queue 
-05d5 c00385d8 beq 0x07 ,p_mouse_key_press 
-05d6 c00005da beq 0x00 ,p_mouse_key_release 
-05d7 20600000 rtn 
+05ab 1fe3fe00 lshift pdata ,pdata 
+05ac 1fe22400 copy pdata ,regb 
+05ad 20403f54 call mouse_gpio_config_input_pd 
+05ae 20406059 call gpio_get_bit 
+05af 7920a400 setflag true ,0 ,regb 
+05b0 1a417e07 and regb ,0x07 ,pdata 
+05b1 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+05b2 18420e00 copy temp ,queue 
+05b3 c00385b6 beq 0x07 ,p_mouse_key_press 
+05b4 c00005b8 beq 0x00 ,p_mouse_key_release 
+05b5 20600000 rtn 
 
 p_mouse_key_press:
-05d8 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
-05d9 20600000 rtn 
+05b6 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
+05b7 20600000 rtn 
 
 p_mouse_key_release:
-05da 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
-05db 20600000 rtn 
+05b8 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
+05b9 20600000 rtn 
 
 p_mouse_dpi_process:
-05dc 20404072 call mouse_dpi_ghost_check 
-05dd 20740000 rtn user 
-05de 6fe0c992 fetch 1 ,mem_mouse_dpi 
-05df 1fe20400 copy pdata ,temp 
-05e0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05e1 c29e85e8 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-05e2 18427e00 copy temp ,pdata 
-05e3 1fe0fe01 increase 1 ,pdata 
-05e4 1fe17e03 and pdata ,0x03 ,pdata 
+05ba 20404072 call mouse_dpi_ghost_check 
+05bb 20740000 rtn user 
+05bc 6fe0c992 fetch 1 ,mem_mouse_dpi 
+05bd 1fe20400 copy pdata ,temp 
+05be 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05bf c29e85c6 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+05c0 18427e00 copy temp ,pdata 
+05c1 1fe0fe01 increase 1 ,pdata 
+05c2 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-05e5 67e0c992 store 1 ,mem_mouse_dpi 
-05e6 20404095 call mouse_seting_dpi 
-05e7 202045ee branch mouse_store_device_info_delay 
+05c3 67e0c992 store 1 ,mem_mouse_dpi 
+05c4 20404095 call mouse_seting_dpi 
+05c5 202045ee branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-05e8 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-05e9 243a0605 nbranch p_mouse_another_dpi_button_down ,blank 
+05c6 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+05c7 243a05e3 nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-05ea 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05eb c28e05f9 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-05ec 18427e00 copy temp ,pdata 
-05ed c1008000 rtneq mouse_dpi_level2 
+05c8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05c9 c28e05d7 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+05ca 18427e00 copy temp ,pdata 
+05cb c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-05ee c00005f5 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-05ef c00105f3 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-05f0 20600000 rtn 
+05cc c00005d3 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+05cd c00105d1 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+05ce 20600000 rtn 
 
 p_mouse_dpi_level_1:
-05f1 58000002 setarg 2 
-05f2 202005e5 branch p_mouse_dpi_store 
+05cf 58000002 setarg 2 
+05d0 202005c3 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-05f3 58000000 setarg 0 
-05f4 202005e5 branch p_mouse_dpi_store 
+05d1 58000000 setarg 0 
+05d2 202005c3 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-05f5 58000001 setarg 1 
-05f6 202005e5 branch p_mouse_dpi_store 
+05d3 58000001 setarg 1 
+05d4 202005c3 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-05f7 58000003 setarg 3 
-05f8 202005e5 branch p_mouse_dpi_store 
+05d5 58000003 setarg 3 
+05d6 202005c3 branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-05f9 18427e00 copy temp ,pdata 
-05fa c1008000 rtneq mouse_dpi_level2 
-05fb c00005f5 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-05fc c00105f7 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-05fd c00185f3 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-05fe 20600000 rtn 
+05d7 18427e00 copy temp ,pdata 
+05d8 c1008000 rtneq mouse_dpi_level2 
+05d9 c00005d3 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+05da c00105d5 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+05db c00185d1 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+05dc 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-05ff 18427e00 copy temp ,pdata 
-0600 c1010000 rtneq mouse_dpi_level3 
-0601 c00005f7 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-0602 c00085f3 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0603 c00185f1 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-0604 20600000 rtn 
+05dd 18427e00 copy temp ,pdata 
+05de c1010000 rtneq mouse_dpi_level3 
+05df c00005d5 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+05e0 c00085d1 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+05e1 c00185cf beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+05e2 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-0605 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0606 c28e05ff bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-0607 18427e00 copy temp ,pdata 
-0608 c1010000 rtneq mouse_dpi_level3 
+05e3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05e4 c28e05dd bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+05e5 18427e00 copy temp ,pdata 
+05e6 c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-0609 c00005f1 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-060a c00085f3 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-060b 20600000 rtn 
+05e7 c00005cf beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+05e8 c00085d1 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+05e9 20600000 rtn 
 
 p_power_ctrl_start:
-060c 6fe1478c fetch 2 ,mem_ui_state_map 
-060d c3858000 rtnbit1 ui_state_ble_adv 
-060e c3838000 rtnbit1 ui_state_bt_reconnect 
-060f c3830000 rtnbit1 ui_state_bt_discovery 
-0610 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-0611 204025cb call rssi_average 
-0612 6048c8c7 storet 1 ,mem_rssi_avg_received 
-0613 202026f6 branch power_ctrl_rssi_avg_compare 
+05ea 6fe1478c fetch 2 ,mem_ui_state_map 
+05eb c3858000 rtnbit1 ui_state_ble_adv 
+05ec c3838000 rtnbit1 ui_state_bt_reconnect 
+05ed c3830000 rtnbit1 ui_state_bt_discovery 
+05ee 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+05ef 204025cb call rssi_average 
+05f0 6048c8c7 storet 1 ,mem_rssi_avg_received 
+05f1 202026f6 branch power_ctrl_rssi_avg_compare 
               org 0x3bc1
 
 mouse_init:
Index: output/ramcode.rom
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/ramcode.rom	(revision 1844)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/ramcode.rom	(working copy)
@@ -16,35 +16,35 @@
 c06481fc
 c0650234
 c06600db
-c0670512
-c06785dc
+c06704f0
+c06785ba
 c068030b
-c0688547
-c06a052c
+c0688525
+c06a050a
 c06b0256
 c06c833b
 c06d0482
-c06d84ae
-c06f057f
+c06d848c
+c06f055d
 c06f8053
 c070804b
 c0710047
-c07404b5
+c0740493
 2020137c
-c00d04c9
+c00d04a7
 c0100045
 c01980bb
 c01a00c0
-c04384b1
-c05084d3
-c05184dd
-c06004df
+c043848f
+c05084b1
+c05184bb
+c06004bd
 c06e82f7
 c07102c3
 c07482cb
 c0750195
-c0760505
-c076860c
+c07604e3
+c07685ea
 2020137c
 6fe0cc43
 c1008000
@@ -252,7 +252,7 @@
 20403d8a
 20404728
 20400150
-2040053e
+2040051c
 20203bc9
 6fe44bab
 c41e8000
@@ -402,7 +402,7 @@
 67e0cba4
 6fe14bbc
 67e14ab2
-2020053e
+2020051c
 20402631
 2434023c
 204001a5
@@ -503,8 +503,8 @@
 58000006
 20405b0d
 c281be23
-20400537
-2040053e
+20400515
+2040051c
 20203e23
 204042e9
 20407fdc
@@ -516,7 +516,7 @@
 6848c910
 20406042
 6fe0c920
-20400579
+20400557
 d8400003
 20403f56
 20400234
@@ -568,14 +568,14 @@
 20406050
 20403f88
 6fe0c91f
-20400579
+20400557
 20203e44
 6fe0c8a7
 205a0248
 6fe0c8bd
 c1008000
 2040269f
-20400505
+204004e3
 24740000
 204026c4
 6fe0cbe1
@@ -703,7 +703,7 @@
 58000000
 67e3c8d0
 704be101
-2040053e
+2040051c
 20200241
 70488b00
 6fe14beb
@@ -1161,41 +1161,7 @@
 2040c322
 58000000
 67e14af2
-20404314
-6fe1478c
-c285c55f
-6fe44bab
-c304455f
-68494997
-18408401
-60494997
-6049437b
-180a7e00
-67e0c37a
-6fe1cac9
-67e1c37d
-20403225
-6fe14791
-67e14ac2
-7000bd06
-58000000
-67e14ab2
-67e0cb77
-67e0cac4
-67e0cba7
-67e0caac
-d8e00002
-204046f0
-204046e4
-204004a8
-2040498e
-202048cc
-6fe0c938
-c00084ac
-c00104ad
-20600000
-202078c4
-202043df
+20204554
 58000000
 67e14ac2
 20204577
@@ -1209,7 +1175,7 @@
 67e0c5f5
 1fe1040f
 1ff1fe00
-c00484bd
+c004849b
 20204d93
 da200001
 20404dc0
@@ -1228,7 +1194,7 @@
 6fe08049
 207a0000
 c283d730
-c00384d0
+c00384ae
 20205701
 2040585d
 70007378
@@ -1246,27 +1212,27 @@
 20400e80
 20201661
 efe10006
-c00204e2
+c00204c0
 202019e4
 efe18006
 67e1c436
-c00504e7
-c00904f6
+c00504c5
+c00904d4
 20201cd3
 6fe44bab
 c31d9de7
 20401e8d
 68494437
 6fe0c3c0
-c28184f1
+c28184cf
 6fe14437
 c0181ec8
 68494437
 20201deb
 6fe143d1
 98467c00
-242284ed
-243404ed
+242284cb
+243404cb
 20201e10
 18c22200
 6fe143d4
@@ -1303,13 +1269,13 @@
 2040408e
 20403f7e
 20403f83
-20400545
+20400523
 6fe0c8d0
 1fe17e1f
 67e0c8d0
-24340524
-20400521
-20400529
+24340502
+204004ff
+20400507
 20204544
 704c9c00
 704c9d00
@@ -1324,17 +1290,17 @@
 2020471a
 20403f65
 6fe0c927
-c0058533
+c0058511
 20404232
 da604aa3
 2040422b
 2020408e
-2040053a
+20400518
 da604be3
 2040422b
 2020408e
 6fe0c927
-c005853a
+c0058518
 20204232
 58009706
 20405b0c
@@ -1343,33 +1309,33 @@
 204041a7
 20403f65
 6fe0c927
-c0058543
+c0058521
 2020423e
 58001f06
 20205b0c
-20400547
+20400525
 202040dd
 6fe0cbe1
 245a4121
 da200000
-20400550
-20400555
-2040055a
-2040055f
-2040056c
+2040052e
+20400533
+20400538
+2040053d
+2040054a
 2020411e
 6fe0c918
-20400579
+20400557
 20404124
 6848c918
 20203f56
 6fe0c919
-20400579
+20400557
 2040412a
 6848c919
 20203f56
 6fe0c91a
-20400579
+20400557
 20404130
 6848c91a
 20203f56
@@ -1380,10 +1346,10 @@
 1fe22600
 6848c90d
 6fe0c910
-c07f8568
+c07f8546
 2020413e
 6fe0c90d
-2040057c
+2040055a
 6848c90d
 2020414b
 6fe0c90e
@@ -1393,10 +1359,10 @@
 1fe22600
 6848c90e
 6fe0c910
-c07f8575
+c07f8553
 20204157
 6fe0c90e
-2040057c
+2040055a
 6848c90e
 20204164
 c17f8000
@@ -1405,10 +1371,10 @@
 c17f8000
 d840003e
 20206093
-20400584
+20400562
 20407936
-20400587
-2040059b
+20400565
+20400579
 2020464f
 6fe44bab
 c4020000
@@ -1420,37 +1386,37 @@
 da200000
 704b9605
 6848c90f
-20400590
+2040056e
 2020402f
 6fe44bab
 c2964048
 6fe0cb93
 1fe22600
 6fe0c910
-c07f8597
+c07f8575
 2020403f
 6fe0c90f
-2040057c
+2040055a
 6848c90f
 20204195
 6fe44bab
 c41e8000
 6fe0cc3a
-243a05a4
+243a0582
 6fe0cc3b
-20400579
-204005b4
+20400557
+20400592
 6848cc3b
 20203f56
 6fe0cc3b
 793ffe07
 67e0cc3b
-2040057c
+2040055a
 704c3f00
 6848cc3b
 6fe0cc3c
-204005cd
-204005b8
+204005ab
+20400596
 6848cc3b
 20203f56
 20403f56
@@ -1461,10 +1427,10 @@
 704c3f00
 6848cc3b
 6fe0cc3c
-204005c3
+204005a1
 67e0cc3c
 6fe0cc3e
-203a05bf
+203a059d
 6fe0cc3d
 c1008000
 704c3d01
@@ -1480,8 +1446,8 @@
 1a417e07
 6848cc3f
 18420e00
-c00385d8
-c00005da
+c00385b6
+c00005b8
 20600000
 1fe3fe00
 1fe22400
@@ -1491,8 +1457,8 @@
 1a417e07
 6848cc3f
 18420e00
-c00385d8
-c00005da
+c00385b6
+c00005b8
 20600000
 704c3e01
 20600000
@@ -1503,7 +1469,7 @@
 6fe0c992
 1fe20400
 6fe44bab
-c29e85e8
+c29e85c6
 18427e00
 1fe0fe01
 1fe17e03
@@ -1511,40 +1477,40 @@
 20404095
 202045ee
 6fe0cc3e
-243a0605
+243a05e3
 6fe44bab
-c28e05f9
+c28e05d7
 18427e00
 c1008000
-c00005f5
-c00105f3
+c00005d3
+c00105d1
 20600000
 58000002
-202005e5
+202005c3
 58000000
-202005e5
+202005c3
 58000001
-202005e5
+202005c3
 58000003
-202005e5
+202005c3
 18427e00
 c1008000
-c00005f5
-c00105f7
-c00185f3
+c00005d3
+c00105d5
+c00185d1
 20600000
 18427e00
 c1010000
-c00005f7
-c00085f3
-c00185f1
+c00005d5
+c00085d1
+c00185cf
 20600000
 6fe44bab
-c28e05ff
+c28e05dd
 18427e00
 c1010000
-c00005f1
-c00085f3
+c00005cf
+c00085d1
 20600000
 6fe1478c
 c3858000
Index: output/sched.rom
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/sched.rom	(revision 1844)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/output/sched.rom	(working copy)
@@ -245,7 +245,7 @@
 mem_lpm_mode:01
 
 
-mem_mouse_bluetooth_type:03	#03 bt3.0+ble   #02 ble   #01 bt3.0
+mem_mouse_bluetooth_type:02	#03 bt3.0+ble   #02 ble   #01 bt3.0
 mem_device_number:03#max device number   value:01,02,03
 
 mem_device_flag:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/program/patch.prog	(revision 1844)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/program/patch.prog	(working copy)
@@ -1637,50 +1637,7 @@
 	call mouse_cancel_reconnect,true
 	setarg 0
 	store 2,mem_le_battery_level_updata_timer
-	call mouse_bluetooth_fast_conn_disable
-	fetch 2,mem_ui_state_map
-	bbit1 UI_STATE_BLE_ADV,mouse_start_discovery_norandom
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE,mouse_start_discovery_norandom
-	fetcht 2,mem_random_addr_increase_count
-	increase 1,temp
-	storet 2,mem_random_addr_increase_count
-	storet 2,mem_le_lap+1
-	random pdata					//random ble addr
-	store 1,mem_le_lap
-p_mouse_start_discovery_norandom:
-	fetch 3,mem_mouse_le_lap_temp
-	store 3,mem_le_lap+3
-	call app_lpm_mult_disable
-	fetch 2,mem_discovery_timeout
-	store 2,mem_mouse_discovery_timer
-	jam 6,mem_connection_options
-	setarg 0
-	store 2,mem_mouse_no_data_timer
-	store 1,mem_mouse_direct_timer
-	store 1,mem_mouse_bluetooth_reconnect_timeout
-	store 1,mem_mouse_device_poweron_timer_count
-	store 1,mem_mouse_clear_sensor_data_flag
-	arg MOUSE_STORE_EEPROM_FLAG,queue
-	call mouse_enable_function_flag
-	call mouse_bt_discovery_button_down_disable
-	
-	call p_mouse_select_bt_adv_mode
-	call mouse_low_voltage_led_blink_disable
-	branch mouse_discover_setting_led_gpio
-
-	
-p_mouse_select_bt_adv_mode:
-	fetch 1,mem_device_flag
-	beq MODE_BT_DEVICE1,p_mouse_current_classic_mode
-	beq MODE_BT_DEVICE2,p_mouse_current_ble_mode
-	rtn
-
-p_mouse_current_classic_mode:
-	branch check_51cmd_start_discovery
-	
-p_mouse_current_ble_mode:
-	branch mouse_check_51cmd_adv
+	branch mouse_start_discovery+1
 	
 p_mouse_stop_discovery:
 	setarg 0
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/sched/mouse.dat	(revision 1844)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/lexiang/mouse_public_sdk/sched/mouse.dat	(working copy)
@@ -178,7 +178,7 @@
 mem_lpm_mode:01
 
 
-mem_mouse_bluetooth_type:03	#03 bt3.0+ble   #02 ble   #01 bt3.0
+mem_mouse_bluetooth_type:02	#03 bt3.0+ble   #02 ble   #01 bt3.0
 mem_device_number:03#max device number   value:01,02,03
 
 mem_device_flag:
