Index: output/eeprom.dat
===================================================================
--- /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/output/eeprom.dat	(revision 4533)
+++ /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-ca
+aa
 1f
 20
 20
@@ -303,11 +303,11 @@
 c0
 12
 84
-bd
+a8
 c0
 14
 04
-ab
+96
 c0
 22
 01
@@ -315,7 +315,7 @@
 c0
 22
 84
-53
+3e
 c0
 23
 01
@@ -327,15 +327,15 @@
 c0
 24
 05
-2b
+16
 c0
 24
 85
-2f
+1a
 c0
 25
 05
-9a
+85
 c0
 25
 82
@@ -347,7 +347,7 @@
 c0
 26
 85
-31
+1c
 c0
 27
 02
@@ -367,47 +367,47 @@
 c0
 2b
 84
-33
+1e
 c0
 2c
 84
-43
+2e
 c0
 2d
 04
-8f
+7a
 c0
 2d
 84
-8d
+78
 c0
 2e
 04
-8b
+76
 c0
 2e
 84
-91
+7c
 c0
 2f
 06
-dd
+c9
 c0
 2f
-87
-0b
+86
+f7
 c0
 30
 85
-bc
+a7
 c0
 37
 85
-95
+80
 c0
 38
 84
-8d
+78
 c0
 3b
 00
@@ -423,7 +423,7 @@
 c0
 42
 04
-8d
+78
 c0
 45
 81
@@ -435,15 +435,15 @@
 c0
 58
 84
-e1
+cc
 c0
 6a
 84
-7a
+65
 c0
 6b
 04
-73
+5e
 c0
 6d
 01
@@ -451,23 +451,23 @@
 c0
 6d
 87
-81
+6d
 c0
 6e
 07
-b7
+a3
 c0
 6e
 87
-9f
+8b
 c0
 7b
 05
-1c
+07
 c0
 7d
 05
-24
+0f
 20
 20
 23
@@ -475,67 +475,67 @@
 c0
 0a
 05
-49
+34
 c0
 0d
 05
-48
+33
 c0
 12
 85
-78
+63
 c0
 13
 05
-7d
+68
 c0
 26
 05
-8f
+7a
 c0
 26
 85
-93
+7e
 c0
 37
-07
-0f
+06
+fb
 c0
 39
 07
-24
+10
 c0
 3a
 87
-1b
+07
 c0
 3f
 86
-5a
+45
 c0
 39
 86
-82
+6d
 c0
 40
 07
-2e
+1a
 c0
 48
 06
-a1
+8c
 c0
 48
 86
-9e
+89
 c0
 4a
 86
-be
+a9
 c0
 4d
 86
-97
+82
 c1
 7f
 80
@@ -1683,7 +1683,7 @@
 20
 40
 04
-f3
+de
 20
 20
 5c
@@ -1719,7 +1719,7 @@
 20
 20
 07
-d3
+bf
 70
 4e
 33
@@ -1727,7 +1727,7 @@
 20
 20
 07
-d3
+bf
 70
 4e
 4d
@@ -1755,7 +1755,7 @@
 20
 20
 07
-d3
+bf
 20
 40
 55
@@ -2015,7 +2015,7 @@
 20
 40
 06
-80
+6b
 20
 20
 4f
@@ -2659,7 +2659,7 @@
 20
 40
 04
-8b
+76
 20
 40
 49
@@ -2871,11 +2871,11 @@
 20
 20
 07
-d3
+bf
 20
 40
-05
-00
+04
+eb
 58
 00
 00
@@ -3067,11 +3067,11 @@
 20
 40
 04
-94
+7f
 20
 20
-05
-0f
+04
+fa
 6f
 e1
 48
@@ -3547,7 +3547,7 @@
 20
 20
 07
-d3
+bf
 6f
 e0
 c8
@@ -3815,7 +3815,7 @@
 20
 20
 07
-d3
+bf
 20
 40
 03
@@ -3935,11 +3935,11 @@
 20
 40
 03
-fd
+f6
 20
 40
 04
-18
+0a
 20
 34
 03
@@ -3981,14 +3981,6 @@
 00
 00
 6f
-e0
-c9
-ae
-24
-3a
-03
-ec
-6f
 e1
 48
 fa
@@ -4003,31 +3995,11 @@
 20
 22
 83
-f1
-d8
-40
-7f
-3a
-98
-46
-7c
-00
-20
-22
-83
-f1
-20
-60
-00
+ea
+18
+50
+84
 00
-68
-48
-c8
-fa
-6f
-e0
-cb
-a9
 98
 46
 7c
@@ -4035,7 +4007,7 @@
 20
 22
 83
-f1
+ea
 20
 60
 00
@@ -4097,14 +4069,6 @@
 00
 00
 6f
-e0
-c9
-ae
-24
-3a
-04
-09
-6f
 e1
 48
 fa
@@ -4119,31 +4083,11 @@
 20
 22
 84
-0e
-d8
-40
-7f
-3b
-98
-46
-7c
 00
-20
-22
+18
+50
 84
-0e
-20
-60
-00
 00
-68
-48
-c8
-fa
-6f
-e0
-cb
-ac
 98
 46
 7c
@@ -4151,7 +4095,7 @@
 20
 22
 84
-0e
+00
 20
 60
 00
@@ -4205,14 +4149,6 @@
 00
 00
 6f
-e0
-c9
-ae
-24
-3a
-04
-24
-6f
 e1
 48
 fa
@@ -4227,31 +4163,11 @@
 20
 22
 84
-29
-d8
-40
-7f
-3c
-98
-46
-7c
-00
-20
-22
+14
+18
+50
 84
-29
-20
-60
 00
-00
-68
-48
-c8
-fa
-6f
-e0
-cb
-af
 98
 46
 7c
@@ -4259,7 +4175,7 @@
 20
 22
 84
-29
+14
 20
 60
 00
@@ -4351,7 +4267,7 @@
 20
 3a
 04
-40
+2b
 20
 20
 4e
@@ -4375,7 +4291,7 @@
 c0
 80
 04
-4a
+35
 70
 49
 a9
@@ -4407,7 +4323,7 @@
 c0
 00
 04
-4e
+39
 20
 20
 4f
@@ -4439,7 +4355,7 @@
 20
 20
 07
-d3
+bf
 c6
 93
 00
@@ -4463,7 +4379,7 @@
 20
 40
 04
-83
+6e
 68
 48
 c6
@@ -4503,7 +4419,7 @@
 c2
 00
 04
-60
+4b
 70
 4d
 0c
@@ -4539,11 +4455,11 @@
 c2
 00
 04
-69
+54
 20
 40
 04
-a2
+8d
 68
 48
 c6
@@ -4603,7 +4519,7 @@
 20
 20
 84
-80
+6b
 d9
 00
 00
@@ -4655,7 +4571,7 @@
 20
 20
 04
-5a
+45
 20
 40
 02
@@ -4667,7 +4583,7 @@
 20
 40
 04
-91
+7c
 20
 20
 43
@@ -4683,7 +4599,7 @@
 20
 40
 04
-83
+6e
 20
 40
 4f
@@ -4691,7 +4607,7 @@
 20
 20
 04
-5a
+45
 d8
 c0
 80
@@ -4707,7 +4623,7 @@
 24
 3a
 04
-9b
+86
 58
 00
 00
@@ -4723,7 +4639,7 @@
 c2
 00
 04
-96
+81
 df
 e0
 80
@@ -4747,7 +4663,7 @@
 20
 20
 04
-96
+81
 6f
 e0
 cd
@@ -4755,11 +4671,11 @@
 20
 3a
 04
-a5
+90
 20
 20
 04
-a9
+94
 58
 00
 00
@@ -4783,7 +4699,7 @@
 20
 20
 04
-a6
+91
 20
 40
 24
@@ -4871,7 +4787,7 @@
 20
 40
 04
-c9
+b4
 6f
 e0
 c0
@@ -4971,7 +4887,7 @@
 20
 22
 84
-dc
+c7
 e7
 e0
 80
@@ -4991,7 +4907,7 @@
 c2
 00
 04
-d6
+c1
 1a
 42
 04
@@ -5007,7 +4923,7 @@
 20
 40
 06
-52
+3d
 20
 40
 70
@@ -5015,15 +4931,15 @@
 20
 40
 04
-ee
+d9
 20
 40
-05
-00
+04
+eb
 20
 40
 05
-18
+03
 20
 75
 80
@@ -5031,7 +4947,7 @@
 20
 40
 04
-8b
+76
 6f
 e0
 ca
@@ -5047,7 +4963,7 @@
 20
 40
 07
-77
+63
 20
 20
 49
@@ -5059,7 +4975,7 @@
 20
 40
 04
-a5
+90
 20
 75
 80
@@ -5071,7 +4987,7 @@
 20
 20
 07
-d3
+bf
 da
 20
 46
@@ -5107,7 +5023,7 @@
 c0
 1a
 04
-fd
+e8
 20
 60
 00
@@ -5127,7 +5043,7 @@
 20
 40
 04
-83
+6e
 68
 48
 c6
@@ -5166,8 +5082,8 @@
 9a
 20
 40
-05
-0f
+04
+fa
 6f
 e1
 48
@@ -5214,12 +5130,12 @@
 01
 c2
 00
-05
-12
+04
+fd
 20
 20
 04
-d2
+bd
 6f
 e0
 c6
@@ -5263,7 +5179,7 @@
 c2
 00
 05
-1f
+0a
 20
 20
 78
@@ -5275,7 +5191,7 @@
 c0
 0f
 85
-27
+12
 20
 20
 78
@@ -5299,7 +5215,7 @@
 20
 40
 04
-8c
+77
 58
 00
 00
@@ -5319,7 +5235,7 @@
 20
 20
 07
-d3
+bf
 20
 40
 2a
@@ -5335,7 +5251,7 @@
 c0
 7f
 85
-38
+23
 6f
 e0
 c8
@@ -5355,19 +5271,19 @@
 c2
 80
 85
-42
+2d
 c2
 80
 05
-42
+2d
 c2
 82
 85
-42
+2d
 c2
 83
 05
-42
+2d
 20
 40
 4e
@@ -5415,11 +5331,11 @@
 20
 20
 05
-68
+53
 20
 40
 05
-4b
+36
 20
 20
 25
@@ -5455,7 +5371,7 @@
 24
 41
 05
-44
+2f
 98
 46
 7e
@@ -5467,7 +5383,7 @@
 20
 21
 05
-5d
+48
 6f
 e0
 cb
@@ -5479,7 +5395,7 @@
 24
 41
 05
-5b
+46
 70
 4b
 f7
@@ -5555,7 +5471,7 @@
 24
 36
 85
-6f
+5a
 6f
 e0
 cb
@@ -5759,11 +5675,11 @@
 20
 40
 05
-ad
+98
 20
 40
 05
-a1
+8c
 20
 20
 5c
@@ -5799,7 +5715,7 @@
 c0
 1a
 05
-aa
+95
 20
 60
 00
@@ -5823,7 +5739,7 @@
 c0
 1a
 05
-b0
+9b
 20
 60
 00
@@ -5871,7 +5787,7 @@
 c2
 00
 05
-b6
+a1
 20
 60
 00
@@ -5891,39 +5807,39 @@
 c0
 05
 85
-c9
+b4
 c0
 04
 05
-f5
+e0
 c0
 04
 85
-d8
+c3
 c0
 03
 85
-ea
+d5
 c0
 00
 85
-f0
+db
 c0
 06
-06
-0a
+05
+f5
 c0
 05
-06
-14
+05
+ff
 c0
 09
 06
-35
+20
 c0
 29
 06
-46
+31
 20
 20
 2b
@@ -5963,11 +5879,11 @@
 20
 22
 85
-d6
+c1
 20
 20
 05
-d3
+be
 6f
 e0
 c2
@@ -5979,7 +5895,7 @@
 20
 20
 05
-d7
+c2
 70
 49
 c6
@@ -6055,11 +5971,11 @@
 c2
 00
 05
-e1
+cc
 20
 20
 05
-d3
+be
 6f
 e0
 c9
@@ -6083,7 +5999,7 @@
 20
 20
 05
-d7
+c2
 6f
 e0
 c9
@@ -6099,7 +6015,7 @@
 c0
 01
 05
-d3
+be
 20
 20
 50
@@ -6154,8 +6070,8 @@
 00
 20
 22
-86
-03
+85
+ee
 20
 20
 2c
@@ -6239,7 +6155,7 @@
 c2
 81
 86
-2f
+1a
 6f
 e4
 47
@@ -6247,11 +6163,11 @@
 c3
 0a
 86
-1a
+05
 c3
 1d
 86
-1c
+07
 6f
 e1
 43
@@ -6267,11 +6183,11 @@
 c0
 02
 86
-27
+12
 c0
 08
 06
-2a
+15
 68
 49
 43
@@ -6323,7 +6239,7 @@
 20
 3a
 06
-1f
+0a
 d8
 c0
 4b
@@ -6347,7 +6263,7 @@
 24
 22
 86
-17
+02
 20
 40
 2d
@@ -6355,7 +6271,7 @@
 24
 34
 06
-1c
+07
 20
 20
 2d
@@ -6379,7 +6295,7 @@
 20
 40
 06
-47
+32
 6f
 e0
 c7
@@ -6439,7 +6355,7 @@
 c0
 7f
 86
-4c
+37
 6f
 e1
 43
@@ -6447,7 +6363,7 @@
 c0
 12
 86
-4f
+3a
 20
 60
 00
@@ -6459,7 +6375,7 @@
 c0
 10
 86
-4f
+3a
 20
 60
 00
@@ -6523,19 +6439,19 @@
 c0
 00
 86
-62
+4d
 c0
 01
 06
-64
+4f
 c0
 01
 86
-6b
+56
 c0
 02
 06
-71
+5c
 20
 60
 00
@@ -6547,7 +6463,7 @@
 20
 20
 06
-72
+5d
 70
 45
 89
@@ -6559,7 +6475,7 @@
 20
 3a
 06
-69
+54
 6f
 e2
 46
@@ -6575,7 +6491,7 @@
 20
 20
 06
-72
+5d
 70
 4d
 60
@@ -6587,7 +6503,7 @@
 20
 3a
 06
-72
+5d
 6f
 e2
 45
@@ -6599,7 +6515,7 @@
 20
 20
 06
-74
+5f
 70
 4d
 60
@@ -6635,7 +6551,7 @@
 20
 40
 06
-82
+6d
 20
 40
 36
@@ -6651,11 +6567,11 @@
 20
 40
 06
-9e
+89
 20
 40
 06
-97
+82
 20
 20
 32
@@ -6663,7 +6579,7 @@
 20
 40
 06
-c3
+ae
 24
 74
 00
@@ -6803,7 +6719,7 @@
 20
 3a
 06
-a8
+93
 6f
 e1
 45
@@ -6823,7 +6739,7 @@
 20
 40
 06
-b8
+a3
 20
 40
 36
@@ -6838,8 +6754,8 @@
 86
 20
 40
-07
-03
+06
+ef
 6f
 e2
 45
@@ -6871,7 +6787,7 @@
 20
 42
 86
-b6
+a1
 20
 20
 35
@@ -6911,15 +6827,15 @@
 20
 40
 06
-80
+6b
 24
 34
 06
-ce
+b9
 20
 40
 06
-dd
+c9
 20
 40
 4f
@@ -6939,7 +6855,7 @@
 20
 34
 06
-c8
+b3
 6f
 e3
 cd
@@ -7003,7 +6919,7 @@
 24
 5a
 07
-4b
+37
 20
 40
 4f
@@ -7024,6 +6940,10 @@
 5a
 4f
 75
+20
+40
+07
+de
 6f
 e4
 45
@@ -7071,15 +6991,15 @@
 24
 2c
 06
-eb
+d7
 24
 37
 86
-eb
+d7
 20
 40
-07
-03
+06
+ef
 70
 47
 3f
@@ -7135,11 +7055,11 @@
 20
 3a
 06
-f8
+e4
 20
 20
 06
-de
+ca
 20
 40
 4b
@@ -7159,11 +7079,11 @@
 20
 40
 06
-fe
+ea
 20
 20
 06
-de
+ca
 6f
 e2
 45
@@ -7227,7 +7147,7 @@
 20
 40
 04
-83
+6e
 20
 20
 4f
@@ -7243,7 +7163,7 @@
 c5
 13
 87
-17
+03
 6f
 e0
 cd
@@ -7323,7 +7243,7 @@
 24
 3a
 07
-28
+14
 78
 4e
 fc
@@ -7371,15 +7291,15 @@
 c0
 01
 07
-35
+21
 c0
 01
 87
-3a
+26
 c0
 02
 07
-3e
+2a
 20
 60
 00
@@ -7427,7 +7347,7 @@
 20
 3a
 07
-44
+30
 6f
 e2
 4d
@@ -7479,7 +7399,7 @@
 24
 3a
 07
-55
+41
 70
 45
 89
@@ -7507,11 +7427,11 @@
 20
 40
 06
-82
+6d
 20
 20
 06
-dd
+c9
 70
 46
 02
@@ -7519,7 +7439,7 @@
 20
 40
 06
-9e
+89
 6f
 e0
 c5
@@ -7539,7 +7459,7 @@
 20
 3a
 07
-6e
+5a
 1f
 ef
 a2
@@ -7607,11 +7527,11 @@
 20
 40
 06
-82
+6d
 20
 20
 06
-dd
+c9
 6f
 e0
 ce
@@ -7647,7 +7567,7 @@
 20
 20
 07
-6a
+56
 58
 00
 4a
@@ -7815,7 +7735,7 @@
 c0
 01
 07
-a2
+8e
 20
 60
 00
@@ -7847,7 +7767,7 @@
 20
 20
 07
-a9
+95
 68
 49
 4b
@@ -7871,7 +7791,7 @@
 20
 40
 07
-92
+7e
 6f
 f0
 8a
@@ -7907,7 +7827,7 @@
 20
 40
 07
-ae
+9a
 20
 40
 6f
@@ -7935,7 +7855,7 @@
 20
 40
 07
-ae
+9a
 6f
 e0
 c4
@@ -7967,7 +7887,7 @@
 20
 40
 07
-d0
+bc
 68
 59
 01
@@ -8011,7 +7931,7 @@
 c3
 02
 87
-d0
+bc
 20
 60
 00
@@ -8035,7 +7955,7 @@
 20
 22
 87
-f0
+dc
 60
 48
 ce
@@ -8107,7 +8027,7 @@
 24
 22
 87
-e0
+cc
 58
 00
 0e
@@ -8140,8 +8060,56 @@
 20
 00
 01
+20
+40
+6c
+20
+20
+40
+6c
+31
+68
+48
+c4
+21
+20
+40
+6e
+f3
+68
+48
+c4
+23
+20
+40
+6e
+f3
+68
+48
+c4
+24
+20
+40
+6e
+f3
+68
+48
+c4
 22
-af
+18
+46
+7c
+ff
+20
+62
+80
+00
+20
+20
+6e
+e0
+ba
+8f
 aa
 55
 40
@@ -8478,13 +8446,13 @@
 4b
 01
 7f
-01
+1e
 01
 7f
-02
+1f
 01
 7f
-03
+20
 01
 7f
 21
@@ -8533,19 +8501,12 @@
 00
 aa
 55
-03
+04
 00
 b7
 47
 1d
 00
-d0
-aa
-55
-02
-00
-b9
-47
 21
 00
 aa
@@ -8853,8 +8814,8 @@
 00
 25
 47
-bd
-0b
+b0
+04
 aa
 55
 01
@@ -8876,8 +8837,8 @@
 00
 69
 48
-b8
-0b
+b0
+04
 aa
 55
 08
@@ -8931,18 +8892,18 @@
 00
 a5
 49
-ff
-ff
-ff
-ff
+29
+1a
+29
+14
 aa
 55
 02
 00
 17
 4d
-ff
-ff
+7f
+06
 aa
 55
 03
@@ -9459,15 +9420,15 @@
 00
 3b
 4e
-ff
+d8
 2a
 00
 55
 aa
 aa
 55
-52
-81
+c1
+79
 ff
 20
 20
@@ -10056,7 +10017,7 @@
 20
 20
 06
-d6
+c1
 6f
 e4
 47
@@ -10144,7 +10105,7 @@
 20
 20
 04
-8d
+78
 58
 00
 00
@@ -10176,7 +10137,7 @@
 20
 3a
 04
-8c
+77
 20
 60
 00
@@ -10252,7 +10213,7 @@
 58
 00
 04
-55
+40
 67
 e1
 45
@@ -10268,7 +10229,7 @@
 58
 00
 04
-5a
+45
 67
 e1
 45
@@ -10276,7 +10237,7 @@
 58
 00
 05
-31
+1c
 67
 e1
 43
@@ -10284,7 +10245,7 @@
 58
 00
 04
-89
+74
 67
 e1
 43
@@ -11009,8 +10970,8 @@
 00
 00
 00
-16
-d3
+00
+52
 ff
 1e
 f0
Index: output/flash.dat
===================================================================
--- /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/output/flash.dat	(revision 4533)
+++ /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-ca
+aa
 1f
 20
 20
@@ -303,11 +303,11 @@
 c0
 12
 84
-bd
+a8
 c0
 14
 04
-ab
+96
 c0
 22
 01
@@ -315,7 +315,7 @@
 c0
 22
 84
-53
+3e
 c0
 23
 01
@@ -327,15 +327,15 @@
 c0
 24
 05
-2b
+16
 c0
 24
 85
-2f
+1a
 c0
 25
 05
-9a
+85
 c0
 25
 82
@@ -347,7 +347,7 @@
 c0
 26
 85
-31
+1c
 c0
 27
 02
@@ -367,47 +367,47 @@
 c0
 2b
 84
-33
+1e
 c0
 2c
 84
-43
+2e
 c0
 2d
 04
-8f
+7a
 c0
 2d
 84
-8d
+78
 c0
 2e
 04
-8b
+76
 c0
 2e
 84
-91
+7c
 c0
 2f
 06
-dd
+c9
 c0
 2f
-87
-0b
+86
+f7
 c0
 30
 85
-bc
+a7
 c0
 37
 85
-95
+80
 c0
 38
 84
-8d
+78
 c0
 3b
 00
@@ -423,7 +423,7 @@
 c0
 42
 04
-8d
+78
 c0
 45
 81
@@ -435,15 +435,15 @@
 c0
 58
 84
-e1
+cc
 c0
 6a
 84
-7a
+65
 c0
 6b
 04
-73
+5e
 c0
 6d
 01
@@ -451,23 +451,23 @@
 c0
 6d
 87
-81
+6d
 c0
 6e
 07
-b7
+a3
 c0
 6e
 87
-9f
+8b
 c0
 7b
 05
-1c
+07
 c0
 7d
 05
-24
+0f
 20
 20
 23
@@ -475,67 +475,67 @@
 c0
 0a
 05
-49
+34
 c0
 0d
 05
-48
+33
 c0
 12
 85
-78
+63
 c0
 13
 05
-7d
+68
 c0
 26
 05
-8f
+7a
 c0
 26
 85
-93
+7e
 c0
 37
-07
-0f
+06
+fb
 c0
 39
 07
-24
+10
 c0
 3a
 87
-1b
+07
 c0
 3f
 86
-5a
+45
 c0
 39
 86
-82
+6d
 c0
 40
 07
-2e
+1a
 c0
 48
 06
-a1
+8c
 c0
 48
 86
-9e
+89
 c0
 4a
 86
-be
+a9
 c0
 4d
 86
-97
+82
 c1
 7f
 80
@@ -1683,7 +1683,7 @@
 20
 40
 04
-f3
+de
 20
 20
 5c
@@ -1719,7 +1719,7 @@
 20
 20
 07
-d3
+bf
 70
 4e
 33
@@ -1727,7 +1727,7 @@
 20
 20
 07
-d3
+bf
 70
 4e
 4d
@@ -1755,7 +1755,7 @@
 20
 20
 07
-d3
+bf
 20
 40
 55
@@ -2015,7 +2015,7 @@
 20
 40
 06
-80
+6b
 20
 20
 4f
@@ -2659,7 +2659,7 @@
 20
 40
 04
-8b
+76
 20
 40
 49
@@ -2871,11 +2871,11 @@
 20
 20
 07
-d3
+bf
 20
 40
-05
-00
+04
+eb
 58
 00
 00
@@ -3067,11 +3067,11 @@
 20
 40
 04
-94
+7f
 20
 20
-05
-0f
+04
+fa
 6f
 e1
 48
@@ -3547,7 +3547,7 @@
 20
 20
 07
-d3
+bf
 6f
 e0
 c8
@@ -3815,7 +3815,7 @@
 20
 20
 07
-d3
+bf
 20
 40
 03
@@ -3935,11 +3935,11 @@
 20
 40
 03
-fd
+f6
 20
 40
 04
-18
+0a
 20
 34
 03
@@ -3981,14 +3981,6 @@
 00
 00
 6f
-e0
-c9
-ae
-24
-3a
-03
-ec
-6f
 e1
 48
 fa
@@ -4003,31 +3995,11 @@
 20
 22
 83
-f1
-d8
-40
-7f
-3a
-98
-46
-7c
-00
-20
-22
-83
-f1
-20
-60
-00
+ea
+18
+50
+84
 00
-68
-48
-c8
-fa
-6f
-e0
-cb
-a9
 98
 46
 7c
@@ -4035,7 +4007,7 @@
 20
 22
 83
-f1
+ea
 20
 60
 00
@@ -4097,14 +4069,6 @@
 00
 00
 6f
-e0
-c9
-ae
-24
-3a
-04
-09
-6f
 e1
 48
 fa
@@ -4119,31 +4083,11 @@
 20
 22
 84
-0e
-d8
-40
-7f
-3b
-98
-46
-7c
 00
-20
-22
+18
+50
 84
-0e
-20
-60
-00
 00
-68
-48
-c8
-fa
-6f
-e0
-cb
-ac
 98
 46
 7c
@@ -4151,7 +4095,7 @@
 20
 22
 84
-0e
+00
 20
 60
 00
@@ -4205,14 +4149,6 @@
 00
 00
 6f
-e0
-c9
-ae
-24
-3a
-04
-24
-6f
 e1
 48
 fa
@@ -4227,31 +4163,11 @@
 20
 22
 84
-29
-d8
-40
-7f
-3c
-98
-46
-7c
-00
-20
-22
+14
+18
+50
 84
-29
-20
-60
 00
-00
-68
-48
-c8
-fa
-6f
-e0
-cb
-af
 98
 46
 7c
@@ -4259,7 +4175,7 @@
 20
 22
 84
-29
+14
 20
 60
 00
@@ -4351,7 +4267,7 @@
 20
 3a
 04
-40
+2b
 20
 20
 4e
@@ -4375,7 +4291,7 @@
 c0
 80
 04
-4a
+35
 70
 49
 a9
@@ -4407,7 +4323,7 @@
 c0
 00
 04
-4e
+39
 20
 20
 4f
@@ -4439,7 +4355,7 @@
 20
 20
 07
-d3
+bf
 c6
 93
 00
@@ -4463,7 +4379,7 @@
 20
 40
 04
-83
+6e
 68
 48
 c6
@@ -4503,7 +4419,7 @@
 c2
 00
 04
-60
+4b
 70
 4d
 0c
@@ -4539,11 +4455,11 @@
 c2
 00
 04
-69
+54
 20
 40
 04
-a2
+8d
 68
 48
 c6
@@ -4603,7 +4519,7 @@
 20
 20
 84
-80
+6b
 d9
 00
 00
@@ -4655,7 +4571,7 @@
 20
 20
 04
-5a
+45
 20
 40
 02
@@ -4667,7 +4583,7 @@
 20
 40
 04
-91
+7c
 20
 20
 43
@@ -4683,7 +4599,7 @@
 20
 40
 04
-83
+6e
 20
 40
 4f
@@ -4691,7 +4607,7 @@
 20
 20
 04
-5a
+45
 d8
 c0
 80
@@ -4707,7 +4623,7 @@
 24
 3a
 04
-9b
+86
 58
 00
 00
@@ -4723,7 +4639,7 @@
 c2
 00
 04
-96
+81
 df
 e0
 80
@@ -4747,7 +4663,7 @@
 20
 20
 04
-96
+81
 6f
 e0
 cd
@@ -4755,11 +4671,11 @@
 20
 3a
 04
-a5
+90
 20
 20
 04
-a9
+94
 58
 00
 00
@@ -4783,7 +4699,7 @@
 20
 20
 04
-a6
+91
 20
 40
 24
@@ -4871,7 +4787,7 @@
 20
 40
 04
-c9
+b4
 6f
 e0
 c0
@@ -4971,7 +4887,7 @@
 20
 22
 84
-dc
+c7
 e7
 e0
 80
@@ -4991,7 +4907,7 @@
 c2
 00
 04
-d6
+c1
 1a
 42
 04
@@ -5007,7 +4923,7 @@
 20
 40
 06
-52
+3d
 20
 40
 70
@@ -5015,15 +4931,15 @@
 20
 40
 04
-ee
+d9
 20
 40
-05
-00
+04
+eb
 20
 40
 05
-18
+03
 20
 75
 80
@@ -5031,7 +4947,7 @@
 20
 40
 04
-8b
+76
 6f
 e0
 ca
@@ -5047,7 +4963,7 @@
 20
 40
 07
-77
+63
 20
 20
 49
@@ -5059,7 +4975,7 @@
 20
 40
 04
-a5
+90
 20
 75
 80
@@ -5071,7 +4987,7 @@
 20
 20
 07
-d3
+bf
 da
 20
 46
@@ -5107,7 +5023,7 @@
 c0
 1a
 04
-fd
+e8
 20
 60
 00
@@ -5127,7 +5043,7 @@
 20
 40
 04
-83
+6e
 68
 48
 c6
@@ -5166,8 +5082,8 @@
 9a
 20
 40
-05
-0f
+04
+fa
 6f
 e1
 48
@@ -5214,12 +5130,12 @@
 01
 c2
 00
-05
-12
+04
+fd
 20
 20
 04
-d2
+bd
 6f
 e0
 c6
@@ -5263,7 +5179,7 @@
 c2
 00
 05
-1f
+0a
 20
 20
 78
@@ -5275,7 +5191,7 @@
 c0
 0f
 85
-27
+12
 20
 20
 78
@@ -5299,7 +5215,7 @@
 20
 40
 04
-8c
+77
 58
 00
 00
@@ -5319,7 +5235,7 @@
 20
 20
 07
-d3
+bf
 20
 40
 2a
@@ -5335,7 +5251,7 @@
 c0
 7f
 85
-38
+23
 6f
 e0
 c8
@@ -5355,19 +5271,19 @@
 c2
 80
 85
-42
+2d
 c2
 80
 05
-42
+2d
 c2
 82
 85
-42
+2d
 c2
 83
 05
-42
+2d
 20
 40
 4e
@@ -5415,11 +5331,11 @@
 20
 20
 05
-68
+53
 20
 40
 05
-4b
+36
 20
 20
 25
@@ -5455,7 +5371,7 @@
 24
 41
 05
-44
+2f
 98
 46
 7e
@@ -5467,7 +5383,7 @@
 20
 21
 05
-5d
+48
 6f
 e0
 cb
@@ -5479,7 +5395,7 @@
 24
 41
 05
-5b
+46
 70
 4b
 f7
@@ -5555,7 +5471,7 @@
 24
 36
 85
-6f
+5a
 6f
 e0
 cb
@@ -5759,11 +5675,11 @@
 20
 40
 05
-ad
+98
 20
 40
 05
-a1
+8c
 20
 20
 5c
@@ -5799,7 +5715,7 @@
 c0
 1a
 05
-aa
+95
 20
 60
 00
@@ -5823,7 +5739,7 @@
 c0
 1a
 05
-b0
+9b
 20
 60
 00
@@ -5871,7 +5787,7 @@
 c2
 00
 05
-b6
+a1
 20
 60
 00
@@ -5891,39 +5807,39 @@
 c0
 05
 85
-c9
+b4
 c0
 04
 05
-f5
+e0
 c0
 04
 85
-d8
+c3
 c0
 03
 85
-ea
+d5
 c0
 00
 85
-f0
+db
 c0
 06
-06
-0a
+05
+f5
 c0
 05
-06
-14
+05
+ff
 c0
 09
 06
-35
+20
 c0
 29
 06
-46
+31
 20
 20
 2b
@@ -5963,11 +5879,11 @@
 20
 22
 85
-d6
+c1
 20
 20
 05
-d3
+be
 6f
 e0
 c2
@@ -5979,7 +5895,7 @@
 20
 20
 05
-d7
+c2
 70
 49
 c6
@@ -6055,11 +5971,11 @@
 c2
 00
 05
-e1
+cc
 20
 20
 05
-d3
+be
 6f
 e0
 c9
@@ -6083,7 +5999,7 @@
 20
 20
 05
-d7
+c2
 6f
 e0
 c9
@@ -6099,7 +6015,7 @@
 c0
 01
 05
-d3
+be
 20
 20
 50
@@ -6154,8 +6070,8 @@
 00
 20
 22
-86
-03
+85
+ee
 20
 20
 2c
@@ -6239,7 +6155,7 @@
 c2
 81
 86
-2f
+1a
 6f
 e4
 47
@@ -6247,11 +6163,11 @@
 c3
 0a
 86
-1a
+05
 c3
 1d
 86
-1c
+07
 6f
 e1
 43
@@ -6267,11 +6183,11 @@
 c0
 02
 86
-27
+12
 c0
 08
 06
-2a
+15
 68
 49
 43
@@ -6323,7 +6239,7 @@
 20
 3a
 06
-1f
+0a
 d8
 c0
 4b
@@ -6347,7 +6263,7 @@
 24
 22
 86
-17
+02
 20
 40
 2d
@@ -6355,7 +6271,7 @@
 24
 34
 06
-1c
+07
 20
 20
 2d
@@ -6379,7 +6295,7 @@
 20
 40
 06
-47
+32
 6f
 e0
 c7
@@ -6439,7 +6355,7 @@
 c0
 7f
 86
-4c
+37
 6f
 e1
 43
@@ -6447,7 +6363,7 @@
 c0
 12
 86
-4f
+3a
 20
 60
 00
@@ -6459,7 +6375,7 @@
 c0
 10
 86
-4f
+3a
 20
 60
 00
@@ -6523,19 +6439,19 @@
 c0
 00
 86
-62
+4d
 c0
 01
 06
-64
+4f
 c0
 01
 86
-6b
+56
 c0
 02
 06
-71
+5c
 20
 60
 00
@@ -6547,7 +6463,7 @@
 20
 20
 06
-72
+5d
 70
 45
 89
@@ -6559,7 +6475,7 @@
 20
 3a
 06
-69
+54
 6f
 e2
 46
@@ -6575,7 +6491,7 @@
 20
 20
 06
-72
+5d
 70
 4d
 60
@@ -6587,7 +6503,7 @@
 20
 3a
 06
-72
+5d
 6f
 e2
 45
@@ -6599,7 +6515,7 @@
 20
 20
 06
-74
+5f
 70
 4d
 60
@@ -6635,7 +6551,7 @@
 20
 40
 06
-82
+6d
 20
 40
 36
@@ -6651,11 +6567,11 @@
 20
 40
 06
-9e
+89
 20
 40
 06
-97
+82
 20
 20
 32
@@ -6663,7 +6579,7 @@
 20
 40
 06
-c3
+ae
 24
 74
 00
@@ -6803,7 +6719,7 @@
 20
 3a
 06
-a8
+93
 6f
 e1
 45
@@ -6823,7 +6739,7 @@
 20
 40
 06
-b8
+a3
 20
 40
 36
@@ -6838,8 +6754,8 @@
 86
 20
 40
-07
-03
+06
+ef
 6f
 e2
 45
@@ -6871,7 +6787,7 @@
 20
 42
 86
-b6
+a1
 20
 20
 35
@@ -6911,15 +6827,15 @@
 20
 40
 06
-80
+6b
 24
 34
 06
-ce
+b9
 20
 40
 06
-dd
+c9
 20
 40
 4f
@@ -6939,7 +6855,7 @@
 20
 34
 06
-c8
+b3
 6f
 e3
 cd
@@ -7003,7 +6919,7 @@
 24
 5a
 07
-4b
+37
 20
 40
 4f
@@ -7024,6 +6940,10 @@
 5a
 4f
 75
+20
+40
+07
+de
 6f
 e4
 45
@@ -7071,15 +6991,15 @@
 24
 2c
 06
-eb
+d7
 24
 37
 86
-eb
+d7
 20
 40
-07
-03
+06
+ef
 70
 47
 3f
@@ -7135,11 +7055,11 @@
 20
 3a
 06
-f8
+e4
 20
 20
 06
-de
+ca
 20
 40
 4b
@@ -7159,11 +7079,11 @@
 20
 40
 06
-fe
+ea
 20
 20
 06
-de
+ca
 6f
 e2
 45
@@ -7227,7 +7147,7 @@
 20
 40
 04
-83
+6e
 20
 20
 4f
@@ -7243,7 +7163,7 @@
 c5
 13
 87
-17
+03
 6f
 e0
 cd
@@ -7323,7 +7243,7 @@
 24
 3a
 07
-28
+14
 78
 4e
 fc
@@ -7371,15 +7291,15 @@
 c0
 01
 07
-35
+21
 c0
 01
 87
-3a
+26
 c0
 02
 07
-3e
+2a
 20
 60
 00
@@ -7427,7 +7347,7 @@
 20
 3a
 07
-44
+30
 6f
 e2
 4d
@@ -7479,7 +7399,7 @@
 24
 3a
 07
-55
+41
 70
 45
 89
@@ -7507,11 +7427,11 @@
 20
 40
 06
-82
+6d
 20
 20
 06
-dd
+c9
 70
 46
 02
@@ -7519,7 +7439,7 @@
 20
 40
 06
-9e
+89
 6f
 e0
 c5
@@ -7539,7 +7459,7 @@
 20
 3a
 07
-6e
+5a
 1f
 ef
 a2
@@ -7607,11 +7527,11 @@
 20
 40
 06
-82
+6d
 20
 20
 06
-dd
+c9
 6f
 e0
 ce
@@ -7647,7 +7567,7 @@
 20
 20
 07
-6a
+56
 58
 00
 4a
@@ -7815,7 +7735,7 @@
 c0
 01
 07
-a2
+8e
 20
 60
 00
@@ -7847,7 +7767,7 @@
 20
 20
 07
-a9
+95
 68
 49
 4b
@@ -7871,7 +7791,7 @@
 20
 40
 07
-92
+7e
 6f
 f0
 8a
@@ -7907,7 +7827,7 @@
 20
 40
 07
-ae
+9a
 20
 40
 6f
@@ -7935,7 +7855,7 @@
 20
 40
 07
-ae
+9a
 6f
 e0
 c4
@@ -7967,7 +7887,7 @@
 20
 40
 07
-d0
+bc
 68
 59
 01
@@ -8011,7 +7931,7 @@
 c3
 02
 87
-d0
+bc
 20
 60
 00
@@ -8035,7 +7955,7 @@
 20
 22
 87
-f0
+dc
 60
 48
 ce
@@ -8107,7 +8027,7 @@
 24
 22
 87
-e0
+cc
 58
 00
 0e
@@ -8140,8 +8060,56 @@
 20
 00
 01
+20
+40
+6c
+20
+20
+40
+6c
+31
+68
+48
+c4
+21
+20
+40
+6e
+f3
+68
+48
+c4
+23
+20
+40
+6e
+f3
+68
+48
+c4
+24
+20
+40
+6e
+f3
+68
+48
+c4
 22
-af
+18
+46
+7c
+ff
+20
+62
+80
+00
+20
+20
+6e
+e0
+ba
+8f
 aa
 55
 40
@@ -8478,13 +8446,13 @@
 4b
 01
 7f
-01
+1e
 01
 7f
-02
+1f
 01
 7f
-03
+20
 01
 7f
 21
@@ -8533,19 +8501,12 @@
 00
 aa
 55
-03
+04
 00
 b7
 47
 1d
 00
-d0
-aa
-55
-02
-00
-b9
-47
 21
 00
 aa
@@ -8853,8 +8814,8 @@
 00
 25
 47
-bd
-0b
+b0
+04
 aa
 55
 01
@@ -8876,8 +8837,8 @@
 00
 69
 48
-b8
-0b
+b0
+04
 aa
 55
 08
@@ -8931,18 +8892,18 @@
 00
 a5
 49
-ff
-ff
-ff
-ff
+29
+1a
+29
+14
 aa
 55
 02
 00
 17
 4d
-ff
-ff
+7f
+06
 aa
 55
 03
@@ -9459,15 +9420,15 @@
 00
 3b
 4e
-ff
+d8
 2a
 00
 55
 aa
 aa
 55
-52
-81
+c1
+79
 ff
 20
 20
@@ -10056,7 +10017,7 @@
 20
 20
 06
-d6
+c1
 6f
 e4
 47
@@ -10144,7 +10105,7 @@
 20
 20
 04
-8d
+78
 58
 00
 00
@@ -10176,7 +10137,7 @@
 20
 3a
 04
-8c
+77
 20
 60
 00
@@ -10252,7 +10213,7 @@
 58
 00
 04
-55
+40
 67
 e1
 45
@@ -10268,7 +10229,7 @@
 58
 00
 04
-5a
+45
 67
 e1
 45
@@ -10276,7 +10237,7 @@
 58
 00
 05
-31
+1c
 67
 e1
 43
@@ -10284,7 +10245,7 @@
 58
 00
 04
-89
+74
 67
 e1
 43
@@ -11009,8 +10970,8 @@
 00
 00
 00
-16
-d3
+00
+52
 ff
 1e
 f0
Index: output/otp.dat
===================================================================
--- /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/output/otp.dat	(revision 4533)
+++ /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/output/otp.dat	(working copy)
@@ -11,7 +11,7 @@
 00
 aa
 55
-ca
+aa
 1f
 20
 20
@@ -312,11 +312,11 @@
 c0
 12
 84
-bd
+a8
 c0
 14
 04
-ab
+96
 c0
 22
 01
@@ -324,7 +324,7 @@
 c0
 22
 84
-53
+3e
 c0
 23
 01
@@ -336,15 +336,15 @@
 c0
 24
 05
-2b
+16
 c0
 24
 85
-2f
+1a
 c0
 25
 05
-9a
+85
 c0
 25
 82
@@ -356,7 +356,7 @@
 c0
 26
 85
-31
+1c
 c0
 27
 02
@@ -376,47 +376,47 @@
 c0
 2b
 84
-33
+1e
 c0
 2c
 84
-43
+2e
 c0
 2d
 04
-8f
+7a
 c0
 2d
 84
-8d
+78
 c0
 2e
 04
-8b
+76
 c0
 2e
 84
-91
+7c
 c0
 2f
 06
-dd
+c9
 c0
 2f
-87
-0b
+86
+f7
 c0
 30
 85
-bc
+a7
 c0
 37
 85
-95
+80
 c0
 38
 84
-8d
+78
 c0
 3b
 00
@@ -432,7 +432,7 @@
 c0
 42
 04
-8d
+78
 c0
 45
 81
@@ -444,15 +444,15 @@
 c0
 58
 84
-e1
+cc
 c0
 6a
 84
-7a
+65
 c0
 6b
 04
-73
+5e
 c0
 6d
 01
@@ -460,23 +460,23 @@
 c0
 6d
 87
-81
+6d
 c0
 6e
 07
-b7
+a3
 c0
 6e
 87
-9f
+8b
 c0
 7b
 05
-1c
+07
 c0
 7d
 05
-24
+0f
 20
 20
 23
@@ -484,67 +484,67 @@
 c0
 0a
 05
-49
+34
 c0
 0d
 05
-48
+33
 c0
 12
 85
-78
+63
 c0
 13
 05
-7d
+68
 c0
 26
 05
-8f
+7a
 c0
 26
 85
-93
+7e
 c0
 37
-07
-0f
+06
+fb
 c0
 39
 07
-24
+10
 c0
 3a
 87
-1b
+07
 c0
 3f
 86
-5a
+45
 c0
 39
 86
-82
+6d
 c0
 40
 07
-2e
+1a
 c0
 48
 06
-a1
+8c
 c0
 48
 86
-9e
+89
 c0
 4a
 86
-be
+a9
 c0
 4d
 86
-97
+82
 c1
 7f
 80
@@ -1692,7 +1692,7 @@
 20
 40
 04
-f3
+de
 20
 20
 5c
@@ -1728,7 +1728,7 @@
 20
 20
 07
-d3
+bf
 70
 4e
 33
@@ -1736,7 +1736,7 @@
 20
 20
 07
-d3
+bf
 70
 4e
 4d
@@ -1764,7 +1764,7 @@
 20
 20
 07
-d3
+bf
 20
 40
 55
@@ -2024,7 +2024,7 @@
 20
 40
 06
-80
+6b
 20
 20
 4f
@@ -2668,7 +2668,7 @@
 20
 40
 04
-8b
+76
 20
 40
 49
@@ -2880,11 +2880,11 @@
 20
 20
 07
-d3
+bf
 20
 40
-05
-00
+04
+eb
 58
 00
 00
@@ -3076,11 +3076,11 @@
 20
 40
 04
-94
+7f
 20
 20
-05
-0f
+04
+fa
 6f
 e1
 48
@@ -3556,7 +3556,7 @@
 20
 20
 07
-d3
+bf
 6f
 e0
 c8
@@ -3824,7 +3824,7 @@
 20
 20
 07
-d3
+bf
 20
 40
 03
@@ -3944,11 +3944,11 @@
 20
 40
 03
-fd
+f6
 20
 40
 04
-18
+0a
 20
 34
 03
@@ -3990,14 +3990,6 @@
 00
 00
 6f
-e0
-c9
-ae
-24
-3a
-03
-ec
-6f
 e1
 48
 fa
@@ -4012,31 +4004,11 @@
 20
 22
 83
-f1
-d8
-40
-7f
-3a
-98
-46
-7c
-00
-20
-22
-83
-f1
-20
-60
-00
+ea
+18
+50
+84
 00
-68
-48
-c8
-fa
-6f
-e0
-cb
-a9
 98
 46
 7c
@@ -4044,7 +4016,7 @@
 20
 22
 83
-f1
+ea
 20
 60
 00
@@ -4106,14 +4078,6 @@
 00
 00
 6f
-e0
-c9
-ae
-24
-3a
-04
-09
-6f
 e1
 48
 fa
@@ -4128,31 +4092,11 @@
 20
 22
 84
-0e
-d8
-40
-7f
-3b
-98
-46
-7c
 00
-20
-22
+18
+50
 84
-0e
-20
-60
-00
 00
-68
-48
-c8
-fa
-6f
-e0
-cb
-ac
 98
 46
 7c
@@ -4160,7 +4104,7 @@
 20
 22
 84
-0e
+00
 20
 60
 00
@@ -4214,14 +4158,6 @@
 00
 00
 6f
-e0
-c9
-ae
-24
-3a
-04
-24
-6f
 e1
 48
 fa
@@ -4236,31 +4172,11 @@
 20
 22
 84
-29
-d8
-40
-7f
-3c
-98
-46
-7c
-00
-20
-22
+14
+18
+50
 84
-29
-20
-60
 00
-00
-68
-48
-c8
-fa
-6f
-e0
-cb
-af
 98
 46
 7c
@@ -4268,7 +4184,7 @@
 20
 22
 84
-29
+14
 20
 60
 00
@@ -4360,7 +4276,7 @@
 20
 3a
 04
-40
+2b
 20
 20
 4e
@@ -4384,7 +4300,7 @@
 c0
 80
 04
-4a
+35
 70
 49
 a9
@@ -4416,7 +4332,7 @@
 c0
 00
 04
-4e
+39
 20
 20
 4f
@@ -4448,7 +4364,7 @@
 20
 20
 07
-d3
+bf
 c6
 93
 00
@@ -4472,7 +4388,7 @@
 20
 40
 04
-83
+6e
 68
 48
 c6
@@ -4512,7 +4428,7 @@
 c2
 00
 04
-60
+4b
 70
 4d
 0c
@@ -4548,11 +4464,11 @@
 c2
 00
 04
-69
+54
 20
 40
 04
-a2
+8d
 68
 48
 c6
@@ -4612,7 +4528,7 @@
 20
 20
 84
-80
+6b
 d9
 00
 00
@@ -4664,7 +4580,7 @@
 20
 20
 04
-5a
+45
 20
 40
 02
@@ -4676,7 +4592,7 @@
 20
 40
 04
-91
+7c
 20
 20
 43
@@ -4692,7 +4608,7 @@
 20
 40
 04
-83
+6e
 20
 40
 4f
@@ -4700,7 +4616,7 @@
 20
 20
 04
-5a
+45
 d8
 c0
 80
@@ -4716,7 +4632,7 @@
 24
 3a
 04
-9b
+86
 58
 00
 00
@@ -4732,7 +4648,7 @@
 c2
 00
 04
-96
+81
 df
 e0
 80
@@ -4756,7 +4672,7 @@
 20
 20
 04
-96
+81
 6f
 e0
 cd
@@ -4764,11 +4680,11 @@
 20
 3a
 04
-a5
+90
 20
 20
 04
-a9
+94
 58
 00
 00
@@ -4792,7 +4708,7 @@
 20
 20
 04
-a6
+91
 20
 40
 24
@@ -4880,7 +4796,7 @@
 20
 40
 04
-c9
+b4
 6f
 e0
 c0
@@ -4980,7 +4896,7 @@
 20
 22
 84
-dc
+c7
 e7
 e0
 80
@@ -5000,7 +4916,7 @@
 c2
 00
 04
-d6
+c1
 1a
 42
 04
@@ -5016,7 +4932,7 @@
 20
 40
 06
-52
+3d
 20
 40
 70
@@ -5024,15 +4940,15 @@
 20
 40
 04
-ee
+d9
 20
 40
-05
-00
+04
+eb
 20
 40
 05
-18
+03
 20
 75
 80
@@ -5040,7 +4956,7 @@
 20
 40
 04
-8b
+76
 6f
 e0
 ca
@@ -5056,7 +4972,7 @@
 20
 40
 07
-77
+63
 20
 20
 49
@@ -5068,7 +4984,7 @@
 20
 40
 04
-a5
+90
 20
 75
 80
@@ -5080,7 +4996,7 @@
 20
 20
 07
-d3
+bf
 da
 20
 46
@@ -5116,7 +5032,7 @@
 c0
 1a
 04
-fd
+e8
 20
 60
 00
@@ -5136,7 +5052,7 @@
 20
 40
 04
-83
+6e
 68
 48
 c6
@@ -5175,8 +5091,8 @@
 9a
 20
 40
-05
-0f
+04
+fa
 6f
 e1
 48
@@ -5223,12 +5139,12 @@
 01
 c2
 00
-05
-12
+04
+fd
 20
 20
 04
-d2
+bd
 6f
 e0
 c6
@@ -5272,7 +5188,7 @@
 c2
 00
 05
-1f
+0a
 20
 20
 78
@@ -5284,7 +5200,7 @@
 c0
 0f
 85
-27
+12
 20
 20
 78
@@ -5308,7 +5224,7 @@
 20
 40
 04
-8c
+77
 58
 00
 00
@@ -5328,7 +5244,7 @@
 20
 20
 07
-d3
+bf
 20
 40
 2a
@@ -5344,7 +5260,7 @@
 c0
 7f
 85
-38
+23
 6f
 e0
 c8
@@ -5364,19 +5280,19 @@
 c2
 80
 85
-42
+2d
 c2
 80
 05
-42
+2d
 c2
 82
 85
-42
+2d
 c2
 83
 05
-42
+2d
 20
 40
 4e
@@ -5424,11 +5340,11 @@
 20
 20
 05
-68
+53
 20
 40
 05
-4b
+36
 20
 20
 25
@@ -5464,7 +5380,7 @@
 24
 41
 05
-44
+2f
 98
 46
 7e
@@ -5476,7 +5392,7 @@
 20
 21
 05
-5d
+48
 6f
 e0
 cb
@@ -5488,7 +5404,7 @@
 24
 41
 05
-5b
+46
 70
 4b
 f7
@@ -5564,7 +5480,7 @@
 24
 36
 85
-6f
+5a
 6f
 e0
 cb
@@ -5768,11 +5684,11 @@
 20
 40
 05
-ad
+98
 20
 40
 05
-a1
+8c
 20
 20
 5c
@@ -5808,7 +5724,7 @@
 c0
 1a
 05
-aa
+95
 20
 60
 00
@@ -5832,7 +5748,7 @@
 c0
 1a
 05
-b0
+9b
 20
 60
 00
@@ -5880,7 +5796,7 @@
 c2
 00
 05
-b6
+a1
 20
 60
 00
@@ -5900,39 +5816,39 @@
 c0
 05
 85
-c9
+b4
 c0
 04
 05
-f5
+e0
 c0
 04
 85
-d8
+c3
 c0
 03
 85
-ea
+d5
 c0
 00
 85
-f0
+db
 c0
 06
-06
-0a
+05
+f5
 c0
 05
-06
-14
+05
+ff
 c0
 09
 06
-35
+20
 c0
 29
 06
-46
+31
 20
 20
 2b
@@ -5972,11 +5888,11 @@
 20
 22
 85
-d6
+c1
 20
 20
 05
-d3
+be
 6f
 e0
 c2
@@ -5988,7 +5904,7 @@
 20
 20
 05
-d7
+c2
 70
 49
 c6
@@ -6064,11 +5980,11 @@
 c2
 00
 05
-e1
+cc
 20
 20
 05
-d3
+be
 6f
 e0
 c9
@@ -6092,7 +6008,7 @@
 20
 20
 05
-d7
+c2
 6f
 e0
 c9
@@ -6108,7 +6024,7 @@
 c0
 01
 05
-d3
+be
 20
 20
 50
@@ -6163,8 +6079,8 @@
 00
 20
 22
-86
-03
+85
+ee
 20
 20
 2c
@@ -6248,7 +6164,7 @@
 c2
 81
 86
-2f
+1a
 6f
 e4
 47
@@ -6256,11 +6172,11 @@
 c3
 0a
 86
-1a
+05
 c3
 1d
 86
-1c
+07
 6f
 e1
 43
@@ -6276,11 +6192,11 @@
 c0
 02
 86
-27
+12
 c0
 08
 06
-2a
+15
 68
 49
 43
@@ -6332,7 +6248,7 @@
 20
 3a
 06
-1f
+0a
 d8
 c0
 4b
@@ -6356,7 +6272,7 @@
 24
 22
 86
-17
+02
 20
 40
 2d
@@ -6364,7 +6280,7 @@
 24
 34
 06
-1c
+07
 20
 20
 2d
@@ -6388,7 +6304,7 @@
 20
 40
 06
-47
+32
 6f
 e0
 c7
@@ -6448,7 +6364,7 @@
 c0
 7f
 86
-4c
+37
 6f
 e1
 43
@@ -6456,7 +6372,7 @@
 c0
 12
 86
-4f
+3a
 20
 60
 00
@@ -6468,7 +6384,7 @@
 c0
 10
 86
-4f
+3a
 20
 60
 00
@@ -6532,19 +6448,19 @@
 c0
 00
 86
-62
+4d
 c0
 01
 06
-64
+4f
 c0
 01
 86
-6b
+56
 c0
 02
 06
-71
+5c
 20
 60
 00
@@ -6556,7 +6472,7 @@
 20
 20
 06
-72
+5d
 70
 45
 89
@@ -6568,7 +6484,7 @@
 20
 3a
 06
-69
+54
 6f
 e2
 46
@@ -6584,7 +6500,7 @@
 20
 20
 06
-72
+5d
 70
 4d
 60
@@ -6596,7 +6512,7 @@
 20
 3a
 06
-72
+5d
 6f
 e2
 45
@@ -6608,7 +6524,7 @@
 20
 20
 06
-74
+5f
 70
 4d
 60
@@ -6644,7 +6560,7 @@
 20
 40
 06
-82
+6d
 20
 40
 36
@@ -6660,11 +6576,11 @@
 20
 40
 06
-9e
+89
 20
 40
 06
-97
+82
 20
 20
 32
@@ -6672,7 +6588,7 @@
 20
 40
 06
-c3
+ae
 24
 74
 00
@@ -6812,7 +6728,7 @@
 20
 3a
 06
-a8
+93
 6f
 e1
 45
@@ -6832,7 +6748,7 @@
 20
 40
 06
-b8
+a3
 20
 40
 36
@@ -6847,8 +6763,8 @@
 86
 20
 40
-07
-03
+06
+ef
 6f
 e2
 45
@@ -6880,7 +6796,7 @@
 20
 42
 86
-b6
+a1
 20
 20
 35
@@ -6920,15 +6836,15 @@
 20
 40
 06
-80
+6b
 24
 34
 06
-ce
+b9
 20
 40
 06
-dd
+c9
 20
 40
 4f
@@ -6948,7 +6864,7 @@
 20
 34
 06
-c8
+b3
 6f
 e3
 cd
@@ -7012,7 +6928,7 @@
 24
 5a
 07
-4b
+37
 20
 40
 4f
@@ -7033,6 +6949,10 @@
 5a
 4f
 75
+20
+40
+07
+de
 6f
 e4
 45
@@ -7080,15 +7000,15 @@
 24
 2c
 06
-eb
+d7
 24
 37
 86
-eb
+d7
 20
 40
-07
-03
+06
+ef
 70
 47
 3f
@@ -7144,11 +7064,11 @@
 20
 3a
 06
-f8
+e4
 20
 20
 06
-de
+ca
 20
 40
 4b
@@ -7168,11 +7088,11 @@
 20
 40
 06
-fe
+ea
 20
 20
 06
-de
+ca
 6f
 e2
 45
@@ -7236,7 +7156,7 @@
 20
 40
 04
-83
+6e
 20
 20
 4f
@@ -7252,7 +7172,7 @@
 c5
 13
 87
-17
+03
 6f
 e0
 cd
@@ -7332,7 +7252,7 @@
 24
 3a
 07
-28
+14
 78
 4e
 fc
@@ -7380,15 +7300,15 @@
 c0
 01
 07
-35
+21
 c0
 01
 87
-3a
+26
 c0
 02
 07
-3e
+2a
 20
 60
 00
@@ -7436,7 +7356,7 @@
 20
 3a
 07
-44
+30
 6f
 e2
 4d
@@ -7488,7 +7408,7 @@
 24
 3a
 07
-55
+41
 70
 45
 89
@@ -7516,11 +7436,11 @@
 20
 40
 06
-82
+6d
 20
 20
 06
-dd
+c9
 70
 46
 02
@@ -7528,7 +7448,7 @@
 20
 40
 06
-9e
+89
 6f
 e0
 c5
@@ -7548,7 +7468,7 @@
 20
 3a
 07
-6e
+5a
 1f
 ef
 a2
@@ -7616,11 +7536,11 @@
 20
 40
 06
-82
+6d
 20
 20
 06
-dd
+c9
 6f
 e0
 ce
@@ -7656,7 +7576,7 @@
 20
 20
 07
-6a
+56
 58
 00
 4a
@@ -7824,7 +7744,7 @@
 c0
 01
 07
-a2
+8e
 20
 60
 00
@@ -7856,7 +7776,7 @@
 20
 20
 07
-a9
+95
 68
 49
 4b
@@ -7880,7 +7800,7 @@
 20
 40
 07
-92
+7e
 6f
 f0
 8a
@@ -7916,7 +7836,7 @@
 20
 40
 07
-ae
+9a
 20
 40
 6f
@@ -7944,7 +7864,7 @@
 20
 40
 07
-ae
+9a
 6f
 e0
 c4
@@ -7976,7 +7896,7 @@
 20
 40
 07
-d0
+bc
 68
 59
 01
@@ -8020,7 +7940,7 @@
 c3
 02
 87
-d0
+bc
 20
 60
 00
@@ -8044,7 +7964,7 @@
 20
 22
 87
-f0
+dc
 60
 48
 ce
@@ -8116,7 +8036,7 @@
 24
 22
 87
-e0
+cc
 58
 00
 0e
@@ -8149,8 +8069,56 @@
 20
 00
 01
+20
+40
+6c
+20
+20
+40
+6c
+31
+68
+48
+c4
+21
+20
+40
+6e
+f3
+68
+48
+c4
+23
+20
+40
+6e
+f3
+68
+48
+c4
+24
+20
+40
+6e
+f3
+68
+48
+c4
 22
-af
+18
+46
+7c
+ff
+20
+62
+80
+00
+20
+20
+6e
+e0
+ba
+8f
 aa
 55
 40
@@ -8487,13 +8455,13 @@
 4b
 01
 7f
-01
+1e
 01
 7f
-02
+1f
 01
 7f
-03
+20
 01
 7f
 21
@@ -8542,19 +8510,12 @@
 00
 aa
 55
-03
+04
 00
 b7
 47
 1d
 00
-d0
-aa
-55
-02
-00
-b9
-47
 21
 00
 aa
@@ -8862,8 +8823,8 @@
 00
 25
 47
-bd
-0b
+b0
+04
 aa
 55
 01
@@ -8885,8 +8846,8 @@
 00
 69
 48
-b8
-0b
+b0
+04
 aa
 55
 08
@@ -8940,18 +8901,18 @@
 00
 a5
 49
-ff
-ff
-ff
-ff
+29
+1a
+29
+14
 aa
 55
 02
 00
 17
 4d
-ff
-ff
+7f
+06
 aa
 55
 03
@@ -9468,15 +9429,15 @@
 00
 3b
 4e
-ff
+d8
 2a
 00
 55
 aa
 aa
 55
-52
-81
+c1
+79
 ff
 20
 20
@@ -10065,7 +10026,7 @@
 20
 20
 06
-d6
+c1
 6f
 e4
 47
@@ -10153,7 +10114,7 @@
 20
 20
 04
-8d
+78
 58
 00
 00
@@ -10185,7 +10146,7 @@
 20
 3a
 04
-8c
+77
 20
 60
 00
@@ -10261,7 +10222,7 @@
 58
 00
 04
-55
+40
 67
 e1
 45
@@ -10277,7 +10238,7 @@
 58
 00
 04
-5a
+45
 67
 e1
 45
@@ -10285,7 +10246,7 @@
 58
 00
 05
-31
+1c
 67
 e1
 43
@@ -10293,7 +10254,7 @@
 58
 00
 04
-89
+74
 67
 e1
 43
@@ -11018,5 +10979,5 @@
 00
 00
 00
-16
-d3
+00
+52
Index: output/program.lis
===================================================================
--- /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/output/program.lis	(revision 4533)
+++ /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/output/program.lis	(working copy)
@@ -80,67 +80,67 @@
 0047 c00c0129 beq patch03_0 ,p_txon 
 0048 c00c8130 beq patch03_1 ,p_set_tx_power 
 0049 c00d00b5 beq patch03_2 ,p_initialize_radio_cont 
-004a c01284bd beq patch04_5 ,p_lpm_sleep 
-004b c01404ab beq patch05_0 ,p_lpm_dispatch 
+004a c01284a8 beq patch04_5 ,p_lpm_sleep 
+004b c0140496 beq patch05_0 ,p_lpm_dispatch 
 004c c022018c beq patch08_4 ,p_keyboard_store_device_info 
-004d c0228453 beq patch08_5 ,p_keyboard_cb_fuction 
+004d c022843e beq patch08_5 ,p_keyboard_cb_fuction 
 004e c02301a5 beq patch08_6 ,p_keyboard_priority_bb_event 
 004f c02381b6 beq patch08_7 ,p_keyboard_bb_event_timer 
-0050 c024052b beq patch09_0 ,p_keyboard_start_discovery 
-0051 c024852f beq patch09_1 ,p_keyboard_stop_discovery 
-0052 c025059a beq patch09_2 ,p_keyboard_store_remote_bdaddr 
+0050 c0240516 beq patch09_0 ,p_keyboard_start_discovery 
+0051 c024851a beq patch09_1 ,p_keyboard_stop_discovery 
+0052 c0250585 beq patch09_2 ,p_keyboard_store_remote_bdaddr 
 0053 c02582a4 beq patch09_3 ,p_keyboard_idle 
 0054 c02602cb beq patch09_4 ,p_keyboard_start_work 
-0055 c0268531 beq patch09_5 ,p_keyboard_le 
+0055 c026851c beq patch09_5 ,p_keyboard_le 
 0056 c02702cd beq patch09_6 ,p_keyboard_keyscan 
 0057 c028032e beq patch0a_0 ,p_keyboard_key_process 
 0058 c02903ac beq patch0a_2 ,p_keyboard_keyvalue_fn_replace 
 0059 c02a83b9 beq patch0a_5 ,p_keyboard_special_key_check 
-005a c02b8433 beq patch0a_7 ,p_keyboard_motion 
-005b c02c8443 beq patch0b_1 ,p_keyboard_device_data_tpye_check 
-005c c02d048f beq patch0b_2 ,p_keyboard_before_hibernate 
-005d c02d848d beq patch0b_3 ,p_keyboard_app_enter_hibernate 
-005e c02e048b beq patch0b_4 ,p_keyboard_device_led_all_off 
-005f c02e8491 beq patch0b_5 ,p_keyboard_setgpio_hibernate 
-0060 c02f06dd beq patch0b_6 ,p_keyboard_g24_transmit_process 
-0061 c02f870b beq patch0b_7 ,p_keyboard_g24_short_sleep 
-0062 c03085bc beq patch0c_1 ,p_le_parse_att 
-0063 c0378595 beq patch0d_7 ,p_keyboard_start_reconnect_device 
-0064 c038848d beq patch0e_1 ,p_keyboard_app_enter_hibernate 
+005a c02b841e beq patch0a_7 ,p_keyboard_motion 
+005b c02c842e beq patch0b_1 ,p_keyboard_device_data_tpye_check 
+005c c02d047a beq patch0b_2 ,p_keyboard_before_hibernate 
+005d c02d8478 beq patch0b_3 ,p_keyboard_app_enter_hibernate 
+005e c02e0476 beq patch0b_4 ,p_keyboard_device_led_all_off 
+005f c02e847c beq patch0b_5 ,p_keyboard_setgpio_hibernate 
+0060 c02f06c9 beq patch0b_6 ,p_keyboard_g24_transmit_process 
+0061 c02f86f7 beq patch0b_7 ,p_keyboard_g24_short_sleep 
+0062 c03085a7 beq patch0c_1 ,p_le_parse_att 
+0063 c0378580 beq patch0d_7 ,p_keyboard_start_reconnect_device 
+0064 c0388478 beq patch0e_1 ,p_keyboard_app_enter_hibernate 
 0065 c03b0096 beq patch0e_6 ,p_keyboard_adc_read 
 0066 c03b81d9 beq patch0e_7 ,p_keyboard_adc_read_start 
 0067 c0400166 beq patch10_0 ,p_mouse_init_sunt 
-0068 c042048d beq patch10_4 ,p_keyboard_app_enter_hibernate 
+0068 c0420478 beq patch10_4 ,p_keyboard_app_enter_hibernate 
 0069 c045819b beq patch11_3 ,p_keyboard_app_initflag_check 
 006a c04d0270 beq patch13_2 ,p_keyboard_discover_setting_led_gpio 
-006b c05884e1 beq patch16_1 ,p_keyboard_init 
-006c c06a847a beq patch1a_5 ,p_gpio_set_wake_by_current_state 
-006d c06b0473 beq patch1a_6 ,p_gpio_set_wake 
+006b c05884cc beq patch16_1 ,p_keyboard_init 
+006c c06a8465 beq patch1a_5 ,p_gpio_set_wake_by_current_state 
+006d c06b045e beq patch1a_6 ,p_gpio_set_wake 
 006e c06d0167 beq patch1b_2 ,p_sadc_calibration 
-006f c06d8781 beq patch1b_3 ,p_adc_init_data 
-0070 c06e07b7 beq patch1b_4 ,p_enable_adc 
-0071 c06e879f beq patch1b_5 ,p_vdd_calculate_by_mode 
-0072 c07b051c beq patch1e_6 ,p_ui_ipc_send_event 
-0073 c07d0524 beq patch1f_2 ,p_check_51cmd_once_continue 
+006f c06d876d beq patch1b_3 ,p_adc_init_data 
+0070 c06e07a3 beq patch1b_4 ,p_enable_adc 
+0071 c06e878b beq patch1b_5 ,p_vdd_calculate_by_mode 
+0072 c07b0507 beq patch1e_6 ,p_ui_ipc_send_event 
+0073 c07d050f beq patch1f_2 ,p_check_51cmd_once_continue 
 0074 2020235a branch assert 
 
 pf_patch_ext:
-0075 c00a0549 beq patch22_4 ,p_le_slave_match 
-0076 c00d0548 beq patch23_2 ,p_le_got_first_packet 
-0077 c0128578 beq patch24_5 ,p_le_rx_dec 
-0078 c013057d beq patch24_6 ,p_le_rx_nopayload 
-0079 c026058f beq patch29_4 ,p_le_adv_not_match 
-007a c0268593 beq patch29_5 ,p_le_init_adv 
-007b c037070f beq patch2d_6 ,p_g24_receive_update_rxbuff 
-007c c0390724 beq patch2e_2 ,p_g24_transmit_packet 
-007d c03a871b beq patch2e_5 ,p_g24_read_len_pid_crc 
-007e c03f865a beq patch2f_7 ,p_g24_pair_dispatch 
-007f c0398682 beq patch2e_3 ,p_g24_transmit_prep 
-0080 c040072e beq patch30_0 ,p_g24_pair_sm_common_end 
-0081 c04806a1 beq patch32_0 ,p_keyboard_g24_reconn_dispatch 
-0082 c048869e beq patch32_1 ,p_g24_txbuf_clear 
-0083 c04a86be beq patch32_5 ,p_keyboard_g24_transmit_no_interrupt 
-0084 c04d8697 beq patch33_3 ,p_g24_ackpayload_parse 
+0075 c00a0534 beq patch22_4 ,p_le_slave_match 
+0076 c00d0533 beq patch23_2 ,p_le_got_first_packet 
+0077 c0128563 beq patch24_5 ,p_le_rx_dec 
+0078 c0130568 beq patch24_6 ,p_le_rx_nopayload 
+0079 c026057a beq patch29_4 ,p_le_adv_not_match 
+007a c026857e beq patch29_5 ,p_le_init_adv 
+007b c03706fb beq patch2d_6 ,p_g24_receive_update_rxbuff 
+007c c0390710 beq patch2e_2 ,p_g24_transmit_packet 
+007d c03a8707 beq patch2e_5 ,p_g24_read_len_pid_crc 
+007e c03f8645 beq patch2f_7 ,p_g24_pair_dispatch 
+007f c039866d beq patch2e_3 ,p_g24_transmit_prep 
+0080 c040071a beq patch30_0 ,p_g24_pair_sm_common_end 
+0081 c048068c beq patch32_0 ,p_keyboard_g24_reconn_dispatch 
+0082 c0488689 beq patch32_1 ,p_g24_txbuf_clear 
+0083 c04a86a9 beq patch32_5 ,p_keyboard_g24_transmit_no_interrupt 
+0084 c04d8682 beq patch33_3 ,p_g24_ackpayload_parse 
 0085 c17f8000 rtneq patch3f_7 
 0086 2020235a branch assert 
 
@@ -501,7 +501,7 @@
 01a2 20205c88 branch mouse_app_initflag_check_next + 3 
 
 p_keyboard_load_device_info:
-01a3 204004f3 call p_keyboard_select_reconn_device 
+01a3 204004de call p_keyboard_select_reconn_device 
 01a4 20205c90 branch mouse_load_device_info + 1 
 
 p_keyboard_priority_bb_event:
@@ -514,11 +514,11 @@
 
 p_keyboard_24g_attempt_fail:
 01ab 704e3340 jam zcode_40 ,mem_zcode_temp_param0 
-01ac 202007d3 branch p_zcode_entrance 
+01ac 202007bf branch p_zcode_entrance 
 
 p_keyboard_24g_hibernate_set:
 01ad 704e3341 jam zcode_41 ,mem_zcode_temp_param0 
-01ae 202007d3 branch p_zcode_entrance 
+01ae 202007bf branch p_zcode_entrance 
 
 p_keyboard_24g_pairing_complete:
 01af 704e4d01 jam 1 ,mem_24g_tx_key_matrix_flag 
@@ -531,7 +531,7 @@
 
 p_keyboard_le_bb_disconnected:
 01b4 704e3342 jam zcode_42 ,mem_zcode_temp_param0 
-01b5 202007d3 branch p_zcode_entrance 
+01b5 202007bf branch p_zcode_entrance 
 
 p_keyboard_bb_event_timer:
 01b6 2040553d call mouse_adc_read 
@@ -614,7 +614,7 @@
 01f3 207a0000 rtn blank 
 01f4 7049a900 jam 0 ,mem_24g_repeat_send_flag 
 01f5 7048f401 jam 1 ,mem_keyboard_data_change_flag 
-01f6 20400680 call p_g24_txdata_prep 
+01f6 2040066b call p_g24_txdata_prep 
 01f7 20204fa0 branch keyboard_g24_transmit_process 
 
 p_keyboard_num_capslock_led_on_timer:
@@ -857,7 +857,7 @@
 0296 704d1600 jam 0 ,mem_keyboard_switch_g24_enable 
 
 p_keyboard_24g_start_pair_mode:
-0297 2040048b call p_keyboard_device_led_all_off 
+0297 20400476 call p_keyboard_device_led_all_off 
 
 p_keyboard_24g_start_pair_mode_next:
 0298 204049f8 call keyboard_pairing_check_otp_offset 
@@ -934,10 +934,10 @@
 
 p_keyboard_start_work:
 02cb 704e3320 jam zcode_20 ,mem_zcode_temp_param0 
-02cc 202007d3 branch p_zcode_entrance 
+02cc 202007bf branch p_zcode_entrance 
 
 p_keyboard_keyscan:
-02cd 20400500 call p_keyboard_gpio_init 
+02cd 204004eb call p_keyboard_gpio_init 
 02ce 58000000 setarg 0 
 02cf 67e148e9 store 2 ,mem_keyscan_exmcu_wait_wake_count 
 02d0 d8c0489c arg mem_keyscan_value_current ,contr 
@@ -997,8 +997,8 @@
 02fa 67e0c8e8 store 1 ,mem_keyscan_col_loop_count 
 02fb 1fe67c0b sub pdata ,11 ,null 
 02fc 202102ed branch p_keyboard_compare_col_excol_gpio_loop ,positive 
-02fd 20400494 call p_keyboard_gpio_pu_idle 
-02fe 2020050f branch p_keyboard_key_row_init 
+02fd 2040047f call p_keyboard_gpio_pu_idle 
+02fe 202004fa branch p_keyboard_key_row_init 
 
 p_keyboard_copy_value_exmcu_to_mcu:
 02ff 6fe148e3 fetch 2 ,mem_keyscan_value_ptr 
@@ -1149,7 +1149,7 @@
 
 p_keyboard_keyvalue_commbination_replace:
 0374 704e3360 jam zcode_60 ,mem_zcode_temp_param0 
-0375 202007d3 branch p_zcode_entrance 
+0375 202007bf branch p_zcode_entrance 
 
 p_keyboard_keyvalue_in_out:
 0376 6fe0c8f5 fetch 1 ,mem_keyboard_keyvalue_temp 
@@ -1244,7 +1244,7 @@
 
 p_keyboard_keyvalue_fn_replace_press:
 03b7 704e3350 jam zcode_50 ,mem_zcode_temp_param0 
-03b8 202007d3 branch p_zcode_entrance 
+03b8 202007bf branch p_zcode_entrance 
 
 p_keyboard_special_key_check:
 03b9 204003d4 call p_keyboard_device_select 
@@ -1288,8 +1288,8 @@
 p_keyboard_device_select:
 03d4 20407dbc call disable_user 
 03d5 204003e0 call p_keyboard_device_select_g24 
-03d6 204003fd call p_keyboard_device_select_bt1 
-03d7 20400418 call p_keyboard_device_select_bt2 
+03d6 204003f6 call p_keyboard_device_select_bt1 
+03d7 2040040a call p_keyboard_device_select_bt2 
 03d8 203403de branch p_keyboard_clear_change_flag ,user 
 03d9 6fe0cba1 fetch 1 ,mem_keyboard_switch_device_flag 
 03da 793ffe00 set0 keyboard_flag_g24_device_button ,pdata 
@@ -1304,1386 +1304,1376 @@
 p_keyboard_device_select_g24:
 03e0 6fe0cba7 fetch 1 ,mem_keyboard_switch_device_to_g24 
 03e1 207a0000 rtn blank 
-03e2 6fe0c9ae fetch 1 ,mem_keyboard_fn_first 
-03e3 243a03ec nbranch p_keyboard_device_select_g24_skip_fn ,blank 
-03e4 6fe148fa fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
-03e5 68494ba8 fetcht 2 ,mem_keyboard_switch_device_to_g24 + 1 
-03e6 98467c00 isub temp ,null 
-03e7 202283f1 branch p_keyboard_device_select_g24_press ,zero 
-03e8 d8407f3a arg 0x7f3a ,temp 
-03e9 98467c00 isub temp ,null 
-03ea 202283f1 branch p_keyboard_device_select_g24_press ,zero 
-03eb 20600000 rtn 
-
-p_keyboard_device_select_g24_skip_fn:
-03ec 6848c8fa fetcht 1 ,mem_keyboard_keyvalue_buffer + 2 
-03ed 6fe0cba9 fetch 1 ,mem_keyboard_switch_device_to_g24 + 2 
-03ee 98467c00 isub temp ,null 
-03ef 202283f1 branch p_keyboard_device_select_g24_press ,zero 
-03f0 20600000 rtn 
+03e2 6fe148fa fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
+03e3 68494ba8 fetcht 2 ,mem_keyboard_switch_device_to_g24 + 1 
+03e4 98467c00 isub temp ,null 
+03e5 202283ea branch p_keyboard_device_select_g24_press ,zero 
+03e6 18508400 byteswap temp ,temp 
+03e7 98467c00 isub temp ,null 
+03e8 202283ea branch p_keyboard_device_select_g24_press ,zero 
+03e9 20600000 rtn 
 
 p_keyboard_device_select_g24_press:
-03f1 20407dba call enable_user 
-03f2 6fe0cba1 fetch 1 ,mem_keyboard_switch_device_flag 
-03f3 79207e00 set1 keyboard_flag_g24_device_button ,pdata 
-03f4 793ffe01 set0 keyboard_flag_bt_device_button ,pdata 
-03f5 67e0cba1 store 1 ,mem_keyboard_switch_device_flag 
-03f6 6fe0c666 fetch 1 ,mem_device_flag 
-03f7 c1000000 rtneq mode_24g_device 
-03f8 70466600 jam mode_24g_device ,mem_device_flag 
-03f9 704d1601 jam 1 ,mem_keyboard_switch_g24_enable 
-03fa d8a04855 arg mem_keyboard_tx_data ,contw 
-03fb df20000a arg 10 ,loopcnt 
-03fc 20207ca1 branch clear_mem 
+03ea 20407dba call enable_user 
+03eb 6fe0cba1 fetch 1 ,mem_keyboard_switch_device_flag 
+03ec 79207e00 set1 keyboard_flag_g24_device_button ,pdata 
+03ed 793ffe01 set0 keyboard_flag_bt_device_button ,pdata 
+03ee 67e0cba1 store 1 ,mem_keyboard_switch_device_flag 
+03ef 6fe0c666 fetch 1 ,mem_device_flag 
+03f0 c1000000 rtneq mode_24g_device 
+03f1 70466600 jam mode_24g_device ,mem_device_flag 
+03f2 704d1601 jam 1 ,mem_keyboard_switch_g24_enable 
+03f3 d8a04855 arg mem_keyboard_tx_data ,contw 
+03f4 df20000a arg 10 ,loopcnt 
+03f5 20207ca1 branch clear_mem 
 
 p_keyboard_device_select_bt1:
-03fd 6fe0cbaa fetch 1 ,mem_keyboard_switch_device_to_bt1 
-03fe 207a0000 rtn blank 
-03ff 6fe0c9ae fetch 1 ,mem_keyboard_fn_first 
-0400 243a0409 nbranch p_keyboard_device_select_bt1_skip_fn ,blank 
-0401 6fe148fa fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
-0402 68494bab fetcht 2 ,mem_keyboard_switch_device_to_bt1 + 1 
-0403 98467c00 isub temp ,null 
-0404 2022840e branch p_keyboard_device_select_bt1_press ,zero 
-0405 d8407f3b arg 0x7f3b ,temp 
-0406 98467c00 isub temp ,null 
-0407 2022840e branch p_keyboard_device_select_bt1_press ,zero 
-0408 20600000 rtn 
-
-p_keyboard_device_select_bt1_skip_fn:
-0409 6848c8fa fetcht 1 ,mem_keyboard_keyvalue_buffer + 2 
-040a 6fe0cbac fetch 1 ,mem_keyboard_switch_device_to_bt1 + 2 
-040b 98467c00 isub temp ,null 
-040c 2022840e branch p_keyboard_device_select_bt1_press ,zero 
-040d 20600000 rtn 
+03f6 6fe0cbaa fetch 1 ,mem_keyboard_switch_device_to_bt1 
+03f7 207a0000 rtn blank 
+03f8 6fe148fa fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
+03f9 68494bab fetcht 2 ,mem_keyboard_switch_device_to_bt1 + 1 
+03fa 98467c00 isub temp ,null 
+03fb 20228400 branch p_keyboard_device_select_bt1_press ,zero 
+03fc 18508400 byteswap temp ,temp 
+03fd 98467c00 isub temp ,null 
+03fe 20228400 branch p_keyboard_device_select_bt1_press ,zero 
+03ff 20600000 rtn 
 
 p_keyboard_device_select_bt1_press:
-040e 20407dba call enable_user 
-040f 6fe0cba1 fetch 1 ,mem_keyboard_switch_device_flag 
-0410 793ffe00 set0 keyboard_flag_g24_device_button ,pdata 
-0411 79207e01 set1 keyboard_flag_bt_device_button ,pdata 
-0412 67e0cba1 store 1 ,mem_keyboard_switch_device_flag 
-0413 6fe0c666 fetch 1 ,mem_device_flag 
-0414 c1008000 rtneq mode_bt_device1 
-0415 70466601 jam mode_bt_device1 ,mem_device_flag 
-0416 704ba401 jam 1 ,mem_keyboard_switch_bt_enable 
-0417 20600000 rtn 
+0400 20407dba call enable_user 
+0401 6fe0cba1 fetch 1 ,mem_keyboard_switch_device_flag 
+0402 793ffe00 set0 keyboard_flag_g24_device_button ,pdata 
+0403 79207e01 set1 keyboard_flag_bt_device_button ,pdata 
+0404 67e0cba1 store 1 ,mem_keyboard_switch_device_flag 
+0405 6fe0c666 fetch 1 ,mem_device_flag 
+0406 c1008000 rtneq mode_bt_device1 
+0407 70466601 jam mode_bt_device1 ,mem_device_flag 
+0408 704ba401 jam 1 ,mem_keyboard_switch_bt_enable 
+0409 20600000 rtn 
 
 p_keyboard_device_select_bt2:
-0418 6fe0cbad fetch 1 ,mem_keyboard_switch_device_to_bt2 
-0419 207a0000 rtn blank 
-041a 6fe0c9ae fetch 1 ,mem_keyboard_fn_first 
-041b 243a0424 nbranch p_keyboard_device_select_bt2_skip_fn ,blank 
-041c 6fe148fa fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
-041d 68494bae fetcht 2 ,mem_keyboard_switch_device_to_bt2 + 1 
-041e 98467c00 isub temp ,null 
-041f 20228429 branch p_keyboard_device_select_bt2_press ,zero 
-0420 d8407f3c arg 0x7f3c ,temp 
-0421 98467c00 isub temp ,null 
-0422 20228429 branch p_keyboard_device_select_bt2_press ,zero 
-0423 20600000 rtn 
-
-p_keyboard_device_select_bt2_skip_fn:
-0424 6848c8fa fetcht 1 ,mem_keyboard_keyvalue_buffer + 2 
-0425 6fe0cbaf fetch 1 ,mem_keyboard_switch_device_to_bt2 + 2 
-0426 98467c00 isub temp ,null 
-0427 20228429 branch p_keyboard_device_select_bt2_press ,zero 
-0428 20600000 rtn 
+040a 6fe0cbad fetch 1 ,mem_keyboard_switch_device_to_bt2 
+040b 207a0000 rtn blank 
+040c 6fe148fa fetch 2 ,mem_keyboard_keyvalue_buffer + 2 
+040d 68494bae fetcht 2 ,mem_keyboard_switch_device_to_bt2 + 1 
+040e 98467c00 isub temp ,null 
+040f 20228414 branch p_keyboard_device_select_bt2_press ,zero 
+0410 18508400 byteswap temp ,temp 
+0411 98467c00 isub temp ,null 
+0412 20228414 branch p_keyboard_device_select_bt2_press ,zero 
+0413 20600000 rtn 
 
 p_keyboard_device_select_bt2_press:
-0429 20407dba call enable_user 
-042a 6fe0cba1 fetch 1 ,mem_keyboard_switch_device_flag 
-042b 793ffe00 set0 keyboard_flag_g24_device_button ,pdata 
-042c 79207e01 set1 keyboard_flag_bt_device_button ,pdata 
-042d 67e0cba1 store 1 ,mem_keyboard_switch_device_flag 
-042e 6fe0c666 fetch 1 ,mem_device_flag 
-042f c1010000 rtneq mode_bt_device2 
-0430 70466602 jam mode_bt_device2 ,mem_device_flag 
-0431 704ba401 jam 1 ,mem_keyboard_switch_bt_enable 
-0432 20600000 rtn 
+0414 20407dba call enable_user 
+0415 6fe0cba1 fetch 1 ,mem_keyboard_switch_device_flag 
+0416 793ffe00 set0 keyboard_flag_g24_device_button ,pdata 
+0417 79207e01 set1 keyboard_flag_bt_device_button ,pdata 
+0418 67e0cba1 store 1 ,mem_keyboard_switch_device_flag 
+0419 6fe0c666 fetch 1 ,mem_device_flag 
+041a c1010000 rtneq mode_bt_device2 
+041b 70466602 jam mode_bt_device2 ,mem_device_flag 
+041c 704ba401 jam 1 ,mem_keyboard_switch_bt_enable 
+041d 20600000 rtn 
 
 p_keyboard_motion:
-0433 78547c00 disable user 
-0434 70496c00 jam 0 ,mem_customer_key 
-0435 70496d00 jam 0 ,mem_customer_data_trigger 
-0436 70496e00 jam 0 ,mem_customer_data_trigger_last 
-0437 6fe0c9c1 fetch 1 ,mem_keyboard_commbination_key_step 
-0438 c000cda5 beq cammbination_key_press ,keyboard_commbination_key_press_process 
-0439 c0014daa beq cammbination_key_hold ,keyboard_commbination_key_hold_process 
-043a c001cdaa beq cammbination_key_complete ,keyboard_commbination_key_hold_process 
-043b c0024dae beq cammbination_key_wait_release ,keyboard_commbination_key_wait_release_process 
-043c c0034db7 beq cammbination_key_null ,keyboard_commbination_key_null_process 
-043d 6fe0c8f4 fetch 1 ,mem_keyboard_data_change_flag 
-043e 203a0440 branch p_keyboard_no_key_press ,blank 
-043f 20204e54 branch keyboard_motion + 13 
+041e 78547c00 disable user 
+041f 70496c00 jam 0 ,mem_customer_key 
+0420 70496d00 jam 0 ,mem_customer_data_trigger 
+0421 70496e00 jam 0 ,mem_customer_data_trigger_last 
+0422 6fe0c9c1 fetch 1 ,mem_keyboard_commbination_key_step 
+0423 c000cda5 beq cammbination_key_press ,keyboard_commbination_key_press_process 
+0424 c0014daa beq cammbination_key_hold ,keyboard_commbination_key_hold_process 
+0425 c001cdaa beq cammbination_key_complete ,keyboard_commbination_key_hold_process 
+0426 c0024dae beq cammbination_key_wait_release ,keyboard_commbination_key_wait_release_process 
+0427 c0034db7 beq cammbination_key_null ,keyboard_commbination_key_null_process 
+0428 6fe0c8f4 fetch 1 ,mem_keyboard_data_change_flag 
+0429 203a042b branch p_keyboard_no_key_press ,blank 
+042a 20204e54 branch keyboard_motion + 13 
 
 p_keyboard_no_key_press:
-0440 6fe0c666 fetch 1 ,mem_device_flag 
-0441 c1800000 rtnne mode_24g_device 
-0442 20204e66 branch keyboard_no_key_press + 2 
+042b 6fe0c666 fetch 1 ,mem_device_flag 
+042c c1800000 rtnne mode_24g_device 
+042d 20204e66 branch keyboard_no_key_press + 2 
 
 p_keyboard_device_data_tpye_check:
-0443 6fe0c666 fetch 1 ,mem_device_flag 
-0444 c080044a bne mode_24g_device ,p_keyboard_device_data_tpye_check_next 
-0445 7049a900 jam 0 ,mem_24g_repeat_send_flag 
-0446 6fe14855 fetch 2 ,mem_keyboard_tx_data 
-0447 245a4afc ncall keyboard_set_repeat_send_flag ,blank 
-0448 6fe34858 fetch 6 ,mem_keyboard_tx_data + 3 
-0449 245a4afc ncall keyboard_set_repeat_send_flag ,blank 
+042e 6fe0c666 fetch 1 ,mem_device_flag 
+042f c0800435 bne mode_24g_device ,p_keyboard_device_data_tpye_check_next 
+0430 7049a900 jam 0 ,mem_24g_repeat_send_flag 
+0431 6fe14855 fetch 2 ,mem_keyboard_tx_data 
+0432 245a4afc ncall keyboard_set_repeat_send_flag ,blank 
+0433 6fe34858 fetch 6 ,mem_keyboard_tx_data + 3 
+0434 245a4afc ncall keyboard_set_repeat_send_flag ,blank 
 
 p_keyboard_device_data_tpye_check_next:
-044a 20400250 call p_keyboard_low_voltage_led_timer_init 
-044b 6fe0c855 fetch 1 ,mem_keyboard_tx_data 
-044c c000044e beq hid_reportid_key_standard ,p_keyboard_standard_data_send 
-044d 20204f19 branch keyboard_device_data_tpye_check_next + 1 
+0435 20400250 call p_keyboard_low_voltage_led_timer_init 
+0436 6fe0c855 fetch 1 ,mem_keyboard_tx_data 
+0437 c0000439 beq hid_reportid_key_standard ,p_keyboard_standard_data_send 
+0438 20204f19 branch keyboard_device_data_tpye_check_next + 1 
 
 p_keyboard_standard_data_send:
-044e 70485f02 jam device_data_tpye_standard_keyboard ,mem_keyboard_data_send_flag 
-044f 20404f3e call keyboard_clear_key_data 
-0450 6fe0c666 fetch 1 ,mem_device_flag 
-0451 c0804f2a bne mode_24g_device ,keyboard_standard_data_send_end 
-0452 20204f27 branch keyboard_standard_data_send + 4 
+0439 70485f02 jam device_data_tpye_standard_keyboard ,mem_keyboard_data_send_flag 
+043a 20404f3e call keyboard_clear_key_data 
+043b 6fe0c666 fetch 1 ,mem_device_flag 
+043c c0804f2a bne mode_24g_device ,keyboard_standard_data_send_end 
+043d 20204f27 branch keyboard_standard_data_send + 4 
 
 p_keyboard_cb_fuction:
-0453 704e3330 jam zcode_30 ,mem_zcode_temp_param0 
-0454 202007d3 branch p_zcode_entrance 
+043e 704e3330 jam zcode_30 ,mem_zcode_temp_param0 
+043f 202007bf branch p_zcode_entrance 
 
 p_keyboard_24g_package_data:
-0455 c6930000 rtnmark0 mark_24g 
-0456 20404e47 call keyboard_motion 
-0457 24740000 nrtn user 
-0458 704e4700 jam 0 ,mem_24g_tx_heart_data_flag 
-0459 20204fe8 branch keyboard_24g_package_data + 3 
+0440 c6930000 rtnmark0 mark_24g 
+0441 20404e47 call keyboard_motion 
+0442 24740000 nrtn user 
+0443 704e4700 jam 0 ,mem_24g_tx_heart_data_flag 
+0444 20204fe8 branch keyboard_24g_package_data + 3 
 
 p_keyboard_lpm_before_common:
-045a 20400483 call p_clear_wake 
-045b 6848c655 fetcht 1 ,mem_config_select_device_button_gpio 
-045c 20406eb6 call gpio_set_wake 
-045d 6fe14898 fetch 2 ,mem_kb_col_ptr 
-045e 1fe22400 copy pdata ,regb 
-045f df200014 arg 20 ,loopcnt 
+0445 2040046e call p_clear_wake 
+0446 6848c655 fetcht 1 ,mem_config_select_device_button_gpio 
+0447 20406eb6 call gpio_set_wake 
+0448 6fe14898 fetch 2 ,mem_kb_col_ptr 
+0449 1fe22400 copy pdata ,regb 
+044a df200014 arg 20 ,loopcnt 
 
 p_keyboard_key_col_wake_init:
-0460 e8408012 ifetcht 1 ,regb 
-0461 284ffe07 isolate1 7 ,temp 
-0462 2440eef7 ncall gpio_out_active ,true 
-0463 1a40a401 increase 1 ,regb 
-0464 c2000460 loop p_keyboard_key_col_wake_init 
-0465 704d0c00 jam 0 ,mem_qdec_set_flag 
-0466 6fe14896 fetch 2 ,mem_kb_row_ptr 
-0467 1fe22400 copy pdata ,regb 
-0468 df200008 arg 8 ,loopcnt 
+044b e8408012 ifetcht 1 ,regb 
+044c 284ffe07 isolate1 7 ,temp 
+044d 2440eef7 ncall gpio_out_active ,true 
+044e 1a40a401 increase 1 ,regb 
+044f c200044b loop p_keyboard_key_col_wake_init 
+0450 704d0c00 jam 0 ,mem_qdec_set_flag 
+0451 6fe14896 fetch 2 ,mem_kb_row_ptr 
+0452 1fe22400 copy pdata ,regb 
+0453 df200008 arg 8 ,loopcnt 
 
 p_keyboard_key_row_wake_init:
-0469 e8408012 ifetcht 1 ,regb 
-046a 18467cff sub temp ,ui_button_gpio_disable ,null 
-046b 2442cf5a ncall keyboard_key_row_wake_set ,zero 
-046c 1a40a401 increase 1 ,regb 
-046d c2000469 loop p_keyboard_key_row_wake_init 
-046e 204004a2 call p_keyboard_puchk_set_check 
-046f 6848c65b fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-0470 204055b5 call mouse_gpio_config_input_pu 
-0471 204055b9 call mouse_gpio_set_high_impedance 
-0472 202054f2 branch mouse_adc_gpio_set_before_hibernate 
+0454 e8408012 ifetcht 1 ,regb 
+0455 18467cff sub temp ,ui_button_gpio_disable ,null 
+0456 2442cf5a ncall keyboard_key_row_wake_set ,zero 
+0457 1a40a401 increase 1 ,regb 
+0458 c2000454 loop p_keyboard_key_row_wake_init 
+0459 2040048d call p_keyboard_puchk_set_check 
+045a 6848c65b fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+045b 204055b5 call mouse_gpio_config_input_pu 
+045c 204055b9 call mouse_gpio_set_high_impedance 
+045d 202054f2 branch mouse_adc_gpio_set_before_hibernate 
 
 p_gpio_set_wake:
-0473 18467cff sub temp ,ui_button_gpio_disable ,null 
-0474 20628000 rtn zero 
-0475 d9000004 arg 4 ,debug 
-0476 284ffe07 isolate1 gpio_active_bit ,temp 
-0477 2020eebd branch gpio_set_wake_high ,true 
-0478 d9000003 arg 3 ,debug 
-0479 20206ebd branch gpio_set_wake_high 
+045e 18467cff sub temp ,ui_button_gpio_disable ,null 
+045f 20628000 rtn zero 
+0460 d9000004 arg 4 ,debug 
+0461 284ffe07 isolate1 gpio_active_bit ,temp 
+0462 2020eebd branch gpio_set_wake_high ,true 
+0463 d9000003 arg 3 ,debug 
+0464 20206ebd branch gpio_set_wake_high 
 
 p_gpio_set_wake_by_current_state:
-047a 18467cff sub temp ,gpio_disable ,null 
-047b 20628000 rtn zero 
-047c 20406ee6 call gpio_get_bit 
-047d 20208480 branch p_gpio_set_qdec_mode ,true 
+0465 18467cff sub temp ,gpio_disable ,null 
+0466 20628000 rtn zero 
+0467 20406ee6 call gpio_get_bit 
+0468 2020846b branch p_gpio_set_qdec_mode ,true 
 
 p_gpio_set_low_wake:
-047e d9000003 arg 3 ,debug 
-047f 20206ebd branch gpio_set_wake_high 
+0469 d9000003 arg 3 ,debug 
+046a 20206ebd branch gpio_set_wake_high 
 
 p_gpio_set_qdec_mode:
-0480 704d0c01 jam 1 ,mem_qdec_set_flag 
-0481 d9000006 arg 6 ,debug 
-0482 20206ebd branch gpio_set_wake_high 
+046b 704d0c01 jam 1 ,mem_qdec_set_flag 
+046c d9000006 arg 6 ,debug 
+046d 20206ebd branch gpio_set_wake_high 
 
 p_clear_wake:
-0483 58000000 setarg 0 
-0484 79207e15 set1 21 ,pdata 
-0485 67e40016 store 8 ,mem_gpio_wakeup_cfg 
-0486 58000000 setarg 0 
-0487 e7e20005 istore 4 ,contw 
-0488 20600000 rtn 
+046e 58000000 setarg 0 
+046f 79207e15 set1 21 ,pdata 
+0470 67e40016 store 8 ,mem_gpio_wakeup_cfg 
+0471 58000000 setarg 0 
+0472 e7e20005 istore 4 ,contw 
+0473 20600000 rtn 
 
 p_keyboard_process_lpm_before:
-0489 c6130000 rtnmark1 mark_24g 
-048a 2020045a branch p_keyboard_lpm_before_common 
+0474 c6130000 rtnmark1 mark_24g 
+0475 20200445 branch p_keyboard_lpm_before_common 
 
 p_keyboard_device_led_all_off:
-048b 20400214 call p_keyboard_device_led_off 
-048c 2020021a branch p_keyboard_capslock_led_off 
+0476 20400214 call p_keyboard_device_led_off 
+0477 2020021a branch p_keyboard_capslock_led_off 
 
 p_keyboard_app_enter_hibernate:
-048d 20400491 call p_keyboard_setgpio_hibernate 
-048e 20204327 branch app_enter_hibernate 
+0478 2040047c call p_keyboard_setgpio_hibernate 
+0479 20204327 branch app_enter_hibernate 
 
 p_keyboard_before_hibernate:
-048f 704659ff jam 0xff ,mem_sensor_motion_gpio 
-0490 2040739a call disable_authrom 
+047a 704659ff jam 0xff ,mem_sensor_motion_gpio 
+047b 2040739a call disable_authrom 
 
 p_keyboard_setgpio_hibernate:
-0491 20400483 call p_clear_wake 
-0492 20404f70 call keyboard_device_led_all_off 
-0493 2020045a branch p_keyboard_lpm_before_common 
+047c 2040046e call p_clear_wake 
+047d 20404f70 call keyboard_device_led_all_off 
+047e 20200445 branch p_keyboard_lpm_before_common 
 
 p_keyboard_gpio_pu_idle:
-0494 d8c08070 arg core_gpio_conf ,contr 
-0495 df200010 arg gpio_number ,loopcnt 
+047f d8c08070 arg core_gpio_conf ,contr 
+0480 df200010 arg gpio_number ,loopcnt 
 
 p_keyboard_gpio_pu_idle_loop:
-0496 efe08006 ifetch 1 ,contr 
-0497 243a049b nbranch p_keyboard_gpio_pu_idle_configured ,blank 
-0498 58000040 setarg gpcfg_pullup 
-0499 18c08bff add contr ,-1 ,contw 
-049a e7e08005 istore 1 ,contw 
+0481 efe08006 ifetch 1 ,contr 
+0482 243a0486 nbranch p_keyboard_gpio_pu_idle_configured ,blank 
+0483 58000040 setarg gpcfg_pullup 
+0484 18c08bff add contr ,-1 ,contw 
+0485 e7e08005 istore 1 ,contw 
 
 p_keyboard_gpio_pu_idle_configured:
-049b c2000496 loop p_keyboard_gpio_pu_idle_loop 
-049c dfe080dc arg core_gpio_conf_hi + gpio_number_ext ,pdata 
-049d 98c67c00 isub contr ,null 
-049e 20628000 rtn zero 
-049f df200008 arg gpio_number_ext ,loopcnt 
-04a0 d8c080d4 arg core_gpio_conf_hi ,contr 
-04a1 20200496 branch p_keyboard_gpio_pu_idle_loop 
+0486 c2000481 loop p_keyboard_gpio_pu_idle_loop 
+0487 dfe080dc arg core_gpio_conf_hi + gpio_number_ext ,pdata 
+0488 98c67c00 isub contr ,null 
+0489 20628000 rtn zero 
+048a df200008 arg gpio_number_ext ,loopcnt 
+048b d8c080d4 arg core_gpio_conf_hi ,contr 
+048c 20200481 branch p_keyboard_gpio_pu_idle_loop 
 
 p_keyboard_puchk_set_check:
-04a2 6fe0cd0c fetch 1 ,mem_qdec_set_flag 
-04a3 203a04a5 branch p_keyboard_puchk_disable ,blank 
-04a4 202004a9 branch p_keyboard_puchk_enable 
+048d 6fe0cd0c fetch 1 ,mem_qdec_set_flag 
+048e 203a0490 branch p_keyboard_puchk_disable ,blank 
+048f 20200494 branch p_keyboard_puchk_enable 
 
 p_keyboard_puchk_disable:
-04a5 58000010 setarg 0x10 
+0490 58000010 setarg 0x10 
 
 p_keyboard_puchk_set:
-04a6 67f08141 store 1 ,core_puwakeup 
-04a7 37d98200 until null ,lpo_edge 
-04a8 20600000 rtn 
+0491 67f08141 store 1 ,core_puwakeup 
+0492 37d98200 until null ,lpo_edge 
+0493 20600000 rtn 
 
 p_keyboard_puchk_enable:
-04a9 58000080 setarg 0x80 
-04aa 202004a6 branch p_keyboard_puchk_set 
+0494 58000080 setarg 0x80 
+0495 20200491 branch p_keyboard_puchk_set 
 
 p_lpm_dispatch:
-04ab 20402408 call lpo_calibration 
-04ac 6fe1c0bd fetch 3 ,mem_clks_per_lpo 
-04ad 207a0000 rtn blank 
-04ae 6fe0cd10 fetch 1 ,mem_keyscan_delay_lpm_flag 
-04af 247a0000 nrtn blank 
-04b0 6fe0c9a1 fetch 1 ,mem_keyboard_fn_flag 
-04b1 247a0000 nrtn blank 
-04b2 6fe0c794 fetch 1 ,mem_mouse_le_bb_connected_flag 
-04b3 207a0000 rtn blank 
-04b4 6fe0c9a2 fetch 1 ,mem_keyboard_control_key_flag 
-04b5 247a0000 nrtn blank 
-04b6 6fe0c845 fetch 1 ,mem_mouse_direct_timer 
-04b7 247a0000 nrtn blank 
-04b8 6fe14790 fetch 2 ,mem_mouse_discovery_timer 
-04b9 247a0000 nrtn blank 
-04ba 6fe0c9c4 fetch 1 ,mem_keyboard_commbination_control_key_delay_release_timer 
-04bb 247a0000 nrtn blank 
-04bc 20202490 branch lpm_dispatch + 4 
+0496 20402408 call lpo_calibration 
+0497 6fe1c0bd fetch 3 ,mem_clks_per_lpo 
+0498 207a0000 rtn blank 
+0499 6fe0cd10 fetch 1 ,mem_keyscan_delay_lpm_flag 
+049a 247a0000 nrtn blank 
+049b 6fe0c9a1 fetch 1 ,mem_keyboard_fn_flag 
+049c 247a0000 nrtn blank 
+049d 6fe0c794 fetch 1 ,mem_mouse_le_bb_connected_flag 
+049e 207a0000 rtn blank 
+049f 6fe0c9a2 fetch 1 ,mem_keyboard_control_key_flag 
+04a0 247a0000 nrtn blank 
+04a1 6fe0c845 fetch 1 ,mem_mouse_direct_timer 
+04a2 247a0000 nrtn blank 
+04a3 6fe14790 fetch 2 ,mem_mouse_discovery_timer 
+04a4 247a0000 nrtn blank 
+04a5 6fe0c9c4 fetch 1 ,mem_keyboard_commbination_control_key_delay_release_timer 
+04a6 247a0000 nrtn blank 
+04a7 20202490 branch lpm_dispatch + 4 
 
 p_lpm_sleep:
 
 p_lpm_sleep_skip_cb_function:
-04bd 6fe240ad fetch 4 ,mem_sleep_counter_all 
-04be 9840fe00 iadd temp ,pdata 
-04bf 67e240ad store 4 ,mem_sleep_counter_all 
-04c0 204004c9 call p_lpm_save_context 
-04c1 6fe0c0cb fetch 1 ,mem_lpm_hv_sel 
-04c2 79207e04 set1 lpm_doze_en_bit ,pdata 
-04c3 204023e1 call lpm_write_sel_hv 
-04c4 2455a3cb ncall lpm_preon_counter ,wake 
-04c5 37d98200 until null ,lpo_edge 
-04c6 1b227e00 copy clkn ,pdata 
-04c7 67e340b1 store 6 ,mem_sleep_clkn 
-04c8 2020242b branch lpm_sleep_skip_cb_function + 10 
+04a8 6fe240ad fetch 4 ,mem_sleep_counter_all 
+04a9 9840fe00 iadd temp ,pdata 
+04aa 67e240ad store 4 ,mem_sleep_counter_all 
+04ab 204004b4 call p_lpm_save_context 
+04ac 6fe0c0cb fetch 1 ,mem_lpm_hv_sel 
+04ad 79207e04 set1 lpm_doze_en_bit ,pdata 
+04ae 204023e1 call lpm_write_sel_hv 
+04af 2455a3cb ncall lpm_preon_counter ,wake 
+04b0 37d98200 until null ,lpo_edge 
+04b1 1b227e00 copy clkn ,pdata 
+04b2 67e340b1 store 6 ,mem_sleep_clkn 
+04b3 2020242b branch lpm_sleep_skip_cb_function + 10 
 
 p_lpm_save_context:
-04c9 600440e7 storer mark ,8 ,mem_saved_mark 
-04ca d8c08070 arg core_gpio_conf ,contr 
-04cb d8a040cc arg mem_saved_gpio ,contw 
-04cc 20407c8f call memcpy16 
-04cd d8c080d4 arg core_gpio_conf_hi ,contr 
-04ce 20407c89 call memcpy8 
-04cf 6ff08080 fetch 1 ,core_spid_ctrl 
-04d0 67e0c0ef store 1 ,mem_saved_spidctrl 
-04d1 18422400 copy temp ,regb 
+04b4 600440e7 storer mark ,8 ,mem_saved_mark 
+04b5 d8c08070 arg core_gpio_conf ,contr 
+04b6 d8a040cc arg mem_saved_gpio ,contw 
+04b7 20407c8f call memcpy16 
+04b8 d8c080d4 arg core_gpio_conf_hi ,contr 
+04b9 20407c89 call memcpy8 
+04ba 6ff08080 fetch 1 ,core_spid_ctrl 
+04bb 67e0c0ef store 1 ,mem_saved_spidctrl 
+04bc 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-04d2 df20000c arg 12 ,loopcnt 
-04d3 da200016 arg mem_gpio_wakeup_cfg ,rega 
-04d4 da60814d arg core_gpio_wakeup_cfg ,regc 
-04d5 37d98200 until null ,lpo_edge 
+04bd df20000c arg 12 ,loopcnt 
+04be da200016 arg mem_gpio_wakeup_cfg ,rega 
+04bf da60814d arg core_gpio_wakeup_cfg ,regc 
+04c0 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-04d6 efe08011 ifetch 1 ,rega 
-04d7 e8408013 ifetcht 1 ,regc 
-04d8 98467c00 isub temp ,null 
-04d9 202284dc branch p_lpm_write_gpio_loop_next ,zero 
-04da e7e08013 istore 1 ,regc 
-04db 37d98200 until null ,lpo_edge 
+04c1 efe08011 ifetch 1 ,rega 
+04c2 e8408013 ifetcht 1 ,regc 
+04c3 98467c00 isub temp ,null 
+04c4 202284c7 branch p_lpm_write_gpio_loop_next ,zero 
+04c5 e7e08013 istore 1 ,regc 
+04c6 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-04dc 1a20a201 increase 1 ,rega 
-04dd 1a60a601 increase 1 ,regc 
-04de c20004d6 loop p_lpm_write_gpio_loop 
-04df 1a420400 copy regb ,temp 
-04e0 20600000 rtn 
+04c7 1a20a201 increase 1 ,rega 
+04c8 1a60a601 increase 1 ,regc 
+04c9 c20004c1 loop p_lpm_write_gpio_loop 
+04ca 1a420400 copy regb ,temp 
+04cb 20600000 rtn 
 
 p_app_init:
 
 p_keyboard_init:
-04e1 20407396 call enable_authrom 
-04e2 20400652 call p_le_exchange_hid_map 
-04e3 204070d7 call wdt_set_disable 
-04e4 204004ee call p_keyboard_setting_config 
-04e5 20400500 call p_keyboard_gpio_init 
-04e6 20400518 call p_keyboard_low_vol_mult_set 
-04e7 20758000 rtn wake 
-04e8 2040048b call p_keyboard_device_led_all_off 
-04e9 6fe0ca07 fetch 1 ,mem_keyboard_device_poweron_timer_count_init 
-04ea 67e0ca08 store 1 ,mem_keyboard_device_poweron_timer_count 
-04eb 20404a7a call keyboard_cb_fuction 
-04ec 20400777 call p_key_matrix_length_calcu 
-04ed 20204962 branch keyboard_init_wireless 
+04cc 20407396 call enable_authrom 
+04cd 2040063d call p_le_exchange_hid_map 
+04ce 204070d7 call wdt_set_disable 
+04cf 204004d9 call p_keyboard_setting_config 
+04d0 204004eb call p_keyboard_gpio_init 
+04d1 20400503 call p_keyboard_low_vol_mult_set 
+04d2 20758000 rtn wake 
+04d3 20400476 call p_keyboard_device_led_all_off 
+04d4 6fe0ca07 fetch 1 ,mem_keyboard_device_poweron_timer_count_init 
+04d5 67e0ca08 store 1 ,mem_keyboard_device_poweron_timer_count 
+04d6 20404a7a call keyboard_cb_fuction 
+04d7 20400763 call p_key_matrix_length_calcu 
+04d8 20204962 branch keyboard_init_wireless 
 
 p_keyboard_setting_config:
-04ee 204042a3 call app_param_init 
-04ef 204004a5 call p_keyboard_puchk_disable 
-04f0 20758000 rtn wake 
-04f1 704e3310 jam zcode_10 ,mem_zcode_temp_param0 
-04f2 202007d3 branch p_zcode_entrance 
+04d9 204042a3 call app_param_init 
+04da 20400490 call p_keyboard_puchk_disable 
+04db 20758000 rtn wake 
+04dc 704e3310 jam zcode_10 ,mem_zcode_temp_param0 
+04dd 202007bf branch p_zcode_entrance 
 
 p_keyboard_select_reconn_device:
-04f3 da204667 arg mem_device1_type ,rega 
-04f4 6fe0c666 fetch 1 ,mem_device_flag 
-04f5 c1000000 rtneq mode_24g_device 
-04f6 1fe0ffff increase -1 ,pdata 
-04f7 1feffe0d mul32 pdata ,13 ,pdata 
-04f8 9a20a200 iadd rega ,rega 
-04f9 efe08011 ifetch 1 ,rega 
-04fa 67e0c3f3 store 1 ,mem_xrecord_mode 
-04fb c01a04fd beq rec_4_mode ,p_keyboard_load_le_device 
-04fc 20600000 rtn 
+04de da204667 arg mem_device1_type ,rega 
+04df 6fe0c666 fetch 1 ,mem_device_flag 
+04e0 c1000000 rtneq mode_24g_device 
+04e1 1fe0ffff increase -1 ,pdata 
+04e2 1feffe0d mul32 pdata ,13 ,pdata 
+04e3 9a20a200 iadd rega ,rega 
+04e4 efe08011 ifetch 1 ,rega 
+04e5 67e0c3f3 store 1 ,mem_xrecord_mode 
+04e6 c01a04e8 beq rec_4_mode ,p_keyboard_load_le_device 
+04e7 20600000 rtn 
 
 p_keyboard_load_le_device:
-04fd efe30006 ifetch 6 ,contr 
-04fe 67e34116 store 6 ,mem_hci_plap 
-04ff 20205c7d branch mouse_load_le_device_end + 3 
+04e8 efe30006 ifetch 6 ,contr 
+04e9 67e34116 store 6 ,mem_hci_plap 
+04ea 20205c7d branch mouse_load_le_device_end + 3 
 
 p_keyboard_gpio_init:
-0500 20400483 call p_clear_wake 
-0501 6848c655 fetcht 1 ,mem_config_select_device_button_gpio 
-0502 6048c659 storet 1 ,mem_sensor_motion_gpio 
-0503 20404c7d call keyboard_gpio_config_input_pu 
-0504 5800486e setarg mem_key_row_gpio 
-0505 67e14896 store 2 ,mem_kb_row_ptr 
-0506 58004876 setarg mem_key_col_gpio 
-0507 67e14898 store 2 ,mem_kb_col_ptr 
-0508 5800488a setarg mem_key_excol_gpio 
-0509 67e1489a store 2 ,mem_kb_excol_ptr 
-050a 2040050f call p_keyboard_key_row_init 
-050b 6fe14898 fetch 2 ,mem_kb_col_ptr 
-050c 1fe22400 copy pdata ,regb 
-050d df200014 arg 20 ,loopcnt 
-050e 202049e1 branch keyboard_key_cow_init 
+04eb 2040046e call p_clear_wake 
+04ec 6848c655 fetcht 1 ,mem_config_select_device_button_gpio 
+04ed 6048c659 storet 1 ,mem_sensor_motion_gpio 
+04ee 20404c7d call keyboard_gpio_config_input_pu 
+04ef 5800486e setarg mem_key_row_gpio 
+04f0 67e14896 store 2 ,mem_kb_row_ptr 
+04f1 58004876 setarg mem_key_col_gpio 
+04f2 67e14898 store 2 ,mem_kb_col_ptr 
+04f3 5800488a setarg mem_key_excol_gpio 
+04f4 67e1489a store 2 ,mem_kb_excol_ptr 
+04f5 204004fa call p_keyboard_key_row_init 
+04f6 6fe14898 fetch 2 ,mem_kb_col_ptr 
+04f7 1fe22400 copy pdata ,regb 
+04f8 df200014 arg 20 ,loopcnt 
+04f9 202049e1 branch keyboard_key_cow_init 
 
 p_keyboard_key_row_init:
-050f 6fe14896 fetch 2 ,mem_kb_row_ptr 
-0510 1fe22400 copy pdata ,regb 
-0511 df200008 arg 8 ,loopcnt 
+04fa 6fe14896 fetch 2 ,mem_kb_row_ptr 
+04fb 1fe22400 copy pdata ,regb 
+04fc df200008 arg 8 ,loopcnt 
 
 p_keyboard_key_row_init_loop:
-0512 e8408012 ifetcht 1 ,regb 
-0513 18467cff sub temp ,ui_button_gpio_disable ,null 
-0514 2442c9e7 ncall keboard_gpio_set_high_impedance ,zero 
-0515 1a40a401 increase 1 ,regb 
-0516 c2000512 loop p_keyboard_key_row_init_loop 
-0517 202004d2 branch p_lpm_write_gpio_wakeup 
+04fd e8408012 ifetcht 1 ,regb 
+04fe 18467cff sub temp ,ui_button_gpio_disable ,null 
+04ff 2442c9e7 ncall keboard_gpio_set_high_impedance ,zero 
+0500 1a40a401 increase 1 ,regb 
+0501 c20004fd loop p_keyboard_key_row_init_loop 
+0502 202004bd branch p_lpm_write_gpio_wakeup 
 
 p_keyboard_low_vol_mult_set:
-0518 6fe0c666 fetch 1 ,mem_device_flag 
-0519 c08049f2 bne mode_24g_device ,keyboard_low_vol_mult_ble_set + 1 
-051a 204035fb call g24_interval_param_8ms 
-051b 202049ec branch keyboard_low_vol_mult_set + 2 
+0503 6fe0c666 fetch 1 ,mem_device_flag 
+0504 c08049f2 bne mode_24g_device ,keyboard_low_vol_mult_ble_set + 1 
+0505 204035fb call g24_interval_param_8ms 
+0506 202049ec branch keyboard_low_vol_mult_set + 2 
 
 p_ui_ipc_send_event:
-051c 6fe0866f fetch 1 ,mem_fifo_temp 
-051d df200008 arg 8 ,loopcnt 
-051e d8c044d3 arg mem_ipc_fifo_bt2c51 ,contr 
+0507 6fe0866f fetch 1 ,mem_fifo_temp 
+0508 df200008 arg 8 ,loopcnt 
+0509 d8c044d3 arg mem_ipc_fifo_bt2c51 ,contr 
 
 p_ui_ipc_fifo_check:
-051f e8408006 ifetcht 1 ,contr 
-0520 98467c00 isub temp ,null 
-0521 20628000 rtn zero 
-0522 c200051f loop p_ui_ipc_fifo_check 
-0523 2020782c branch ui_ipc_send_event + 1 
+050a e8408006 ifetcht 1 ,contr 
+050b 98467c00 isub temp ,null 
+050c 20628000 rtn zero 
+050d c200050a loop p_ui_ipc_fifo_check 
+050e 2020782c branch ui_ipc_send_event + 1 
 
 p_check_51cmd_once_continue:
-0524 6fe0866f fetch 1 ,mem_fifo_temp 
-0525 c00f8527 beq bt_cmd_store_reconn_info_le ,p_eeprom_store_le_reconn_info 
-0526 20207864 branch check_51cmd_once_continue + 4 
+050f 6fe0866f fetch 1 ,mem_fifo_temp 
+0510 c00f8512 beq bt_cmd_store_reconn_info_le ,p_eeprom_store_le_reconn_info 
+0511 20207864 branch check_51cmd_once_continue + 4 
 
 p_eeprom_store_le_reconn_info:
-0527 70003234 jam rec_4_mode ,mem_record_bt_mode 
+0512 70003234 jam rec_4_mode ,mem_record_bt_mode 
 
 p_eeprom_store_reconn_info:
-0528 6fe0c3cb fetch 1 ,mem_device_option 
-0529 c007cbc5 beq dvc_op_keyboard ,keyboard_store_remote_bdaddr 
-052a 20206ea6 branch eeprom_store_reconn_info + 1 
+0513 6fe0c3cb fetch 1 ,mem_device_option 
+0514 c007cbc5 beq dvc_op_keyboard ,keyboard_store_remote_bdaddr 
+0515 20206ea6 branch eeprom_store_reconn_info + 1 
 
 p_keyboard_start_discovery:
-052b 2040048c call p_keyboard_device_led_all_off + 1 
-052c 58000000 setarg 0 
-052d 67e14be6 store 2 ,mem_otp_store_device_info_flag 
-052e 20204b9a branch keyboard_start_discovery + 5 
+0516 20400477 call p_keyboard_device_led_all_off + 1 
+0517 58000000 setarg 0 
+0518 67e14be6 store 2 ,mem_otp_store_device_info_flag 
+0519 20204b9a branch keyboard_start_discovery + 5 
 
 p_keyboard_stop_discovery:
-052f 704e3343 jam zcode_43 ,mem_zcode_temp_param0 
-0530 202007d3 branch p_zcode_entrance 
+051a 704e3343 jam zcode_43 ,mem_zcode_temp_param0 
+051b 202007bf branch p_zcode_entrance 
 
 p_keyboard_le:
-0531 20402a28 call le_fifo_check_nearly_full 
-0532 247a0000 nrtn blank 
-0533 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0534 c07f8538 beq 0xff ,p_keyboard_le_next 
-0535 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-0536 1fe17e03 and pdata ,0x03 ,pdata 
-0537 c1818000 rtnne 0x03 
+051c 20402a28 call le_fifo_check_nearly_full 
+051d 247a0000 nrtn blank 
+051e 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+051f c07f8523 beq 0xff ,p_keyboard_le_next 
+0520 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+0521 1fe17e03 and pdata ,0x03 ,pdata 
+0522 c1818000 rtnne 0x03 
 
 p_keyboard_le_next:
-0538 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0539 c2808542 bbit1 mouse_24g_pairing_flag ,p_keyboard_le_send_empty_packet 
-053a c2800542 bbit1 mouse_select_device_flag ,p_keyboard_le_send_empty_packet 
-053b c2828542 bbit1 mouse_bt_discovery_button_down_flag ,p_keyboard_le_send_empty_packet 
-053c c2830542 bbit1 mouse_bt_discovery_button_long_down_flag ,p_keyboard_le_send_empty_packet 
-053d 20404e47 call keyboard_motion 
-053e 24740000 nrtn user 
-053f 6fe0c96c fetch 1 ,mem_customer_key 
-0540 c000db3d beq 1 ,mouse_le_send_keyboard_package_data 
-0541 20205b3c branch mouse_le_send_mouse_data 
+0523 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0524 c280852d bbit1 mouse_24g_pairing_flag ,p_keyboard_le_send_empty_packet 
+0525 c280052d bbit1 mouse_select_device_flag ,p_keyboard_le_send_empty_packet 
+0526 c282852d bbit1 mouse_bt_discovery_button_down_flag ,p_keyboard_le_send_empty_packet 
+0527 c283052d bbit1 mouse_bt_discovery_button_long_down_flag ,p_keyboard_le_send_empty_packet 
+0528 20404e47 call keyboard_motion 
+0529 24740000 nrtn user 
+052a 6fe0c96c fetch 1 ,mem_customer_key 
+052b c000db3d beq 1 ,mouse_le_send_keyboard_package_data 
+052c 20205b3c branch mouse_le_send_mouse_data 
 
 p_keyboard_le_send_empty_packet:
-0542 70496d00 jam 0 ,mem_customer_data_trigger 
-0543 20205b3d branch mouse_le_send_keyboard_package_data 
+052d 70496d00 jam 0 ,mem_customer_data_trigger 
+052e 20205b3d branch mouse_le_send_keyboard_package_data 
 
 p_le_check_retransmit_timesout:
-0544 6fe0cbf5 fetch 1 ,mem_le_conn_rcv_new 
-0545 da600100 arg 256 ,regc 
-0546 9a60fe00 iadd regc ,pdata 
-0547 20600000 rtn 
+052f 6fe0cbf5 fetch 1 ,mem_le_conn_rcv_new 
+0530 da600100 arg 256 ,regc 
+0531 9a60fe00 iadd regc ,pdata 
+0532 20600000 rtn 
 
 p_le_got_first_packet:
-0548 20200568 branch p_le_got_first_packet_new 
+0533 20200553 branch p_le_got_first_packet_new 
 
 p_le_slave_match:
-0549 2040054b call p_le_check_retransmit 
-054a 20202563 branch le_slave_match + 1 
+0534 20400536 call p_le_check_retransmit 
+0535 20202563 branch le_slave_match + 1 
 
 p_le_check_retransmit:
-054b 6fe0cbf6 fetch 1 ,mem_le_conn_first_rcv 
-054c 207a0000 rtn blank 
-054d 6fe0cbf7 fetch 1 ,mem_le_check_retransmit_flag 
-054e 247a0000 nrtn blank 
-054f 6848cbf6 fetcht 1 ,mem_le_conn_first_rcv 
-0550 6fe0cbf5 fetch 1 ,mem_le_conn_rcv_new 
-0551 98467c00 isub temp ,null 
-0552 24410544 ncall p_le_check_retransmit_timesout ,positive 
-0553 98467e00 isub temp ,pdata 
-0554 1fe67c64 sub pdata ,100 ,null 
-0555 2021055d branch p_le_check_retransmit_count ,positive 
-0556 6fe0cbf8 fetch 1 ,mem_le_retransmit_cnt 
-0557 1fe67c14 sub pdata ,20 ,null 
-0558 2441055b ncall p_app_ble_disconnect ,positive 
-0559 704bf701 jam 1 ,mem_le_check_retransmit_flag 
-055a 20600000 rtn 
+0536 6fe0cbf6 fetch 1 ,mem_le_conn_first_rcv 
+0537 207a0000 rtn blank 
+0538 6fe0cbf7 fetch 1 ,mem_le_check_retransmit_flag 
+0539 247a0000 nrtn blank 
+053a 6848cbf6 fetcht 1 ,mem_le_conn_first_rcv 
+053b 6fe0cbf5 fetch 1 ,mem_le_conn_rcv_new 
+053c 98467c00 isub temp ,null 
+053d 2441052f ncall p_le_check_retransmit_timesout ,positive 
+053e 98467e00 isub temp ,pdata 
+053f 1fe67c64 sub pdata ,100 ,null 
+0540 20210548 branch p_le_check_retransmit_count ,positive 
+0541 6fe0cbf8 fetch 1 ,mem_le_retransmit_cnt 
+0542 1fe67c14 sub pdata ,20 ,null 
+0543 24410546 ncall p_app_ble_disconnect ,positive 
+0544 704bf701 jam 1 ,mem_le_check_retransmit_flag 
+0545 20600000 rtn 
 
 p_app_ble_disconnect:
-055b 704bf901 jam 1 ,mem_le_check_retransmit_discon_flag 
-055c 2020431f branch app_ble_disconnect 
+0546 704bf901 jam 1 ,mem_le_check_retransmit_discon_flag 
+0547 2020431f branch app_ble_disconnect 
 
 p_le_check_retransmit_count:
-055d 6848817f fetcht 1 ,mem_le_arq 
-055e 6fe0804c fetch 1 ,mem_le_rxbuf_data_header 
-055f 1fe37e00 rshift pdata ,pdata 
-0560 9842fe00 ixor temp ,pdata 
-0561 2feffe02 isolate1 nesn ,pdata 
-0562 58000000 setarg 0 
-0563 6848cbf8 fetcht 1 ,mem_le_retransmit_cnt 
-0564 7920fe00 setflag true ,0 ,pdata 
-0565 98408400 iadd temp ,temp 
-0566 6048cbf8 storet 1 ,mem_le_retransmit_cnt 
-0567 20600000 rtn 
+0548 6848817f fetcht 1 ,mem_le_arq 
+0549 6fe0804c fetch 1 ,mem_le_rxbuf_data_header 
+054a 1fe37e00 rshift pdata ,pdata 
+054b 9842fe00 ixor temp ,pdata 
+054c 2feffe02 isolate1 nesn ,pdata 
+054d 58000000 setarg 0 
+054e 6848cbf8 fetcht 1 ,mem_le_retransmit_cnt 
+054f 7920fe00 setflag true ,0 ,pdata 
+0550 98408400 iadd temp ,temp 
+0551 6048cbf8 storet 1 ,mem_le_retransmit_cnt 
+0552 20600000 rtn 
 
 p_le_got_first_packet_new:
-0568 6fe08005 fetch 1 ,mem_le_conn_rcv 
-0569 1fe0fe01 increase 1 ,pdata 
-056a 67e08005 store 1 ,mem_le_conn_rcv 
-056b 2436856f nbranch p_le_got_first_packet_new + 7 ,match 
-056c 6fe0cbf5 fetch 1 ,mem_le_conn_rcv_new 
-056d 1fe0fe01 increase 1 ,pdata 
-056e 67e0cbf5 store 1 ,mem_le_conn_rcv_new 
-056f 6fe08168 fetch 1 ,mem_le_state 
-0570 c3818000 rtnbit1 lestate_got_first_packet 
-0571 79207e03 set1 lestate_got_first_packet ,pdata 
-0572 67e08168 store 1 ,mem_le_state 
-0573 6fe142f5 fetch 2 ,mem_le_init_superto 
-0574 67e10196 store 2 ,mem_le_superto 
-0575 58000000 setarg 0 
-0576 67e2431d store 4 ,mem_le_transmit_window 
-0577 20600000 rtn 
+0553 6fe08005 fetch 1 ,mem_le_conn_rcv 
+0554 1fe0fe01 increase 1 ,pdata 
+0555 67e08005 store 1 ,mem_le_conn_rcv 
+0556 2436855a nbranch p_le_got_first_packet_new + 7 ,match 
+0557 6fe0cbf5 fetch 1 ,mem_le_conn_rcv_new 
+0558 1fe0fe01 increase 1 ,pdata 
+0559 67e0cbf5 store 1 ,mem_le_conn_rcv_new 
+055a 6fe08168 fetch 1 ,mem_le_state 
+055b c3818000 rtnbit1 lestate_got_first_packet 
+055c 79207e03 set1 lestate_got_first_packet ,pdata 
+055d 67e08168 store 1 ,mem_le_state 
+055e 6fe142f5 fetch 2 ,mem_le_init_superto 
+055f 67e10196 store 2 ,mem_le_superto 
+0560 58000000 setarg 0 
+0561 67e2431d store 4 ,mem_le_transmit_window 
+0562 20600000 rtn 
 
 p_le_rx_dec:
-0578 2040281c call le_check_retransmit 
-0579 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
-057a 1a20a3fc increase -4 ,rega 
-057b 242126fa nbranch le_crc_fail_consecutive ,positive 
-057c 2020268e branch le_rx_dec + 6 
+0563 2040281c call le_check_retransmit 
+0564 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
+0565 1a20a3fc increase -4 ,rega 
+0566 242126fa nbranch le_crc_fail_consecutive ,positive 
+0567 2020268e branch le_rx_dec + 6 
 
 p_le_rx_nopayload:
-057d 09800018 parse demod ,bucket ,24 
-057e 1fef7e00 rshift32 pdata ,pdata 
-057f 1ff17e00 rshift16 pdata ,pdata 
-0580 e7e18005 istore 3 ,contw 
-0581 78287c00 enable swfine 
-0582 2040270d call le_set_until_tx_timer 
-0583 202326f6 branch le_crc_fail ,crc_failed 
-0584 c59926af bmark0 mark_ble_encryption ,le_rx_match 
-0585 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
-0586 203a26af branch le_rx_match ,blank 
-0587 1fe0fffc increase -4 ,pdata 
-0588 67e0804d store 1 ,mem_le_rxbuf_data_length 
-0589 204072cb call wait_ccm_done 
-058a 6ff08108 fetch 1 ,core_misc_status 
-058b c303a6fa bbit0 7 ,le_crc_fail_consecutive 
-058c 1800700c force regidx_result ,regext_index 
-058d 65e20154 storer regext ,4 ,mem_le_peer_mic 
-058e 202026af branch le_rx_match 
+0568 09800018 parse demod ,bucket ,24 
+0569 1fef7e00 rshift32 pdata ,pdata 
+056a 1ff17e00 rshift16 pdata ,pdata 
+056b e7e18005 istore 3 ,contw 
+056c 78287c00 enable swfine 
+056d 2040270d call le_set_until_tx_timer 
+056e 202326f6 branch le_crc_fail ,crc_failed 
+056f c59926af bmark0 mark_ble_encryption ,le_rx_match 
+0570 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
+0571 203a26af branch le_rx_match ,blank 
+0572 1fe0fffc increase -4 ,pdata 
+0573 67e0804d store 1 ,mem_le_rxbuf_data_length 
+0574 204072cb call wait_ccm_done 
+0575 6ff08108 fetch 1 ,core_misc_status 
+0576 c303a6fa bbit0 7 ,le_crc_fail_consecutive 
+0577 1800700c force regidx_result ,regext_index 
+0578 65e20154 storer regext ,4 ,mem_le_peer_mic 
+0579 202026af branch le_rx_match 
 
 p_le_adv_not_match:
-058f 20402152 call shutdown_radio 
-0590 70890000 jam 0 ,0x8900 
-0591 793f8030 set0 mark_ble_crc_fail ,mark 
-0592 20202ae3 branch le_adv_not_match + 1 
+057a 20402152 call shutdown_radio 
+057b 70890000 jam 0 ,0x8900 
+057c 793f8030 set0 mark_ble_crc_fail ,mark 
+057d 20202ae3 branch le_adv_not_match + 1 
 
 p_le_init_adv:
-0593 793f8030 set0 mark_ble_crc_fail ,mark 
-0594 20202af6 branch le_init_adv + 1 
+057e 793f8030 set0 mark_ble_crc_fail ,mark 
+057f 20202af6 branch le_init_adv + 1 
 
 p_keyboard_start_reconnect_device:
-0595 da204667 arg mem_device1_type ,rega 
-0596 6fe0c666 fetch 1 ,mem_device_flag 
-0597 1fe0ffff increase -1 ,pdata 
-0598 1feffe0d mul32 pdata ,13 ,pdata 
-0599 202054a6 branch mouse_start_reconnect_device + 6 
+0580 da204667 arg mem_device1_type ,rega 
+0581 6fe0c666 fetch 1 ,mem_device_flag 
+0582 1fe0ffff increase -1 ,pdata 
+0583 1feffe0d mul32 pdata ,13 ,pdata 
+0584 202054a6 branch mouse_start_reconnect_device + 6 
 
 p_keyboard_store_remote_bdaddr:
-059a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-059b c4010000 rtnbit0 mouse_store_eeprom_flag 
-059c d8e00002 arg mouse_store_eeprom_flag ,queue 
-059d 20405f04 call mouse_disable_function_flag 
-059e 204005ad call p_keyboard_check_device_addr 
-059f 204005a1 call p_keyboard_unplug_clean_bdaddr 
-05a0 20205ca3 branch mouse_store_device_info_delay 
+0585 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0586 c4010000 rtnbit0 mouse_store_eeprom_flag 
+0587 d8e00002 arg mouse_store_eeprom_flag ,queue 
+0588 20405f04 call mouse_disable_function_flag 
+0589 20400598 call p_keyboard_check_device_addr 
+058a 2040058c call p_keyboard_unplug_clean_bdaddr 
+058b 20205ca3 branch mouse_store_device_info_delay 
 
 p_keyboard_unplug_clean_bdaddr:
-05a1 da204667 arg mem_device1_type ,rega 
-05a2 6fe0c666 fetch 1 ,mem_device_flag 
-05a3 1fe0ffff increase -1 ,pdata 
-05a4 1feffe0d mul32 pdata ,13 ,pdata 
-05a5 9a20a200 iadd rega ,rega 
-05a6 6fe08032 fetch 1 ,mem_record_bt_mode 
-05a7 e7e08011 istore 1 ,rega 
-05a8 c01a05aa beq rec_4_mode ,p_keyboard_store_le_device 
-05a9 20600000 rtn 
+058c da204667 arg mem_device1_type ,rega 
+058d 6fe0c666 fetch 1 ,mem_device_flag 
+058e 1fe0ffff increase -1 ,pdata 
+058f 1feffe0d mul32 pdata ,13 ,pdata 
+0590 9a20a200 iadd rega ,rega 
+0591 6fe08032 fetch 1 ,mem_record_bt_mode 
+0592 e7e08011 istore 1 ,rega 
+0593 c01a0595 beq rec_4_mode ,p_keyboard_store_le_device 
+0594 20600000 rtn 
 
 p_keyboard_store_le_device:
-05aa 6fe30178 fetch 6 ,mem_le_plap 
-05ab e7e30005 istore 6 ,contw 
-05ac 20205c66 branch mouse_store_le_device + 4 
+0595 6fe30178 fetch 6 ,mem_le_plap 
+0596 e7e30005 istore 6 ,contw 
+0597 20205c66 branch mouse_store_le_device + 4 
 
 p_keyboard_check_device_addr:
-05ad 6fe08032 fetch 1 ,mem_record_bt_mode 
-05ae c01a05b0 beq rec_4_mode ,p_keyboard_check_le_device_addr 
-05af 20600000 rtn 
+0598 6fe08032 fetch 1 ,mem_record_bt_mode 
+0599 c01a059b beq rec_4_mode ,p_keyboard_check_le_device_addr 
+059a 20600000 rtn 
 
 p_keyboard_check_le_device_addr:
-05b0 67e0c95a store 1 ,mem_device_addr_temp 
-05b1 6fe30178 fetch 6 ,mem_le_plap 
+059b 67e0c95a store 1 ,mem_device_addr_temp 
+059c 6fe30178 fetch 6 ,mem_le_plap 
 
 p_keyboard_check_bt_device_addr_common:
-05b2 67e3495b store 6 ,mem_device_addr_temp + 1 
-05b3 6fe3c95a fetch 7 ,mem_device_addr_temp 
-05b4 d8c04667 arg mem_device1_type ,contr 
-05b5 df200003 arg 3 ,loopcnt 
+059d 67e3495b store 6 ,mem_device_addr_temp + 1 
+059e 6fe3c95a fetch 7 ,mem_device_addr_temp 
+059f d8c04667 arg mem_device1_type ,contr 
+05a0 df200003 arg 3 ,loopcnt 
 
 p_keyboard_check_device_addr_end:
-05b6 e8438006 ifetcht 7 ,contr 
-05b7 98467c00 isub temp ,null 
-05b8 2022dc69 branch mouse_clean_addr ,zero 
-05b9 18c08c06 increase 6 ,contr 
-05ba c20005b6 loop p_keyboard_check_device_addr_end 
-05bb 20600000 rtn 
+05a1 e8438006 ifetcht 7 ,contr 
+05a2 98467c00 isub temp ,null 
+05a3 2022dc69 branch mouse_clean_addr ,zero 
+05a4 18c08c06 increase 6 ,contr 
+05a5 c20005a1 loop p_keyboard_check_device_addr_end 
+05a6 20600000 rtn 
 
 p_le_parse_att:
-05bc 1a220c00 copy rega ,contr 
-05bd efe18006 ifetch 3 ,contr 
-05be 67e1c397 store 3 ,mem_le_att_opcode 
-05bf c00585c9 beq attop_read_response ,p_keyboard_le_parse_att_manu_resp 
-05c0 c00405f5 beq attop_read_by_type_request ,p_le_parse_att_read_by_type_request 
-05c1 c00485d8 beq attop_read_by_type_response ,p_keyboard_le_send_att_read_by_type_rsp_mac 
-05c2 c00385ea beq attop_find_by_type_value_response ,p_keyboard_le_parse_att_find_by_type_value_rsp 
-05c3 c00085f0 beq attop_error_response ,p_keyboard_le_send_att_find_by_type_value_request_mac 
-05c4 c006060a beq attop_read_blob_request ,p_le_parse_att_read_blob_request 
-05c5 c0050614 beq attop_read_request ,p_le_parse_att_read_request 
-05c6 c0090635 beq attop_write_request ,p_le_parse_att_write_request 
-05c7 c0290646 beq attop_write_command ,p_le_parse_att_write_command 
-05c8 20202b96 branch le_parse_att2 
+05a7 1a220c00 copy rega ,contr 
+05a8 efe18006 ifetch 3 ,contr 
+05a9 67e1c397 store 3 ,mem_le_att_opcode 
+05aa c00585b4 beq attop_read_response ,p_keyboard_le_parse_att_manu_resp 
+05ab c00405e0 beq attop_read_by_type_request ,p_le_parse_att_read_by_type_request 
+05ac c00485c3 beq attop_read_by_type_response ,p_keyboard_le_send_att_read_by_type_rsp_mac 
+05ad c00385d5 beq attop_find_by_type_value_response ,p_keyboard_le_parse_att_find_by_type_value_rsp 
+05ae c00085db beq attop_error_response ,p_keyboard_le_send_att_find_by_type_value_request_mac 
+05af c00605f5 beq attop_read_blob_request ,p_le_parse_att_read_blob_request 
+05b0 c00505ff beq attop_read_request ,p_le_parse_att_read_request 
+05b1 c0090620 beq attop_write_request ,p_le_parse_att_write_request 
+05b2 c0290631 beq attop_write_command ,p_le_parse_att_write_command 
+05b3 20202b96 branch le_parse_att2 
 
 p_keyboard_le_parse_att_manu_resp:
-05c9 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
-05ca 207a0000 rtn blank 
+05b4 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
+05b5 207a0000 rtn blank 
 
 p_keyboard_le_parse_att_manu_resp_next:
-05cb 6fe14335 fetch 2 ,mem_le_l2cap_size 
-05cc df200009 arg 9 ,loopcnt 
-05cd 6fe14339 fetch 2 ,mem_le_payload_ptr 
-05ce 1fe0a205 add pdata ,5 ,rega 
-05cf da4049f4 arg mem_le_search_mac_manu_name ,regb 
-05d0 20407d64 call string_compare 
-05d1 202285d6 branch p_keyboard_le_parse_att_find_mac_report ,zero 
-05d2 202005d3 branch p_keyboard_le_parse_att_not_find_mac_report 
+05b6 6fe14335 fetch 2 ,mem_le_l2cap_size 
+05b7 df200009 arg 9 ,loopcnt 
+05b8 6fe14339 fetch 2 ,mem_le_payload_ptr 
+05b9 1fe0a205 add pdata ,5 ,rega 
+05ba da4049f4 arg mem_le_search_mac_manu_name ,regb 
+05bb 20407d64 call string_compare 
+05bc 202285c1 branch p_keyboard_le_parse_att_find_mac_report ,zero 
+05bd 202005be branch p_keyboard_le_parse_att_not_find_mac_report 
 
 p_keyboard_le_parse_att_not_find_mac_report:
-05d3 6fe0c2cb fetch 1 ,mem_le_conn_peer_addr_type 
-05d4 67e0c9c6 store 1 ,mem_kb_computer_system 
-05d5 202005d7 branch p_keyboard_store_computer_system_ble 
+05be 6fe0c2cb fetch 1 ,mem_le_conn_peer_addr_type 
+05bf 67e0c9c6 store 1 ,mem_kb_computer_system 
+05c0 202005c2 branch p_keyboard_store_computer_system_ble 
 
 p_keyboard_le_parse_att_find_mac_report:
-05d6 7049c603 jam system_os_mac ,mem_kb_computer_system 
+05c1 7049c603 jam system_os_mac ,mem_kb_computer_system 
 
 p_keyboard_store_computer_system_ble:
-05d7 7049f100 jam 0 ,mem_le_connect_ios_mac_flag 
+05c2 7049f100 jam 0 ,mem_le_connect_ios_mac_flag 
 
 p_keyboard_le_send_att_read_by_type_rsp_mac:
-05d8 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
-05d9 207a0000 rtn blank 
+05c3 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
+05c4 207a0000 rtn blank 
 
 p_keyboard_le_send_att_read_by_type_rsp_mac_next:
-05da 6fe14335 fetch 2 ,mem_le_l2cap_size 
-05db 1fe0fffe increase -2 ,pdata 
-05dc 1fe6fc07 div pdata ,7 
-05dd 20407d62 call wait_div_end 
-05de 1807f200 quotient loopcnt 
-05df 6fe14339 fetch 2 ,mem_le_payload_ptr 
-05e0 1fe08c06 add pdata ,6 ,contr 
+05c5 6fe14335 fetch 2 ,mem_le_l2cap_size 
+05c6 1fe0fffe increase -2 ,pdata 
+05c7 1fe6fc07 div pdata ,7 
+05c8 20407d62 call wait_div_end 
+05c9 1807f200 quotient loopcnt 
+05ca 6fe14339 fetch 2 ,mem_le_payload_ptr 
+05cb 1fe08c06 add pdata ,6 ,contr 
 
 p_keyboard_le_check_att_read_type_manu_loop:
-05e1 18c08c03 increase 3 ,contr 
-05e2 efe10006 ifetch 2 ,contr 
-05e3 1fe22600 copy pdata ,regc 
-05e4 efe10006 ifetch 2 ,contr 
-05e5 d8402a29 arg 0x2a29 ,temp 
-05e6 98467c00 isub temp ,null 
-05e7 2022d089 branch keyboard_le_send_att_read_by_type_rsp_manufactory ,zero 
-05e8 c20005e1 loop p_keyboard_le_check_att_read_type_manu_loop 
-05e9 202005d3 branch p_keyboard_le_parse_att_not_find_mac_report 
+05cc 18c08c03 increase 3 ,contr 
+05cd efe10006 ifetch 2 ,contr 
+05ce 1fe22600 copy pdata ,regc 
+05cf efe10006 ifetch 2 ,contr 
+05d0 d8402a29 arg 0x2a29 ,temp 
+05d1 98467c00 isub temp ,null 
+05d2 2022d089 branch keyboard_le_send_att_read_by_type_rsp_manufactory ,zero 
+05d3 c20005cc loop p_keyboard_le_check_att_read_type_manu_loop 
+05d4 202005be branch p_keyboard_le_parse_att_not_find_mac_report 
 
 p_keyboard_le_parse_att_find_by_type_value_rsp:
-05ea 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
-05eb 207a0000 rtn blank 
+05d5 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
+05d6 207a0000 rtn blank 
 
 p_keyboard_le_parse_att_find_by_type_value_rsp_next:
-05ec 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
-05ed c001506c beq 2 ,keyboard_le_parse_att_find_by_type_value_rsp_mac 
+05d7 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
+05d8 c001506c beq 2 ,keyboard_le_parse_att_find_by_type_value_rsp_mac 
 
 p_keyboard_le_parse_att_find_ios_report:
-05ee 7049c602 jam system_os_ios ,mem_kb_computer_system 
-05ef 202005d7 branch p_keyboard_store_computer_system_ble 
+05d9 7049c602 jam system_os_ios ,mem_kb_computer_system 
+05da 202005c2 branch p_keyboard_store_computer_system_ble 
 
 p_keyboard_le_send_att_find_by_type_value_request_mac:
-05f0 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
-05f1 207a0000 rtn blank 
+05db 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
+05dc 207a0000 rtn blank 
 
 p_keyboard_le_send_att_find_by_type_value_request_mac_next:
-05f2 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
-05f3 c00105d3 beq 2 ,p_keyboard_le_parse_att_not_find_mac_report 
-05f4 2020505d branch keyboard_le_send_att_find_by_type_value_request_mac + 2 
+05dd 6fe0c9f1 fetch 1 ,mem_le_connect_ios_mac_flag 
+05de c00105be beq 2 ,p_keyboard_le_parse_att_not_find_mac_report 
+05df 2020505d branch keyboard_le_send_att_find_by_type_value_request_mac + 2 
 
 p_le_parse_att_read_by_type_request:
-05f5 20402e41 call le_get_search_handle_start_end_common 
-05f6 20402e4a call le_get_search_att_type 
+05e0 20402e41 call le_get_search_handle_start_end_common 
+05e1 20402e4a call le_get_search_att_type 
 
 p_le_send_att_read_by_type_response:
-05f7 684906b1 fetcht 2 ,mem_le_search_handle_start 
-05f8 60490678 storet 2 ,mem_temp 
-05f9 20402cc7 call le_init_attlist_search 
-05fa 20402cd2 call le_att_get_handle_ptr2 
-05fb 18c08dfe increase -2 ,contr 
-05fc 18c27e00 copy contr ,pdata 
-05fd 67e106c7 store 2 ,mem_le_cur_attlist_start_ptr 
-05fe 684906b6 fetcht 2 ,mem_le_search_att_type 
-05ff 58002a50 setarg uuid_chrctr_pnp_id 
-0600 98467c00 isub temp ,null 
-0601 20228603 branch p_le_send_att_read_by_type_res_pnp_id ,zero 
-0602 20202c4f branch le_send_att_read_by_type_response + 8 
+05e2 684906b1 fetcht 2 ,mem_le_search_handle_start 
+05e3 60490678 storet 2 ,mem_temp 
+05e4 20402cc7 call le_init_attlist_search 
+05e5 20402cd2 call le_att_get_handle_ptr2 
+05e6 18c08dfe increase -2 ,contr 
+05e7 18c27e00 copy contr ,pdata 
+05e8 67e106c7 store 2 ,mem_le_cur_attlist_start_ptr 
+05e9 684906b6 fetcht 2 ,mem_le_search_att_type 
+05ea 58002a50 setarg uuid_chrctr_pnp_id 
+05eb 98467c00 isub temp ,null 
+05ec 202285ee branch p_le_send_att_read_by_type_res_pnp_id ,zero 
+05ed 20202c4f branch le_send_att_read_by_type_response + 8 
 
 p_le_send_att_read_by_type_res_pnp_id:
-0603 6fe0cb99 fetch 1 ,mem_keyboard_change_vid_pid_flag 
-0604 203a2c4f branch le_send_att_read_by_type_response + 8 ,blank 
-0605 20402ce0 call le_att_get_uuid_ptr 
-0606 203a2e03 branch le_send_att_error_response_notfound ,blank 
-0607 d8c04b9a arg mem_keyboard_change_vid_pid_flag + 1 ,contr 
-0608 18007e0b force 11 ,pdata 
-0609 20202ca5 branch le_send_att_read_by_type_res_not_characteristic + 9 
+05ee 6fe0cb99 fetch 1 ,mem_keyboard_change_vid_pid_flag 
+05ef 203a2c4f branch le_send_att_read_by_type_response + 8 ,blank 
+05f0 20402ce0 call le_att_get_uuid_ptr 
+05f1 203a2e03 branch le_send_att_error_response_notfound ,blank 
+05f2 d8c04b9a arg mem_keyboard_change_vid_pid_flag + 1 ,contr 
+05f3 18007e0b force 11 ,pdata 
+05f4 20202ca5 branch le_send_att_read_by_type_res_not_characteristic + 9 
 
 p_le_parse_att_read_blob_request:
-060a efe10006 ifetch 2 ,contr 
-060b 67e106b5 store 2 ,mem_le_att_offset 
-060c 98002200 iforce rega 
-060d 68494398 fetcht 2 ,mem_le_att_handle 
-060e 6fe14332 fetch 2 ,mem_le_pairing_handle 
-060f 98467c00 isub temp ,null 
-0610 2422ad50 nbranch le_send_att_read_blob_response ,zero 
-0611 6fe14abb fetch 2 ,mem_keyboard_le_map_len 
-0612 d8c04abd arg mem_keyboard_le_hid_map ,contr 
-0613 20202d53 branch le_send_att_read_blob_response + 3 
+05f5 efe10006 ifetch 2 ,contr 
+05f6 67e106b5 store 2 ,mem_le_att_offset 
+05f7 98002200 iforce rega 
+05f8 68494398 fetcht 2 ,mem_le_att_handle 
+05f9 6fe14332 fetch 2 ,mem_le_pairing_handle 
+05fa 98467c00 isub temp ,null 
+05fb 2422ad50 nbranch le_send_att_read_blob_response ,zero 
+05fc 6fe14abb fetch 2 ,mem_keyboard_le_map_len 
+05fd d8c04abd arg mem_keyboard_le_hid_map ,contr 
+05fe 20202d53 branch le_send_att_read_blob_response + 3 
 
 p_le_parse_att_read_request:
-0614 68494398 fetcht 2 ,mem_le_att_handle 
-0615 6fe0c321 fetch 1 ,mem_le_configuration 
-0616 c281862f bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+05ff 68494398 fetcht 2 ,mem_le_att_handle 
+0600 6fe0c321 fetch 1 ,mem_le_configuration 
+0601 c281861a bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0617 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0618 c30a861a bbit0 mouse_enable_adc ,p_le_send_att_read_response + 3 
-0619 c31d861c bbit0 mouse_enable_le_battery_service_cancel ,p_le_send_att_read_response_next 
-061a 6fe14398 fetch 2 ,mem_le_att_handle 
-061b c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
+0602 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0603 c30a8605 bbit0 mouse_enable_adc ,p_le_send_att_read_response + 3 
+0604 c31d8607 bbit0 mouse_enable_le_battery_service_cancel ,p_le_send_att_read_response_next 
+0605 6fe14398 fetch 2 ,mem_le_att_handle 
+0606 c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
 
 p_le_send_att_read_response_next:
-061c 6fe14398 fetch 2 ,mem_le_att_handle 
-061d c0028627 beq 0x05 ,p_le_send_att_appearance 
-061e c008062a beq 0x10 ,p_le_send_att_pnp_id 
+0607 6fe14398 fetch 2 ,mem_le_att_handle 
+0608 c0028612 beq 0x05 ,p_le_send_att_appearance 
+0609 c0080615 beq 0x10 ,p_le_send_att_pnp_id 
 
 p_le_send_att_read_response_next_1:
-061f 68494398 fetcht 2 ,mem_le_att_handle 
-0620 6fe14332 fetch 2 ,mem_le_pairing_handle 
-0621 98467c00 isub temp ,null 
-0622 2422ad1d nbranch le_send_att_read_response ,zero 
-0623 20402e46 call le_get_search_max_mtu_data 
-0624 68494abb fetcht 2 ,mem_keyboard_le_map_len 
-0625 d8c04abd arg mem_keyboard_le_hid_map ,contr 
-0626 20202d2b branch le_send_att_read_response + 14 
+060a 68494398 fetcht 2 ,mem_le_att_handle 
+060b 6fe14332 fetch 2 ,mem_le_pairing_handle 
+060c 98467c00 isub temp ,null 
+060d 2422ad1d nbranch le_send_att_read_response ,zero 
+060e 20402e46 call le_get_search_max_mtu_data 
+060f 68494abb fetcht 2 ,mem_keyboard_le_map_len 
+0610 d8c04abd arg mem_keyboard_le_hid_map ,contr 
+0611 20202d2b branch le_send_att_read_response + 14 
 
 p_le_send_att_appearance:
-0627 d8c049fd arg mem_keybord_appearance ,contr 
-0628 18007e03 force 3 ,pdata 
-0629 20202d2d branch le_send_att_read_response_less 
+0612 d8c049fd arg mem_keybord_appearance ,contr 
+0613 18007e03 force 3 ,pdata 
+0614 20202d2d branch le_send_att_read_response_less 
 
 p_le_send_att_pnp_id:
-062a 6fe0cb99 fetch 1 ,mem_keyboard_change_vid_pid_flag 
-062b 203a061f branch p_le_send_att_read_response_next_1 ,blank 
-062c d8c04b9a arg mem_keyboard_change_vid_pid_flag + 1 ,contr 
-062d 18007e08 force 8 ,pdata 
-062e 20202d2d branch le_send_att_read_response_less 
+0615 6fe0cb99 fetch 1 ,mem_keyboard_change_vid_pid_flag 
+0616 203a060a branch p_le_send_att_read_response_next_1 ,blank 
+0617 d8c04b9a arg mem_keyboard_change_vid_pid_flag + 1 ,contr 
+0618 18007e08 force 8 ,pdata 
+0619 20202d2d branch le_send_att_read_response_less 
 
 p_le_send_att_read_response_check_auth:
-062f 6fe14332 fetch 2 ,mem_le_pairing_handle 
-0630 98467c00 isub temp ,null 
-0631 24228617 nbranch p_le_send_att_read_response ,zero 
-0632 20402dc7 call le_check_encrypt_state 
-0633 2434061c nbranch p_le_send_att_read_response_next ,user 
-0634 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+061a 6fe14332 fetch 2 ,mem_le_pairing_handle 
+061b 98467c00 isub temp ,null 
+061c 24228602 nbranch p_le_send_att_read_response ,zero 
+061d 20402dc7 call le_check_encrypt_state 
+061e 24340607 nbranch p_le_send_att_read_response_next ,user 
+061f 20202d46 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-0635 18c22200 copy contr ,rega 
-0636 6fe14335 fetch 2 ,mem_le_l2cap_size 
-0637 1fe0a5fd add pdata ,-3 ,regb 
-0638 20402929 call le_writeatt_cb 
-0639 20400647 call p_le_parse_att_write_command + 1 
-063a 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-063b c07fadac beq 0xff ,le_send_att_write_response_check_auth 
-063c 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-063d 203a2dac branch le_send_att_write_response_check_auth ,blank 
-063e 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-063f c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0640 5800001a setarg 0x001a 
-0641 68494398 fetcht 2 ,mem_le_att_handle 
-0642 98467c00 isub temp ,null 
-0643 2422adac nbranch le_send_att_write_response_check_auth ,zero 
-0644 7001b905 jam att_err_insufficient_authentication ,mem_le_err_code 
-0645 20202e05 branch le_send_att_error_response 
+0620 18c22200 copy contr ,rega 
+0621 6fe14335 fetch 2 ,mem_le_l2cap_size 
+0622 1fe0a5fd add pdata ,-3 ,regb 
+0623 20402929 call le_writeatt_cb 
+0624 20400632 call p_le_parse_att_write_command + 1 
+0625 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0626 c07fadac beq 0xff ,le_send_att_write_response_check_auth 
+0627 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+0628 203a2dac branch le_send_att_write_response_check_auth ,blank 
+0629 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+062a c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+062b 5800001a setarg 0x001a 
+062c 68494398 fetcht 2 ,mem_le_att_handle 
+062d 98467c00 isub temp ,null 
+062e 2422adac nbranch le_send_att_write_response_check_auth ,zero 
+062f 7001b905 jam att_err_insufficient_authentication ,mem_le_err_code 
+0630 20202e05 branch le_send_att_error_response 
 
 p_le_parse_att_write_command:
-0646 20402dea call le_parse_att_write_command 
-0647 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0648 c07f864c beq 0xff ,p_keyboard_le_fast_conn_led_get 
-0649 6fe14398 fetch 2 ,mem_le_att_handle 
-064a c012864f beq 0x25 ,p_keyboard_le_led_get 
-064b 20600000 rtn 
+0631 20402dea call le_parse_att_write_command 
+0632 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0633 c07f8637 beq 0xff ,p_keyboard_le_fast_conn_led_get 
+0634 6fe14398 fetch 2 ,mem_le_att_handle 
+0635 c012863a beq 0x25 ,p_keyboard_le_led_get 
+0636 20600000 rtn 
 
 p_keyboard_le_fast_conn_led_get:
-064c 6fe14398 fetch 2 ,mem_le_att_handle 
-064d c010864f beq 0x21 ,p_keyboard_le_led_get 
-064e 20600000 rtn 
+0637 6fe14398 fetch 2 ,mem_le_att_handle 
+0638 c010863a beq 0x21 ,p_keyboard_le_led_get 
+0639 20600000 rtn 
 
 p_keyboard_le_led_get:
-064f 6fe08055 fetch 1 ,mem_le_rxbuf + 9 
-0650 67e0c9aa store 1 ,mem_keyboard_led_status 
-0651 20600000 rtn 
+063a 6fe08055 fetch 1 ,mem_le_rxbuf + 9 
+063b 67e0c9aa store 1 ,mem_keyboard_led_status 
+063c 20600000 rtn 
 
 p_le_exchange_hid_map:
-0652 d8c0919f arg 0x919f ,contr 
-0653 d8a04abd arg mem_keyboard_le_hid_map ,contw 
-0654 df200042 arg 66 ,loopcnt 
-0655 20407cda call memcpy 
-0656 d8c091e1 arg 0x91e1 ,contr 
-0657 d8a04aff arg mem_keyboard_le_hid_map + 66 ,contw 
-0658 df200036 arg 54 ,loopcnt 
-0659 20207cda branch memcpy 
+063d d8c0919f arg 0x919f ,contr 
+063e d8a04abd arg mem_keyboard_le_hid_map ,contw 
+063f df200042 arg 66 ,loopcnt 
+0640 20407cda call memcpy 
+0641 d8c091e1 arg 0x91e1 ,contr 
+0642 d8a04aff arg mem_keyboard_le_hid_map + 66 ,contw 
+0643 df200036 arg 54 ,loopcnt 
+0644 20207cda branch memcpy 
 
 p_g24_pair_dispatch:
-065a 7045e200 jam default_24g_device ,mem_24g_reconn_type 
+0645 7045e200 jam default_24g_device ,mem_24g_reconn_type 
 
 p_g24_pair_dispatch_new:
-065b 6fe0c5d4 fetch 1 ,mem_24g_pair_sm 
-065c c07fb2f8 beq state_24g_pairing_success ,g24_pair_exit 
-065d c0008662 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
-065e c0010664 beq state_24g_pairing_2 ,p_g24_pair_sm_2 
-065f c001866b beq state_24g_pairing_3 ,p_g24_pair_sm_3 
-0660 c0020671 beq state_24g_pairing_4 ,p_g24_pair_sm_4 
-0661 20600000 rtn 
+0646 6fe0c5d4 fetch 1 ,mem_24g_pair_sm 
+0647 c07fb2f8 beq state_24g_pairing_success ,g24_pair_exit 
+0648 c000864d beq state_24g_pairing_1 ,p_g24_pair_sm_1 
+0649 c001064f beq state_24g_pairing_2 ,p_g24_pair_sm_2 
+064a c0018656 beq state_24g_pairing_3 ,p_g24_pair_sm_3 
+064b c002065c beq state_24g_pairing_4 ,p_g24_pair_sm_4 
+064c 20600000 rtn 
 
 p_g24_pair_sm_1:
-0662 704d60ff jam datatype_attemp ,mem_24g_txbuf_new 
-0663 20200672 branch p_g24_pair_sm_prep 
+064d 704d60ff jam datatype_attemp ,mem_24g_txbuf_new 
+064e 2020065d branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_2:
-0664 70458902 jam 2 ,mem_24g_data_type 
-0665 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
-0666 203a0669 branch p_g24_pair_sm_2_skip ,blank 
-0667 6fe24604 fetch 4 ,mem_24g_device_addr 
-0668 20403236 call g24_update_addr_and_synccrc8 
+064f 70458902 jam 2 ,mem_24g_data_type 
+0650 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
+0651 203a0654 branch p_g24_pair_sm_2_skip ,blank 
+0652 6fe24604 fetch 4 ,mem_24g_device_addr 
+0653 20403236 call g24_update_addr_and_synccrc8 
 
 p_g24_pair_sm_2_skip:
-0669 704d60aa jam datatype_bind ,mem_24g_txbuf_new 
-066a 20200672 branch p_g24_pair_sm_prep 
+0654 704d60aa jam datatype_bind ,mem_24g_txbuf_new 
+0655 2020065d branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_3:
-066b 704d6055 jam datatype_config ,mem_24g_txbuf_new 
-066c 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
-066d 203a0672 branch p_g24_pair_sm_prep ,blank 
-066e 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
-066f 67e24d62 store 4 ,mem_24g_txbuf_new + 2 
-0670 20200674 branch p_g24_pair_sm_common 
+0656 704d6055 jam datatype_config ,mem_24g_txbuf_new 
+0657 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
+0658 203a065d branch p_g24_pair_sm_prep ,blank 
+0659 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
+065a 67e24d62 store 4 ,mem_24g_txbuf_new + 2 
+065b 2020065f branch p_g24_pair_sm_common 
 
 p_g24_pair_sm_4:
-0671 704d6022 jam datatype_ok ,mem_24g_txbuf_new 
+065c 704d6022 jam datatype_ok ,mem_24g_txbuf_new 
 
 p_g24_pair_sm_prep:
-0672 6fe24604 fetch 4 ,mem_24g_device_addr 
-0673 67e24d62 store 4 ,mem_24g_txbuf_new + 2 
+065d 6fe24604 fetch 4 ,mem_24g_device_addr 
+065e 67e24d62 store 4 ,mem_24g_txbuf_new + 2 
 
 p_g24_pair_sm_common:
-0674 6fe0c589 fetch 1 ,mem_24g_data_type 
-0675 1fe17e07 and_into bits_data ,pdata 
-0676 67e0cd61 store 1 ,mem_24g_txbuf_new + 1 
-0677 704d6600 jam 0 ,mem_24g_txbuf_new + 6 
-0678 70458807 jam 7 ,mem_24g_datalen 
-0679 20400682 call p_g24_transmit_prep 
-067a 20403651 call g24_transmit_receive_ack 
-067b 246c0000 nrtn sync 
-067c 24778000 nrtn user3 
-067d 2040069e call p_g24_txbuf_clear 
-067e 20400697 call p_g24_ackpayload_parse 
-067f 202032ce branch g24_pair_sm_common_end 
+065f 6fe0c589 fetch 1 ,mem_24g_data_type 
+0660 1fe17e07 and_into bits_data ,pdata 
+0661 67e0cd61 store 1 ,mem_24g_txbuf_new + 1 
+0662 704d6600 jam 0 ,mem_24g_txbuf_new + 6 
+0663 70458807 jam 7 ,mem_24g_datalen 
+0664 2040066d call p_g24_transmit_prep 
+0665 20403651 call g24_transmit_receive_ack 
+0666 246c0000 nrtn sync 
+0667 24778000 nrtn user3 
+0668 20400689 call p_g24_txbuf_clear 
+0669 20400682 call p_g24_ackpayload_parse 
+066a 202032ce branch g24_pair_sm_common_end 
 
 p_g24_txdata_prep:
-0680 204006c3 call p_g24_package_data 
-0681 24740000 nrtn user 
+066b 204006ae call p_g24_package_data 
+066c 24740000 nrtn user 
 
 p_g24_transmit_prep:
-0682 6fe0c588 fetch 1 ,mem_24g_datalen 
-0683 1fe0fe03 increase 3 ,pdata 
-0684 67e0c58a store 1 ,mem_24g_txlen 
-0685 6fe0c5ac fetch 1 ,mem_24g_syncword_crc8 
-0686 67e0cda6 store 1 ,mem_24g_txpayload_new 
-0687 6fe0c589 fetch 1 ,mem_24g_data_type 
-0688 1fe9fe00 lshift3 pdata ,pdata 
-0689 6848c57e fetcht 1 ,mem_24g_pid 
-068a 18410403 and temp ,0x03 ,temp 
-068b 18438400 lshift temp ,temp 
-068c 9841fe00 ior temp ,pdata 
-068d 6848c57f fetcht 1 ,mem_24g_no_ack 
-068e 9840fe00 iadd temp ,pdata 
-068f e7e08005 istore 1 ,contw 
-0690 6fe0c588 fetch 1 ,mem_24g_datalen 
-0691 e7e08005 istore 1 ,contw 
-0692 6fe0c588 fetch 1 ,mem_24g_datalen 
-0693 98007200 iforce loopcnt 
-0694 d8c04d60 arg mem_24g_txbuf_new ,contr 
-0695 20407cda call memcpy 
-0696 202031fc branch g24_transmit_prep_rssi 
+066d 6fe0c588 fetch 1 ,mem_24g_datalen 
+066e 1fe0fe03 increase 3 ,pdata 
+066f 67e0c58a store 1 ,mem_24g_txlen 
+0670 6fe0c5ac fetch 1 ,mem_24g_syncword_crc8 
+0671 67e0cda6 store 1 ,mem_24g_txpayload_new 
+0672 6fe0c589 fetch 1 ,mem_24g_data_type 
+0673 1fe9fe00 lshift3 pdata ,pdata 
+0674 6848c57e fetcht 1 ,mem_24g_pid 
+0675 18410403 and temp ,0x03 ,temp 
+0676 18438400 lshift temp ,temp 
+0677 9841fe00 ior temp ,pdata 
+0678 6848c57f fetcht 1 ,mem_24g_no_ack 
+0679 9840fe00 iadd temp ,pdata 
+067a e7e08005 istore 1 ,contw 
+067b 6fe0c588 fetch 1 ,mem_24g_datalen 
+067c e7e08005 istore 1 ,contw 
+067d 6fe0c588 fetch 1 ,mem_24g_datalen 
+067e 98007200 iforce loopcnt 
+067f d8c04d60 arg mem_24g_txbuf_new ,contr 
+0680 20407cda call memcpy 
+0681 202031fc branch g24_transmit_prep_rssi 
 
 p_g24_ackpayload_parse:
-0697 20403214 call g24_read_len_pid_crc 
-0698 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
-0699 207a0000 rtn blank 
-069a 98007200 iforce loopcnt 
-069b d8c04d1c arg mem_24g_rxbuf_new + 2 ,contr 
-069c d8a04dec arg mem_24g_rxpayload_new ,contw 
-069d 20207cda branch memcpy 
+0682 20403214 call g24_read_len_pid_crc 
+0683 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
+0684 207a0000 rtn blank 
+0685 98007200 iforce loopcnt 
+0686 d8c04d1c arg mem_24g_rxbuf_new + 2 ,contr 
+0687 d8a04dec arg mem_24g_rxpayload_new ,contw 
+0688 20207cda branch memcpy 
 
 p_g24_txbuf_clear:
-069e df200046 arg 70 ,loopcnt 
-069f d8a04d60 arg mem_24g_txbuf_new ,contw 
-06a0 20207ca3 branch memset0 
+0689 df200046 arg 70 ,loopcnt 
+068a d8a04d60 arg mem_24g_txbuf_new ,contw 
+068b 20207ca3 branch memset0 
 
 p_keyboard_g24_reconn_dispatch:
-06a1 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-06a2 1fe17ee0 and_into 0xe0 ,pdata 
-06a3 203a06a8 branch p_keyboard_g24_reconn_dispatch_next ,blank 
-06a4 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-06a5 1fe0fe01 increase 1 ,pdata 
-06a6 67e145e0 store 2 ,mem_24g_reconn_count 
-06a7 20600000 rtn 
+068c 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+068d 1fe17ee0 and_into 0xe0 ,pdata 
+068e 203a0693 branch p_keyboard_g24_reconn_dispatch_next ,blank 
+068f 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+0690 1fe0fe01 increase 1 ,pdata 
+0691 67e145e0 store 2 ,mem_24g_reconn_count 
+0692 20600000 rtn 
 
 p_keyboard_g24_reconn_dispatch_next:
-06a8 204006b8 call p_g24_reconn_data_prep 
-06a9 20403651 call g24_transmit_receive_ack 
-06aa 242c3586 nbranch g24_reconn_device_fail ,sync 
-06ab 2437b586 nbranch g24_reconn_device_fail ,user3 
-06ac 20400703 call p_keyboard_g24_ackpayload_parse 
-06ad 6fe245cc fetch 4 ,mem_24g_pair_addr 
-06ae 684a458f fetcht 4 ,mem_24g_addr 
-06af 98467c00 isub temp ,null 
-06b0 2022b291 branch g24_pair_start ,zero 
-06b1 6fe24604 fetch 4 ,mem_24g_device_addr 
-06b2 684a458f fetcht 4 ,mem_24g_addr 
-06b3 98467c00 isub temp ,null 
-06b4 204286b6 call p_g24_store_receiver_addr ,zero 
-06b5 20203572 branch g24_reconn_dispatch_next + 13 
+0693 204006a3 call p_g24_reconn_data_prep 
+0694 20403651 call g24_transmit_receive_ack 
+0695 242c3586 nbranch g24_reconn_device_fail ,sync 
+0696 2437b586 nbranch g24_reconn_device_fail ,user3 
+0697 204006ef call p_keyboard_g24_ackpayload_parse 
+0698 6fe245cc fetch 4 ,mem_24g_pair_addr 
+0699 684a458f fetcht 4 ,mem_24g_addr 
+069a 98467c00 isub temp ,null 
+069b 2022b291 branch g24_pair_start ,zero 
+069c 6fe24604 fetch 4 ,mem_24g_device_addr 
+069d 684a458f fetcht 4 ,mem_24g_addr 
+069e 98467c00 isub temp ,null 
+069f 204286a1 call p_g24_store_receiver_addr ,zero 
+06a0 20203572 branch g24_reconn_dispatch_next + 13 
 
 p_g24_store_receiver_addr:
-06b6 6fe24dee fetch 4 ,mem_24g_rxpayload_new + 2 
-06b7 20203558 branch g24_store_receiver_addr + 1 
+06a1 6fe24dee fetch 4 ,mem_24g_rxpayload_new + 2 
+06a2 20203558 branch g24_store_receiver_addr + 1 
 
 p_g24_reconn_data_prep:
-06b8 704d60ff jam datatype_attemp ,mem_24g_txbuf_new 
-06b9 6fe0c589 fetch 1 ,mem_24g_data_type 
-06ba 67e0cd61 store 1 ,mem_24g_txbuf_new + 1 
-06bb 6fe24604 fetch 4 ,mem_24g_device_addr 
-06bc 67e24d62 store 4 ,mem_24g_txbuf_new + 2 
-06bd 20203584 branch g24_reconn_data_prep + 5 
+06a3 704d60ff jam datatype_attemp ,mem_24g_txbuf_new 
+06a4 6fe0c589 fetch 1 ,mem_24g_data_type 
+06a5 67e0cd61 store 1 ,mem_24g_txbuf_new + 1 
+06a6 6fe24604 fetch 4 ,mem_24g_device_addr 
+06a7 67e24d62 store 4 ,mem_24g_txbuf_new + 2 
+06a8 20203584 branch g24_reconn_data_prep + 5 
 
 p_keyboard_g24_transmit_no_interrupt:
-06be 20400680 call p_g24_txdata_prep 
-06bf 243406ce nbranch p_keyboard_g24_nodata_transmit ,user 
+06a9 2040066b call p_g24_txdata_prep 
+06aa 243406b9 nbranch p_keyboard_g24_nodata_transmit ,user 
 
 p_keyboard_g24_transmit_start:
-06c0 204006dd call p_keyboard_g24_transmit_process 
-06c1 20404fd5 call keyboard_power_ctrl_start 
-06c2 20204fdb branch keyboard_g24_transmit_start_next 
+06ab 204006c9 call p_keyboard_g24_transmit_process 
+06ac 20404fd5 call keyboard_power_ctrl_start 
+06ad 20204fdb branch keyboard_g24_transmit_start_next 
 
 p_g24_package_data:
-06c3 6fe145f2 fetch 2 ,mem_cb_24g_transmit_data 
-06c4 20407d79 call callback_func 
-06c5 203406c8 branch p_g24_accumulate_data ,user 
-06c6 6fe3cd61 fetch 7 ,mem_24g_txbuf_new + 1 
-06c7 2020362c branch g24_package_data + 4 
+06ae 6fe145f2 fetch 2 ,mem_cb_24g_transmit_data 
+06af 20407d79 call callback_func 
+06b0 203406b3 branch p_g24_accumulate_data ,user 
+06b1 6fe3cd61 fetch 7 ,mem_24g_txbuf_new + 1 
+06b2 2020362c branch g24_package_data + 4 
 
 p_g24_accumulate_data:
-06c8 70460200 jam 0 ,mem_24g_abort_pac 
-06c9 1a20fe01 add rega ,1 ,pdata 
-06ca 67e0c588 store 1 ,mem_24g_datalen 
-06cb 20403636 call g24_transmit_rf_ctrl_clear 
-06cc 67e0cd60 store 1 ,mem_24g_txbuf_new 
-06cd 20203633 branch g24_accumulate_data + 5 
+06b3 70460200 jam 0 ,mem_24g_abort_pac 
+06b4 1a20fe01 add rega ,1 ,pdata 
+06b5 67e0c588 store 1 ,mem_24g_datalen 
+06b6 20403636 call g24_transmit_rf_ctrl_clear 
+06b7 67e0cd60 store 1 ,mem_24g_txbuf_new 
+06b8 20203633 branch g24_accumulate_data + 5 
 
 p_keyboard_g24_nodata_transmit:
-06ce 6fe4489c fetch 8 ,mem_keyscan_value_current 
-06cf 243a4fdb nbranch keyboard_g24_transmit_start_next ,blank 
-06d0 6fe448a4 fetch 8 ,mem_keyscan_value_current + 8 
-06d1 243a4fdb nbranch keyboard_g24_transmit_start_next ,blank 
-06d2 6fe248ac fetch 4 ,mem_keyscan_value_current + 16 
-06d3 243a4fdb nbranch keyboard_g24_transmit_start_next ,blank 
-06d4 6fe0ce47 fetch 1 ,mem_24g_tx_heart_data_flag 
-06d5 245a074b ncall p_g24_send_slow_heart_info ,blank 
+06b9 6fe4489c fetch 8 ,mem_keyscan_value_current 
+06ba 243a4fdb nbranch keyboard_g24_transmit_start_next ,blank 
+06bb 6fe448a4 fetch 8 ,mem_keyscan_value_current + 8 
+06bc 243a4fdb nbranch keyboard_g24_transmit_start_next ,blank 
+06bd 6fe248ac fetch 4 ,mem_keyscan_value_current + 16 
+06be 243a4fdb nbranch keyboard_g24_transmit_start_next ,blank 
+06bf 6fe0ce47 fetch 1 ,mem_24g_tx_heart_data_flag 
+06c0 245a0737 ncall p_g24_send_slow_heart_info ,blank 
 
 p_keyboard_g24_long_sleep:
-06d6 20404fc8 call keyboard_g24_lpm_wait 
-06d7 24740000 nrtn user 
-06d8 204036be call g24_setgpio_lpm_before 
-06d9 6fe0c73f fetch 1 ,mem_sensor_shutdown_flag 
-06da 245a4f75 ncall keyboard_setgpio_hibernate ,blank 
-06db 6fe445af fetch 8 ,mem_24g_enter_hibernate 
-06dc 20203622 branch g24_long_seep2 
+06c1 20404fc8 call keyboard_g24_lpm_wait 
+06c2 24740000 nrtn user 
+06c3 204036be call g24_setgpio_lpm_before 
+06c4 6fe0c73f fetch 1 ,mem_sensor_shutdown_flag 
+06c5 245a4f75 ncall keyboard_setgpio_hibernate ,blank 
+06c6 204007de call p_flash_power_down 
+06c7 6fe445af fetch 8 ,mem_24g_enter_hibernate 
+06c8 20203622 branch g24_long_seep2 
 
 p_keyboard_g24_transmit_process:
-06dd 70460100 jam 0 ,mem_24g_retry 
+06c9 70460100 jam 0 ,mem_24g_retry 
 
 p_keyboard_g24_transmit_loop:
-06de 69610040 fetchr timeup ,2 ,mem_param_rx_setup 
-06df 34730200 until clkn_rt ,meet 
-06e0 20404df5 call keyboard_special_key_check 
-06e1 6fe145d8 fetch 2 ,mem_24g_pair_timeout 
-06e2 243a3646 nbranch g24_transmit_no_ack ,blank 
-06e3 20403651 call g24_transmit_receive_ack 
-06e4 6fe0c57f fetch 1 ,mem_24g_no_ack 
-06e5 c000b646 beq no_ack_24g ,g24_transmit_no_ack 
-06e6 242c06eb nbranch p_keyboard_g24_retransmit ,sync 
-06e7 243786eb nbranch p_keyboard_g24_retransmit ,user3 
-06e8 20400703 call p_keyboard_g24_ackpayload_parse 
-06e9 70473f00 jam 0 ,mem_sensor_shutdown_flag 
-06ea 20203646 branch g24_transmit_no_ack 
+06ca 69610040 fetchr timeup ,2 ,mem_param_rx_setup 
+06cb 34730200 until clkn_rt ,meet 
+06cc 20404df5 call keyboard_special_key_check 
+06cd 6fe145d8 fetch 2 ,mem_24g_pair_timeout 
+06ce 243a3646 nbranch g24_transmit_no_ack ,blank 
+06cf 20403651 call g24_transmit_receive_ack 
+06d0 6fe0c57f fetch 1 ,mem_24g_no_ack 
+06d1 c000b646 beq no_ack_24g ,g24_transmit_no_ack 
+06d2 242c06d7 nbranch p_keyboard_g24_retransmit ,sync 
+06d3 243786d7 nbranch p_keyboard_g24_retransmit ,user3 
+06d4 204006ef call p_keyboard_g24_ackpayload_parse 
+06d5 70473f00 jam 0 ,mem_sensor_shutdown_flag 
+06d6 20203646 branch g24_transmit_no_ack 
 
 p_keyboard_g24_retransmit:
-06eb 6fe0c602 fetch 1 ,mem_24g_abort_pac 
-06ec 247a0000 nrtn blank 
-06ed 6fe145fe fetch 2 ,mem_24g_txfail_cnt 
-06ee 1fe0fe01 increase 1 ,pdata 
-06ef 67e145fe store 2 ,mem_24g_txfail_cnt 
-06f0 6fe0c5fe fetch 1 ,mem_24g_txfail_cnt 
-06f1 c07fb676 beq 0xff ,g24_tx_attempt_fail 
-06f2 6fe0c601 fetch 1 ,mem_24g_retry 
-06f3 1fe0fe01 increase 1 ,pdata 
-06f4 67e0c601 store 1 ,mem_24g_retry 
-06f5 1fe17e03 and_into 0x03 ,pdata 
-06f6 203a06f8 branch p_keyboard_g24_transmit_hop_process ,blank 
-06f7 202006de branch p_keyboard_g24_transmit_loop 
+06d7 6fe0c602 fetch 1 ,mem_24g_abort_pac 
+06d8 247a0000 nrtn blank 
+06d9 6fe145fe fetch 2 ,mem_24g_txfail_cnt 
+06da 1fe0fe01 increase 1 ,pdata 
+06db 67e145fe store 2 ,mem_24g_txfail_cnt 
+06dc 6fe0c5fe fetch 1 ,mem_24g_txfail_cnt 
+06dd c07fb676 beq 0xff ,g24_tx_attempt_fail 
+06de 6fe0c601 fetch 1 ,mem_24g_retry 
+06df 1fe0fe01 increase 1 ,pdata 
+06e0 67e0c601 store 1 ,mem_24g_retry 
+06e1 1fe17e03 and_into 0x03 ,pdata 
+06e2 203a06e4 branch p_keyboard_g24_transmit_hop_process ,blank 
+06e3 202006ca branch p_keyboard_g24_transmit_loop 
 
 p_keyboard_g24_transmit_hop_process:
-06f8 20404bfb call kscan_dispatch 
-06f9 204003d4 call p_keyboard_device_select 
-06fa 6fe0cba1 fetch 1 ,mem_keyboard_switch_device_flag 
-06fb 243a3646 nbranch g24_transmit_no_ack ,blank 
-06fc 204006fe call p_g24_tx_fast_hop 
-06fd 202006de branch p_keyboard_g24_transmit_loop 
+06e4 20404bfb call kscan_dispatch 
+06e5 204003d4 call p_keyboard_device_select 
+06e6 6fe0cba1 fetch 1 ,mem_keyboard_switch_device_flag 
+06e7 243a3646 nbranch g24_transmit_no_ack ,blank 
+06e8 204006ea call p_g24_tx_fast_hop 
+06e9 202006ca branch p_keyboard_g24_transmit_loop 
 
 p_g24_tx_fast_hop:
-06fe 6fe2458f fetch 4 ,mem_24g_addr 
-06ff 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-0700 98467c00 isub temp ,null 
-0701 2022b222 branch g24_ch ,zero 
-0702 2020369a branch g24_tx_fast_hop 
+06ea 6fe2458f fetch 4 ,mem_24g_addr 
+06eb 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+06ec 98467c00 isub temp ,null 
+06ed 2022b222 branch g24_ch ,zero 
+06ee 2020369a branch g24_tx_fast_hop 
 
 p_keyboard_g24_ackpayload_parse:
-0703 2040366e call g24_ackpayload_parse 
-0704 6fe0cd1b fetch 1 ,mem_24g_rxbuf_new + 1 
-0705 2fe00201 compare 0x01 ,pdata ,0x01 
-0706 24608000 nrtn true 
-0707 6fe0cd1c fetch 1 ,mem_24g_rxbuf_new + 2 
-0708 c07f81ad beq 0xff ,p_keyboard_24g_hibernate_set 
-0709 67e0c9aa store 1 ,mem_keyboard_led_status 
-070a 20600000 rtn 
+06ef 2040366e call g24_ackpayload_parse 
+06f0 6fe0cd1b fetch 1 ,mem_24g_rxbuf_new + 1 
+06f1 2fe00201 compare 0x01 ,pdata ,0x01 
+06f2 24608000 nrtn true 
+06f3 6fe0cd1c fetch 1 ,mem_24g_rxbuf_new + 2 
+06f4 c07f81ad beq 0xff ,p_keyboard_24g_hibernate_set 
+06f5 67e0c9aa store 1 ,mem_keyboard_led_status 
+06f6 20600000 rtn 
 
 p_keyboard_g24_short_sleep:
-070b 204036b4 call g24_lpm_wait 
-070c 24740000 nrtn user 
-070d 20400483 call p_clear_wake 
-070e 20204fe3 branch keyboard_g24_short_sleep + 4 
+06f7 204036b4 call g24_lpm_wait 
+06f8 24740000 nrtn user 
+06f9 2040046e call p_clear_wake 
+06fa 20204fe3 branch keyboard_g24_short_sleep + 4 
 
 p_g24_receive_update_rxbuff:
-070f 2040317d call g24_receive_byte 
-0710 67e0cd1a store 1 ,mem_24g_rxbuf_new 
-0711 c5138717 bmark1 mark_24g_rxmode ,p_g24_receive_skip 
-0712 6fe0cd1a fetch 1 ,mem_24g_rxbuf_new 
-0713 1fe97e00 rshift3 pdata ,pdata 
-0714 6848c589 fetcht 1 ,mem_24g_data_type 
-0715 a8400e00 icompare bits_data ,temp 
-0716 2420b18c nbranch g24_type_error ,true 
+06fb 2040317d call g24_receive_byte 
+06fc 67e0cd1a store 1 ,mem_24g_rxbuf_new 
+06fd c5138703 bmark1 mark_24g_rxmode ,p_g24_receive_skip 
+06fe 6fe0cd1a fetch 1 ,mem_24g_rxbuf_new 
+06ff 1fe97e00 rshift3 pdata ,pdata 
+0700 6848c589 fetcht 1 ,mem_24g_data_type 
+0701 a8400e00 icompare bits_data ,temp 
+0702 2420b18c nbranch g24_type_error ,true 
 
 p_g24_receive_skip:
-0717 2040317d call g24_receive_byte 
-0718 e7e08005 istore 1 ,contw 
-0719 1fe67c44 sub pdata ,68 ,null 
-071a 2020314e branch g24_receive_skip + 6 
+0703 2040317d call g24_receive_byte 
+0704 e7e08005 istore 1 ,contw 
+0705 1fe67c44 sub pdata ,68 ,null 
+0706 2020314e branch g24_receive_skip + 6 
 
 p_g24_read_len_pid_crc:
-071b 6fe0cd1b fetch 1 ,mem_24g_rxbuf_new + 1 
-071c 67e0c57d store 1 ,mem_24g_rxdata_length 
-071d 1fe0fe01 increase 1 ,pdata 
-071e d8c04d1b arg mem_24g_rxbuf_new + 1 ,contr 
-071f 98c08c00 iadd contr ,contr 
-0720 efe18006 ifetch 3 ,contr 
-0721 67e1c580 store 3 ,mem_24g_sta_crc 
-0722 6fe0cd1b fetch 1 ,mem_24g_rxbuf_new + 1 
-0723 2020321e branch g24_read_len_pid_crc + 10 
+0707 6fe0cd1b fetch 1 ,mem_24g_rxbuf_new + 1 
+0708 67e0c57d store 1 ,mem_24g_rxdata_length 
+0709 1fe0fe01 increase 1 ,pdata 
+070a d8c04d1b arg mem_24g_rxbuf_new + 1 ,contr 
+070b 98c08c00 iadd contr ,contr 
+070c efe18006 ifetch 3 ,contr 
+070d 67e1c580 store 3 ,mem_24g_sta_crc 
+070e 6fe0cd1b fetch 1 ,mem_24g_rxbuf_new + 1 
+070f 2020321e branch g24_read_len_pid_crc + 10 
 
 p_g24_transmit_packet:
-0724 6fe0c5ca fetch 1 ,mem_24g_disable_fec1 
-0725 243a0728 nbranch p_g24_transmit_nolr ,blank 
-0726 784efc00 disable encode_fec0 
-0727 782dfc00 enable encode_fec1 
+0710 6fe0c5ca fetch 1 ,mem_24g_disable_fec1 
+0711 243a0714 nbranch p_g24_transmit_nolr ,blank 
+0712 784efc00 disable encode_fec0 
+0713 782dfc00 enable encode_fec1 
 
 p_g24_transmit_nolr:
-0728 7823fc00 enable enable_white 
-0729 7824fc00 enable enable_crc 
-072a 6fe0c58a fetch 1 ,mem_24g_txlen 
-072b 98007200 iforce loopcnt 
-072c d8c04da6 arg mem_24g_txpayload_new ,contr 
-072d 202031b3 branch g24tr_loop 
+0714 7823fc00 enable enable_white 
+0715 7824fc00 enable enable_crc 
+0716 6fe0c58a fetch 1 ,mem_24g_txlen 
+0717 98007200 iforce loopcnt 
+0718 d8c04da6 arg mem_24g_txpayload_new ,contr 
+0719 202031b3 branch g24tr_loop 
 
 p_g24_pair_sm_common_end:
-072e 6fe0c5d4 fetch 1 ,mem_24g_pair_sm 
-072f c17f8000 rtneq state_24g_pairing_success 
-0730 c000b2db beq state_24g_pairing_1 ,g24_pair_sm_1_waiting_ack 
-0731 c0010735 beq state_24g_pairing_2 ,p_g24_pair_sm_2_waiting_ack 
-0732 c001873a beq state_24g_pairing_3 ,p_g24_pair_sm_3_waiting_ack 
-0733 c002073e beq state_24g_pairing_4 ,p_g24_pair_sm_4_waiting_ack 
-0734 20600000 rtn 
+071a 6fe0c5d4 fetch 1 ,mem_24g_pair_sm 
+071b c17f8000 rtneq state_24g_pairing_success 
+071c c000b2db beq state_24g_pairing_1 ,g24_pair_sm_1_waiting_ack 
+071d c0010721 beq state_24g_pairing_2 ,p_g24_pair_sm_2_waiting_ack 
+071e c0018726 beq state_24g_pairing_3 ,p_g24_pair_sm_3_waiting_ack 
+071f c002072a beq state_24g_pairing_4 ,p_g24_pair_sm_4_waiting_ack 
+0720 20600000 rtn 
 
 p_g24_pair_sm_2_waiting_ack:
-0735 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
-0736 203a32e1 branch g24_pair_sm_2_waiting_ack_skip ,blank 
-0737 6fe24dee fetch 4 ,mem_24g_rxpayload_new + 2 
-0738 207a0000 rtn blank 
-0739 202032e0 branch g24_pair_sm_2_waiting_ack + 3 
+0721 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
+0722 203a32e1 branch g24_pair_sm_2_waiting_ack_skip ,blank 
+0723 6fe24dee fetch 4 ,mem_24g_rxpayload_new + 2 
+0724 207a0000 rtn blank 
+0725 202032e0 branch g24_pair_sm_2_waiting_ack + 3 
 
 p_g24_pair_sm_3_waiting_ack:
-073a 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
-073b 203a32e9 branch g24_pair_sm_3_waiting_ack_skip ,blank 
-073c 6fe24dee fetch 4 ,mem_24g_rxpayload_new + 2 
-073d 202032e6 branch g24_pair_sm_3_waiting_ack + 3 
+0726 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
+0727 203a32e9 branch g24_pair_sm_3_waiting_ack_skip ,blank 
+0728 6fe24dee fetch 4 ,mem_24g_rxpayload_new + 2 
+0729 202032e6 branch g24_pair_sm_3_waiting_ack + 3 
 
 p_g24_pair_sm_4_waiting_ack:
-073e 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
-073f 203a0744 branch p_g24_pair_sm_4_waiting_ack_skip ,blank 
-0740 6fe24dee fetch 4 ,mem_24g_rxpayload_new + 2 
-0741 684a45e8 fetcht 4 ,mem_24g_receiver_addr 
-0742 98467c00 isub temp ,null 
-0743 24628000 nrtn zero 
+072a 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
+072b 203a0730 branch p_g24_pair_sm_4_waiting_ack_skip ,blank 
+072c 6fe24dee fetch 4 ,mem_24g_rxpayload_new + 2 
+072d 684a45e8 fetcht 4 ,mem_24g_receiver_addr 
+072e 98467c00 isub temp ,null 
+072f 24628000 nrtn zero 
 
 p_g24_pair_sm_4_waiting_ack_skip:
-0744 7045d4ff jam state_24g_pairing_success ,mem_24g_pair_sm 
-0745 70066f39 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
-0746 2040782b call ui_ipc_send_event 
-0747 58000000 setarg 0 
-0748 67e145d8 store 2 ,mem_24g_pair_timeout 
-0749 6fe24dee fetch 4 ,mem_24g_rxpayload_new + 2 
-074a 202032f7 branch g24_pair_sm_4_waiting_ack_skip + 6 
+0730 7045d4ff jam state_24g_pairing_success ,mem_24g_pair_sm 
+0731 70066f39 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+0732 2040782b call ui_ipc_send_event 
+0733 58000000 setarg 0 
+0734 67e145d8 store 2 ,mem_24g_pair_timeout 
+0735 6fe24dee fetch 4 ,mem_24g_rxpayload_new + 2 
+0736 202032f7 branch g24_pair_sm_4_waiting_ack_skip + 6 
 
 p_g24_send_slow_heart_info:
-074b 6fe0ce4d fetch 1 ,mem_24g_tx_key_matrix_flag 
-074c 243a0755 nbranch p_g24_send_key_matrix_info ,blank 
-074d 70458902 jam type_kb ,mem_24g_data_type 
-074e 20403636 call g24_transmit_rf_ctrl_clear 
-074f 70458801 jam 1 ,mem_24g_datalen 
-0750 6fe0c589 fetch 1 ,mem_24g_data_type 
-0751 79207e05 set1 data_heart ,pdata 
-0752 67e0cd60 store 1 ,mem_24g_txbuf_new 
-0753 20400682 call p_g24_transmit_prep 
-0754 202006dd branch p_keyboard_g24_transmit_process 
+0737 6fe0ce4d fetch 1 ,mem_24g_tx_key_matrix_flag 
+0738 243a0741 nbranch p_g24_send_key_matrix_info ,blank 
+0739 70458902 jam type_kb ,mem_24g_data_type 
+073a 20403636 call g24_transmit_rf_ctrl_clear 
+073b 70458801 jam 1 ,mem_24g_datalen 
+073c 6fe0c589 fetch 1 ,mem_24g_data_type 
+073d 79207e05 set1 data_heart ,pdata 
+073e 67e0cd60 store 1 ,mem_24g_txbuf_new 
+073f 2040066d call p_g24_transmit_prep 
+0740 202006c9 branch p_keyboard_g24_transmit_process 
 
 p_g24_send_key_matrix_info:
-0755 70460200 jam 0 ,mem_24g_abort_pac 
+0741 70460200 jam 0 ,mem_24g_abort_pac 
 
 p_g24_send_key_matrix_info_prep:
-0756 2040069e call p_g24_txbuf_clear 
-0757 6fe0c589 fetch 1 ,mem_24g_data_type 
-0758 79207e06 set1 data_key_matrix ,pdata 
-0759 67e0cd60 store 1 ,mem_24g_txbuf_new 
-075a 6fe0ce49 fetch 1 ,mem_24g_tx_data_count 
-075b 203a076e branch p_g24_send_key_matrix_remainder_data ,blank 
-075c 1fefa240 mul32 pdata ,64 ,rega 
-075d 58004ab6 setarg mem_keyboard_keyvalue_map_new_end 
-075e 6848ce4a fetcht 1 ,mem_24g_tx_data_remainder 
-075f 98467e00 isub temp ,pdata 
-0760 9a260c00 isub rega ,contr 
-0761 df200040 arg 64 ,loopcnt 
-0762 d8a04d61 arg mem_24g_txbuf_new + 1 ,contw 
-0763 20407ccc call memcpy_fast 
-0764 18c27e00 copy contr ,pdata 
-0765 67e14e4b store 2 ,mem_key_matrix_rptr 
-0766 6fe0ce49 fetch 1 ,mem_24g_tx_data_count 
-0767 1fe0ffff increase -1 ,pdata 
-0768 67e0ce49 store 1 ,mem_24g_tx_data_count 
-0769 70458841 jam 65 ,mem_24g_datalen 
+0742 20400689 call p_g24_txbuf_clear 
+0743 6fe0c589 fetch 1 ,mem_24g_data_type 
+0744 79207e06 set1 data_key_matrix ,pdata 
+0745 67e0cd60 store 1 ,mem_24g_txbuf_new 
+0746 6fe0ce49 fetch 1 ,mem_24g_tx_data_count 
+0747 203a075a branch p_g24_send_key_matrix_remainder_data ,blank 
+0748 1fefa240 mul32 pdata ,64 ,rega 
+0749 58004ab6 setarg mem_keyboard_keyvalue_map_new_end 
+074a 6848ce4a fetcht 1 ,mem_24g_tx_data_remainder 
+074b 98467e00 isub temp ,pdata 
+074c 9a260c00 isub rega ,contr 
+074d df200040 arg 64 ,loopcnt 
+074e d8a04d61 arg mem_24g_txbuf_new + 1 ,contw 
+074f 20407ccc call memcpy_fast 
+0750 18c27e00 copy contr ,pdata 
+0751 67e14e4b store 2 ,mem_key_matrix_rptr 
+0752 6fe0ce49 fetch 1 ,mem_24g_tx_data_count 
+0753 1fe0ffff increase -1 ,pdata 
+0754 67e0ce49 store 1 ,mem_24g_tx_data_count 
+0755 70458841 jam 65 ,mem_24g_datalen 
 
 p_g24_send_key_matrix_data_end:
-076a 70458902 jam type_kb ,mem_24g_data_type 
-076b 20403636 call g24_transmit_rf_ctrl_clear 
-076c 20400682 call p_g24_transmit_prep 
-076d 202006dd branch p_keyboard_g24_transmit_process 
+0756 70458902 jam type_kb ,mem_24g_data_type 
+0757 20403636 call g24_transmit_rf_ctrl_clear 
+0758 2040066d call p_g24_transmit_prep 
+0759 202006c9 branch p_keyboard_g24_transmit_process 
 
 p_g24_send_key_matrix_remainder_data:
-076e 6fe0ce4a fetch 1 ,mem_24g_tx_data_remainder 
-076f 67e0c588 store 1 ,mem_24g_datalen 
-0770 1fe27200 copy pdata ,loopcnt 
-0771 6fe14e4b fetch 2 ,mem_key_matrix_rptr 
-0772 1fe20c00 copy pdata ,contr 
-0773 d8a04d61 arg mem_24g_txbuf_new + 1 ,contw 
-0774 20407ccc call memcpy_fast 
-0775 704e4d00 jam 0 ,mem_24g_tx_key_matrix_flag 
-0776 2020076a branch p_g24_send_key_matrix_data_end 
+075a 6fe0ce4a fetch 1 ,mem_24g_tx_data_remainder 
+075b 67e0c588 store 1 ,mem_24g_datalen 
+075c 1fe27200 copy pdata ,loopcnt 
+075d 6fe14e4b fetch 2 ,mem_key_matrix_rptr 
+075e 1fe20c00 copy pdata ,contr 
+075f d8a04d61 arg mem_24g_txbuf_new + 1 ,contw 
+0760 20407ccc call memcpy_fast 
+0761 704e4d00 jam 0 ,mem_24g_tx_key_matrix_flag 
+0762 20200756 branch p_g24_send_key_matrix_data_end 
 
 p_key_matrix_length_calcu:
-0777 58004ab6 setarg mem_keyboard_keyvalue_map_new_end 
-0778 d8404a16 arg mem_keyboard_keyvalue_map_new_start ,temp 
-0779 60494e4b storet 2 ,mem_key_matrix_rptr 
-077a 98467e00 isub temp ,pdata 
-077b 1fe6fc40 div pdata ,64 
-077c 20407d5f call get_div_result 
-077d 18070400 remainder temp 
-077e 67e0ce49 store 1 ,mem_24g_tx_data_count 
-077f 6048ce4a storet 1 ,mem_24g_tx_data_remainder 
-0780 20600000 rtn 
+0763 58004ab6 setarg mem_keyboard_keyvalue_map_new_end 
+0764 d8404a16 arg mem_keyboard_keyvalue_map_new_start ,temp 
+0765 60494e4b storet 2 ,mem_key_matrix_rptr 
+0766 98467e00 isub temp ,pdata 
+0767 1fe6fc40 div pdata ,64 
+0768 20407d5f call get_div_result 
+0769 18070400 remainder temp 
+076a 67e0ce49 store 1 ,mem_24g_tx_data_count 
+076b 6048ce4a storet 1 ,mem_24g_tx_data_remainder 
+076c 20600000 rtn 
 
 p_adc_init_data:
-0781 6fe401fd fetch 8 ,mem_otp_adc 
-0782 203a6f79 branch adc_init_cal_data_default ,blank 
-0783 67e443fd store 8 ,mem_reference_inter1p8v_2v_adc_io_data 
-0784 20406b3a call enable_otp_read 
-0785 20406aad call loadcode_check_otp_lock 
-0786 dfe00fc0 arg otp_offset_adc_param_l_c0 ,pdata 
-0787 9a40a400 iadd regb ,regb 
-0788 df20000a arg 10 ,loopcnt 
-0789 da2001fd arg mem_otp_temp ,rega 
-078a 20406b74 call otp_read_data 
-078b 20406b37 call disable_otp 
-078c 6fe401fd fetch 8 ,mem_otp_temp 
-078d 207a0000 rtn blank 
-078e 67e44be8 store 8 ,mem_adc_reference3v_gpio1v_ft_data 
-078f efe10006 ifetch 2 ,contr 
-0790 e7e10005 istore 2 ,contw 
-0791 20600000 rtn 
+076d 6fe401fd fetch 8 ,mem_otp_adc 
+076e 203a6f79 branch adc_init_cal_data_default ,blank 
+076f 67e443fd store 8 ,mem_reference_inter1p8v_2v_adc_io_data 
+0770 20406b3a call enable_otp_read 
+0771 20406aad call loadcode_check_otp_lock 
+0772 dfe00fc0 arg otp_offset_adc_param_l_c0 ,pdata 
+0773 9a40a400 iadd regb ,regb 
+0774 df20000a arg 10 ,loopcnt 
+0775 da2001fd arg mem_otp_temp ,rega 
+0776 20406b74 call otp_read_data 
+0777 20406b37 call disable_otp 
+0778 6fe401fd fetch 8 ,mem_otp_temp 
+0779 207a0000 rtn blank 
+077a 67e44be8 store 8 ,mem_adc_reference3v_gpio1v_ft_data 
+077b efe10006 ifetch 2 ,contr 
+077c e7e10005 istore 2 ,contw 
+077d 20600000 rtn 
 
 p_sadc_cal_write:
-0792 6ff080cc fetch 1 ,core_sadc_ctrl 
-0793 79207e01 set1 1 ,pdata 
-0794 67f080cc store 1 ,core_sadc_ctrl 
-0795 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0796 6fe0c433 fetch 1 ,mem_adc_cal_c7 
-0797 67e0c419 store 1 ,mem_spi_write_addr 
-0798 df200008 arg 8 ,loopcnt 
-0799 20406f67 call sadc_cal_write + 4 
-079a 6240c419 storer regb ,1 ,mem_spi_write_addr 
-079b 6ff08a0a fetch 1 ,core_gpadc_cfg2 
-079c 793ffe04 set0 4 ,pdata 
-079d 67f08a0a store 1 ,core_gpadc_cfg2 
-079e 20600000 rtn 
+077e 6ff080cc fetch 1 ,core_sadc_ctrl 
+077f 79207e01 set1 1 ,pdata 
+0780 67f080cc store 1 ,core_sadc_ctrl 
+0781 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+0782 6fe0c433 fetch 1 ,mem_adc_cal_c7 
+0783 67e0c419 store 1 ,mem_spi_write_addr 
+0784 df200008 arg 8 ,loopcnt 
+0785 20406f67 call sadc_cal_write + 4 
+0786 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0787 6ff08a0a fetch 1 ,core_gpadc_cfg2 
+0788 793ffe04 set0 4 ,pdata 
+0789 67f08a0a store 1 ,core_gpadc_cfg2 
+078a 20600000 rtn 
 
 p_vdd_calculate_by_mode:
 
 p_vdd_reference_inter3v_calculate:
-079f 6fe0c407 fetch 1 ,mem_adc_config_flag 
-07a0 c00107a2 beq adc_config_gpio ,p_vdd_reference_inter3v_calculate_by_mode_gpio 
-07a1 20600000 rtn 
+078b 6fe0c407 fetch 1 ,mem_adc_config_flag 
+078c c001078e beq adc_config_gpio ,p_vdd_reference_inter3v_calculate_by_mode_gpio 
+078d 20600000 rtn 
 
 p_vdd_reference_inter3v_calculate_by_mode_gpio:
-07a2 580003e8 setarg 1000 
-07a3 67e14405 store 2 ,mem_reference_voltage 
-07a4 68494be8 fetcht 2 ,mem_adc_reference3v_gpio1v_ft_data 
-07a5 6fe14bea fetch 2 ,mem_adc_reference3v_gpio2v_ft_data 
-07a6 da6003e8 arg 1000 ,regc 
-07a7 20406fc0 call vdd_calculate 
-07a8 202007a9 branch p_mul1v_div1v_to_cal 
+078e 580003e8 setarg 1000 
+078f 67e14405 store 2 ,mem_reference_voltage 
+0790 68494be8 fetcht 2 ,mem_adc_reference3v_gpio1v_ft_data 
+0791 6fe14bea fetch 2 ,mem_adc_reference3v_gpio2v_ft_data 
+0792 da6003e8 arg 1000 ,regc 
+0793 20406fc0 call vdd_calculate 
+0794 20200795 branch p_mul1v_div1v_to_cal 
 
 p_mul1v_div1v_to_cal:
-07a9 68494bf0 fetcht 2 ,mem_adc_reference3v_inter1v_ft_data 
-07aa 984ffe00 imul32 temp ,pdata 
-07ab 68494bf2 fetcht 2 ,mem_adc_reference3v_inter1v_now_data 
-07ac 9846fc00 idiv temp 
-07ad 20207d5f branch get_div_result 
+0795 68494bf0 fetcht 2 ,mem_adc_reference3v_inter1v_ft_data 
+0796 984ffe00 imul32 temp ,pdata 
+0797 68494bf2 fetcht 2 ,mem_adc_reference3v_inter1v_now_data 
+0798 9846fc00 idiv temp 
+0799 20207d5f branch get_div_result 
 
 p_enable_adc_init_config:
-07ae 20400792 call p_sadc_cal_write 
-07af 6ff08a09 fetch 1 ,core_gpadc_cfg1 
-07b0 793ffe07 set0 7 ,pdata 
-07b1 67f08a09 store 1 ,core_gpadc_cfg1 
-07b2 708a0777 jam 0x77 ,core_gpadc_ctrl 
-07b3 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-07b4 708a0d61 jam 0x61 ,core_vtest_ctrl0 
-07b5 708a0b00 jam 0x00 ,core_gpadc_cfg3 
-07b6 20600000 rtn 
+079a 2040077e call p_sadc_cal_write 
+079b 6ff08a09 fetch 1 ,core_gpadc_cfg1 
+079c 793ffe07 set0 7 ,pdata 
+079d 67f08a09 store 1 ,core_gpadc_cfg1 
+079e 708a0777 jam 0x77 ,core_gpadc_ctrl 
+079f 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+07a0 708a0d61 jam 0x61 ,core_vtest_ctrl0 
+07a1 708a0b00 jam 0x00 ,core_gpadc_cfg3 
+07a2 20600000 rtn 
 
 p_enable_adc:
 
 p_enable_adc_reference_source_inter3v:
-07b7 204007ae call p_enable_adc_init_config 
-07b8 20406f90 call sadc_channel 
-07b9 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-07ba 67f080cd store 1 ,core_sadc_clkdiv 
-07bb 20406f97 call sadc_read 
-07bc 708a0d60 jam 0x60 ,core_vtest_ctrl0 
-07bd 7080cd00 jam 0x00 ,core_sadc_clkdiv 
+07a3 2040079a call p_enable_adc_init_config 
+07a4 20406f90 call sadc_channel 
+07a5 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+07a6 67f080cd store 1 ,core_sadc_clkdiv 
+07a7 20406f97 call sadc_read 
+07a8 708a0d60 jam 0x60 ,core_vtest_ctrl0 
+07a9 7080cd00 jam 0x00 ,core_sadc_clkdiv 
 
 p_read_adc_inter1v:
-07be 204007ae call p_enable_adc_init_config 
-07bf 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-07c0 67f080cd store 1 ,core_sadc_clkdiv 
-07c1 708a0b50 jam 0x50 ,core_gpadc_cfg3 
-07c2 708a0ec0 jam 0xc0 ,core_vtest_ctrl1 
-07c3 df00000b arg 0xb ,regext_index 
-07c4 6de1440a fetchr regext ,2 ,mem_adc_current_value 
-07c5 7080cc03 jam 0x03 ,core_sadc_ctrl 
-07c6 204007d0 call p_sar_adc_read_wait 
-07c7 68590164 fetcht 2 ,core_sadc_data 
-07c8 60494bf2 storet 2 ,mem_adc_reference3v_inter1v_now_data 
-07c9 20406f9c call sadc_read_wait + 4 
-07ca df00000b arg 0xb ,regext_index 
-07cb 65e1440a storer regext ,2 ,mem_adc_current_value 
-07cc 708a0d60 jam 0x60 ,core_vtest_ctrl0 
-07cd 7080cd00 jam 0x00 ,core_sadc_clkdiv 
-07ce 7080cc00 jam 0x00 ,core_sadc_ctrl 
-07cf 20600000 rtn 
+07aa 2040079a call p_enable_adc_init_config 
+07ab 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+07ac 67f080cd store 1 ,core_sadc_clkdiv 
+07ad 708a0b50 jam 0x50 ,core_gpadc_cfg3 
+07ae 708a0ec0 jam 0xc0 ,core_vtest_ctrl1 
+07af df00000b arg 0xb ,regext_index 
+07b0 6de1440a fetchr regext ,2 ,mem_adc_current_value 
+07b1 7080cc03 jam 0x03 ,core_sadc_ctrl 
+07b2 204007bc call p_sar_adc_read_wait 
+07b3 68590164 fetcht 2 ,core_sadc_data 
+07b4 60494bf2 storet 2 ,mem_adc_reference3v_inter1v_now_data 
+07b5 20406f9c call sadc_read_wait + 4 
+07b6 df00000b arg 0xb ,regext_index 
+07b7 65e1440a storer regext ,2 ,mem_adc_current_value 
+07b8 708a0d60 jam 0x60 ,core_vtest_ctrl0 
+07b9 7080cd00 jam 0x00 ,core_sadc_clkdiv 
+07ba 7080cc00 jam 0x00 ,core_sadc_ctrl 
+07bb 20600000 rtn 
 
 p_sar_adc_read_wait:
-07d0 6ff08129 fetch 1 ,core_perf_status 
-07d1 c30287d0 bbit0 saradc_done ,p_sar_adc_read_wait 
-07d2 20600000 rtn 
+07bc 6ff08129 fetch 1 ,core_perf_status 
+07bd c30287bc bbit0 saradc_done ,p_sar_adc_read_wait 
+07be 20600000 rtn 
 
 p_zcode_entrance:
-07d3 6848ce33 fetcht 1 ,mem_zcode_temp_param0 
-07d4 18518400 rshift4 temp ,temp 
-07d5 6fe0ce34 fetch 1 ,mem_zcode_current_number 
-07d6 98467c00 isub temp ,null 
-07d7 202287f0 branch p_zcode_run ,zero 
-07d8 6048ce34 storet 1 ,mem_zcode_current_number 
-07d9 58000100 setarg zcode_buff_size 
-07da 984f8400 imul32 temp ,temp 
-07db 6fe1ce3b fetch 3 ,mem_xip_flash_offset 
-07dc 98467e00 isub temp ,pdata 
-07dd 6849ce35 fetcht 3 ,mem_flash_start_addr 
-07de 9840fe00 iadd temp ,pdata 
-07df 67e1ce38 store 3 ,mem_flash_address 
+07bf 6848ce33 fetcht 1 ,mem_zcode_temp_param0 
+07c0 18518400 rshift4 temp ,temp 
+07c1 6fe0ce34 fetch 1 ,mem_zcode_current_number 
+07c2 98467c00 isub temp ,null 
+07c3 202287dc branch p_zcode_run ,zero 
+07c4 6048ce34 storet 1 ,mem_zcode_current_number 
+07c5 58000100 setarg zcode_buff_size 
+07c6 984f8400 imul32 temp ,temp 
+07c7 6fe1ce3b fetch 3 ,mem_xip_flash_offset 
+07c8 98467e00 isub temp ,pdata 
+07c9 6849ce35 fetcht 3 ,mem_flash_start_addr 
+07ca 9840fe00 iadd temp ,pdata 
+07cb 67e1ce38 store 3 ,mem_flash_address 
 
 p_zcode_read_loop:
-07e0 20406c20 call spid_init_flash 
-07e1 20405d7b call mouse_spid_flash_release_form_powerdown 
-07e2 6fe1ce38 fetch 3 ,mem_flash_address 
-07e3 d8400100 arg zcode_buff_size ,temp 
-07e4 da200e00 arg mem_zcode_buff ,rega 
-07e5 20406c4d call spid_read_flash 
-07e6 6fe20e00 fetch 4 ,mem_zcode_buff 
-07e7 684a4e3e fetcht 4 ,mem_zcode_head 
-07e8 98467c00 isub temp ,null 
-07e9 242287e0 nbranch p_zcode_read_loop ,zero 
-07ea 58000e00 setarg mem_zcode_buff 
-07eb 67e140f0 store 2 ,mem_patch_ptr 
-07ec 7040f240 jam zcode_code_size ,mem_patch_len 
-07ed 20406b11 call load_ucode 
-07ee 58000000 setarg 0 
-07ef 67e240f0 store 4 ,mem_patch_ptr 
+07cc 20406c20 call spid_init_flash 
+07cd 20405d7b call mouse_spid_flash_release_form_powerdown 
+07ce 6fe1ce38 fetch 3 ,mem_flash_address 
+07cf d8400100 arg zcode_buff_size ,temp 
+07d0 da200e00 arg mem_zcode_buff ,rega 
+07d1 20406c4d call spid_read_flash 
+07d2 6fe20e00 fetch 4 ,mem_zcode_buff 
+07d3 684a4e3e fetcht 4 ,mem_zcode_head 
+07d4 98467c00 isub temp ,null 
+07d5 242287cc nbranch p_zcode_read_loop ,zero 
+07d6 58000e00 setarg mem_zcode_buff 
+07d7 67e140f0 store 2 ,mem_patch_ptr 
+07d8 7040f240 jam zcode_code_size ,mem_patch_len 
+07d9 20406b11 call load_ucode 
+07da 58000000 setarg 0 
+07db 67e240f0 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-07f0 6fe0ce33 fetch 1 ,mem_zcode_temp_param0 
-07f1 20200001 branch p_zcode 
+07dc 6fe0ce33 fetch 1 ,mem_zcode_temp_param0 
+07dd 20200001 branch p_zcode 
+
+p_flash_power_down:
+
+p_spi_flash_poweroff:
+07de 20406c20 call spid_init_flash 
+07df 20406c31 call spid_flash_powerdown 
+07e0 6848c421 fetcht 1 ,mem_spi_cs_gpio 
+07e1 20406ef3 call gpio_out_inactive 
+07e2 6848c423 fetcht 1 ,mem_spi_so_gpio 
+07e3 20406ef3 call gpio_out_inactive 
+07e4 6848c424 fetcht 1 ,mem_spi_sclk_gpio 
+07e5 20406ef3 call gpio_out_inactive 
+07e6 6848c422 fetcht 1 ,mem_spi_si_gpio 
+07e7 18467cff sub temp ,ui_button_gpio_disable ,null 
+07e8 20628000 rtn zero 
+07e9 20206ee0 branch gpio_config_input_without_wake 
               org 0x2000
 
 start:
@@ -35021,15 +35011,15 @@
 30002 20600000 rtn 
 
 z_keyboard_cb_fuction:
-30003 58000455 setarg p_keyboard_24g_package_data 
+30003 58000440 setarg p_keyboard_24g_package_data 
 30004 67e145f2 store 2 ,mem_cb_24g_transmit_data 
 30005 58004ff8 setarg keyboard_24g_search_dongle 
 30006 67e145f4 store 2 ,mem_cb_24g_search_receiver 
-30007 5800045a setarg p_keyboard_lpm_before_common 
+30007 58000445 setarg p_keyboard_lpm_before_common 
 30008 67e145f6 store 2 ,mem_cb_24g_lpm_before 
-30009 58000531 setarg p_keyboard_le 
+30009 5800051c setarg p_keyboard_le 
 3000a 67e143d9 store 2 ,mem_cb_le_process 
-3000b 58000489 setarg p_keyboard_process_lpm_before 
+3000b 58000474 setarg p_keyboard_process_lpm_before 
 3000c 67e143d7 store 2 ,mem_cb_before_lpm 
 3000d 58004a9a setarg keyboard_priority_bb_event 
 3000e 67e143dd store 2 ,mem_cb_bb_event_process 
@@ -35072,7 +35062,7 @@
 4000f 58000000 setarg 0 
 40010 67e3c846 store 7 ,mem_mouse_key 
 40011 70473f01 jam 1 ,mem_sensor_shutdown_flag 
-40012 202006d6 branch p_keyboard_g24_long_sleep 
+40012 202006c1 branch p_keyboard_g24_long_sleep 
 
 z_keyboard_24g_fast_conn_attempt_fail:
 40013 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
@@ -35100,7 +35090,7 @@
 40025 20405b21 call mouse_le_clean_connect_flag 
 40026 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
 40027 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-40028 2020048d branch p_keyboard_app_enter_hibernate 
+40028 20200478 branch p_keyboard_app_enter_hibernate 
 
 z_keyboard_stop_discovery:
 40029 58000000 setarg 0 
@@ -35110,7 +35100,7 @@
 4002d 70479200 jam 0 ,mem_mouse_bluetooth_reconnect_timeout 
 4002e 20405c3e call mouse_stop_le_adv 
 4002f 6fe0ca08 fetch 1 ,mem_keyboard_device_poweron_timer_count 
-40030 203a048c branch p_keyboard_device_led_all_off + 1 ,blank 
+40030 203a0477 branch p_keyboard_device_led_all_off + 1 ,blank 
 40031 20600000 rtn 
               org 0x50001
 
Index: output/romcode.rom
===================================================================
--- /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/output/romcode.rom	(revision 4533)
+++ /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/output/romcode.rom	(working copy)
@@ -24117,15 +24117,15 @@
 20200022
 c0180003
 20600000
-58000455
+58000440
 67e145f2
 58004ff8
 67e145f4
-5800045a
+58000445
 67e145f6
-58000531
+5800051c
 67e143d9
-58000489
+58000474
 67e143d7
 58004a9a
 67e143dd
@@ -24161,7 +24161,7 @@
 58000000
 67e3c846
 70473f01
-202006d6
+202006c1
 6fe44713
 c29f6034
 c2986034
@@ -24183,7 +24183,7 @@
 20405b21
 6fe143ef
 c28042fc
-2020048d
+20200478
 58000000
 67e14790
 d8e00006
@@ -24191,7 +24191,7 @@
 70479200
 20405c3e
 6fe0ca08
-203a048c
+203a0477
 20600000
 c0280003
 20600000
@@ -24247,4 +24247,4 @@
 20204d5a
 7049c311
 20204d5a
-000013c3
\ No newline at end of file
+000085bb
\ No newline at end of file
Index: program/bt.prog
===================================================================
--- /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/program/bt.prog	(revision 4533)
+++ /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/program/bt.prog	(working copy)
@@ -55,7 +55,7 @@
 //	call sp_wait_pubkey_calc_done
 endif
 	call lpm_recover_clk,wake
-main_loop:	
+main_loop:
 	bpatch patch00_2,mem_patch00
 ifdef SECURE_CONNECTION
 	call sp_calc_sequence_256
@@ -76,7 +76,7 @@
 	set0 mark_context,mark
 	call context_save
 	branch le_disable
-	
+
 connection_incontext:
 	bpatch patch00_3,mem_patch00
 	call context_search_insniff
@@ -88,7 +88,7 @@
 //	bbit1 mode_master, master_dispatch
 //	branch slave_dispatch
 	rtn
-	
+
 connection_nosniff:
 	jam 0,mem_current_context
 	call context_get_next
@@ -100,7 +100,7 @@
 /**************************************/
 /**************idle dispatch*********/
 /**************************************/
-	
+
 idle_dispatch:
 	fetch 1,mem_hci_cmd
 	rtn blank
@@ -132,7 +132,7 @@
 	copy rega,contr
 	bbit1 mode_le,memcpy
 	rtn
-	
+
 context_save:
 	bpatch patch00_5,mem_patch00
 	fetch 2,mem_context_ptr
@@ -140,8 +140,8 @@
 	force context_size,loopcnt
 	arg mem_le_state,contr
 	branch memcpy
-	
-	
+
+
 
 context_get_next:
 	arg context_num,loopcnt
@@ -162,7 +162,7 @@
 context_get_next_sniff:
 	loop context_get_next_loop
 	rtn
-	
+
 context_new:
 	bpatch patch00_6,mem_patch00
 	arg context_search_empty,regc
@@ -171,23 +171,23 @@
 	deposit rega
 	store 2,mem_context_ptr
 	branch enable_zero
-	
 
-	
+
+
 	//rtn nzero if idle(no conn)
 context_check_idle:
 	arg context_check_inconn,regc
 	branch context_search
-	
 
-	
+
+
 	/* return zero if conn handle is found */
 context_search_conn_handle:
 	fetcht 1,mem_hci_conn_handle
 context_search_conn_handle2:
 	arg context_search_handle,regc
 	branch context_search
-	
+
 	/* return zero if plap is found */
 context_search_plap:
 	bpatch patch00_7,mem_patch00
@@ -219,7 +219,7 @@
 context_search_empty:
 	bbit1 state_inconn,context_search_next
 	branch enable_zero
-	
+
 context_search_lap:
 	bbit0 state_inconn,context_search_next
 context_search_lap_cont:
@@ -251,26 +251,26 @@
 ifdef SECURE_CONNECTION
 	fetch 1,mem_sc_calc
 	nbranch context_search_sniff_sc,blank
-endif	
+endif
 	fetch 9,mem_temp
 	copy regb,contr
-	increase 5,pdata  
+	increase 5,pdata
 	branch context_search_meet1
-	
+
 ifdef SECURE_CONNECTION
 context_search_sniff_sc:
 	fetch 9,mem_temp
-	copy regb,contr	
-	increase 20,pdata  
-endif	
+	copy regb,contr
+	increase 20,pdata
+endif
 context_search_meet1:
 	nbranch context_search_next,positive
 context_search_meet:
 	copy temp,bt_clk
 	call context_next_anchor
 	branch enable_zero
-	
-	
+
+
 context_search_sniff_miss:
 	iforce regb
 	add rega,coffset_tsniff,contr
@@ -280,29 +280,29 @@
 	branch context_search_sniff_loop
 
 sign_pdata_temp:
-	rshift16 pdata,timeup    
-	rshift8 timeup,timeup    
-	branch sign_pdata_temp_p0,zero    
-	compare 0xf,timeup,0xf    
-	nrtn true    
-	rshift16 temp,timeup    
-	rshift8 timeup,timeup    
-	nrtn zero    
-	set1 28,temp    
-	rtn
-sign_pdata_temp_p0:    
-	rshift16 temp,timeup    
-	rshift8 timeup,timeup    
-	compare 0xf,timeup,0xf    
-	nrtn true    
-	set1 28,pdata    
+	rshift16 pdata,timeup
+	rshift8 timeup,timeup
+	branch sign_pdata_temp_p0,zero
+	compare 0xf,timeup,0xf
+	nrtn true
+	rshift16 temp,timeup
+	rshift8 timeup,timeup
+	nrtn zero
+	set1 28,temp
+	rtn
+sign_pdata_temp_p0:
+	rshift16 temp,timeup
+	rshift8 timeup,timeup
+	compare 0xf,timeup,0xf
+	nrtn true
+	set1 28,pdata
 	rtn
 
 context_check_inconn:
 	bbit0 state_inconn,context_search_next
 	branch enable_zero			// found
 
-	
+
 context_check_a_wack:
 	bbit0 state_inconn,context_search_next
 	add rega,coffset_mode,contr
@@ -332,7 +332,7 @@
 	deposit timeup
 	istore 4,contw
 	branch le_context_nextevent
-	
+
 
 context_search_window:
 	bbit0 state_insniff,context_search_next
@@ -414,7 +414,7 @@
 	fetch 2,mem_param_rt_rthalfslot
 	isub temp,pdata
 	iadd alarm,temp
-	
+
 calc_clke_pos:
 	storet 6,mem_le_clk_offset
 	rtn
@@ -439,7 +439,7 @@
 calc_clke_pos_adj:		/* add 2 clock */
 	force 0,null
 	branch calc_clke_pos2
-	
+
 /******************************************/
 /********* RF related functions ***********/
 /******************************************/
@@ -461,7 +461,7 @@
 	qsetflag true,pdata
 	istore 1,contw
 	rtn
-	
+
 rx_dcoc_avg:
 	nop 60
 btdma:
@@ -470,7 +470,7 @@
 	jam 9,0x8985
 	jam 0x9,0x8981
 	jam 0x3,0x8981
-	jam 0x6,0x8980	
+	jam 0x6,0x8980
 	nop 60
 	arg 0,rega
 	arg 0,regb
@@ -488,7 +488,7 @@
 	bpatch patch01_7,mem_patch01
 	call set_sync_on
 	arg 39,temp
-	call set_freq_rx	
+	call set_freq_rx
 	call rf_rx_enable
 	jam 0x7f,0x8a25
 	jam 0x1a,0x8a30
@@ -517,7 +517,7 @@
 	jam 0x52,0x8a8f
 	jam 2,0x8a30
 	jam 0,0x8981
-	
+
 shutdown_radio:
 	bpatch patch02_0,mem_patch02
 	call rf_debug_shutdown_radio_line	//L-H-L
@@ -537,35 +537,35 @@
 
 set_sync_on:
 	bpatch patch02_1,mem_patch02
-	jam 0x60,0x8a0f 
-	jam 0xaa,0x8a10 
-	jam 0x7a,0x8a12 
-	jam 0x00,0x8a25 
-	jam 0x00,0x8a26 
+	jam 0x60,0x8a0f
+	jam 0xaa,0x8a10
+	jam 0x7a,0x8a12
+	jam 0x00,0x8a25
+	jam 0x00,0x8a26
 	nop 60
-	jam 0x20,0x8a20 
-	jam 0xfd,0x8a23 
+	jam 0x20,0x8a20
+	jam 0xfd,0x8a23
 set_sync_on_end:
-	jam 0x12,0x8a24 
-	jam 0x10,0x8a24 
+	jam 0x12,0x8a24
+	jam 0x10,0x8a24
 	nop 60
-	jam 0x60,0x8a12 
-	jam 0xdd,0x8a23 
+	jam 0x60,0x8a12
+	jam 0xdd,0x8a23
 	rtn
 
 set_freq_rx:
 	bpatch patch02_2,mem_patch02
-	jam 0x01,0x8900 
-	jam 0x9d,0x8a23 
-	jam 0x02,0x8a24 
-	nop 20 
+	jam 0x01,0x8900
+	jam 0x9d,0x8a23
+	jam 0x02,0x8a24
+	nop 20
 	jam 0x65,0x8a70
 	jam 0x9f,0x8a23
 	call set_lemode
 	storet 1,mem_last_freq
 	increase 1,temp
 //	branch aac_res_lookup
-	
+
 /* temp is frequency, 00=2400Mhz */
 aac_res_lookup:
 	bpatch patch02_3,mem_patch02
@@ -609,7 +609,7 @@
 	store 2,0x8907
 set_lemode_2m:
 	jam 3,0x8901
-	jam 0x84,0x8920	
+	jam 0x84,0x8920
 	rtnmark1 mark_ble_2M
 	jam 1,0x8901
 	jam 0x80,0x8920
@@ -648,28 +648,28 @@
 	jam 0xd,0x8900
 	rtn
 
-	
+
 rf_rx_agc_set:
 	fetch 1,mem_gain_fix
-	beq 0xff,rf_rx_enable_no_soft_agc 
+	beq 0xff,rf_rx_enable_no_soft_agc
 	arg mem_gain_table,contr
 	iadd contr,contr
 	ifetch 1,contr
 	store 1,core_rf_rx_gain_fix
 	jam 0x27,core_rf_rx_agc_ctrl
-	
+
 rf_rx_enable_no_soft_agc:
 	fetcht 1,mem_gain_second_agc_en	//0x00 or 0x08
 	fetch 1,core_rf_rx_agc_ctrl
 	ior temp,pdata
 	store 1,core_rf_rx_agc_ctrl
 	rtn
-	
+
 
 set_freq_tx_int:
-	jam 0x03,0x8900 
-	jam 0x02,0x8a24 
-	nop 20 
+	jam 0x03,0x8900
+	jam 0x02,0x8a24
+	nop 20
 	jam 0x65,0x8a70
 	jam 0xdf,0x8a23
 	call set_lemode
@@ -706,8 +706,8 @@
 	storer rega, 1,0x8a22
 	rshift8 rega,rega
 	storer rega, 1,0x8a21
-	jam 0xa0,0x8a20 
-	jam 0xe0,0x8a20 
+	jam 0xa0,0x8a20
+	jam 0xe0,0x8a20
 	jam 0xa0,0x8a20
 	rtn
 
@@ -743,20 +743,20 @@
 	setarg 0x0aaa7e
 	store 3,0x8a0f
 	nop 60
-	jam 0x00,0x8a25 
-	jam 0x0d,0x8a26 
-	jam 0x56,0x8a16 
+	jam 0x00,0x8a25
+	jam 0x0d,0x8a26
+	jam 0x56,0x8a16
 	nop 30
-	jam 0x1b,0x8a15 
+	jam 0x1b,0x8a15
 	call set_tx_power
 	nop 20
-	jam 0x0f,0x8a26 
+	jam 0x0f,0x8a26
 	nop 20
-	jam 0xa8,0x8a10 
-	jam 0x00,0x8a11 
+	jam 0xa8,0x8a10
+	jam 0x00,0x8a11
 	rtn
-	
-set_tx_power:	
+
+set_tx_power:
 	bpatch patch03_1,mem_patch03
 	fetch 1,mem_tx_power
 	beq TX_POWER_0DB,set_tx_power_0db
@@ -769,60 +769,60 @@
 	beq TX_POWER_F10DB,set_tx_power_f10db
 	beq TX_POWER_F20DB,set_tx_power_f20db
 set_tx_power_0db:
-	jam 0x17,0x8a14 
+	jam 0x17,0x8a14
 	setarg 0x251a3f
 	store 3,0x8a60
-set_tx_power_8a63_28:	
-	jam 0x28,0x8a63 
+set_tx_power_8a63_28:
+	jam 0x28,0x8a63
 	rtn
 
 set_tx_power_3db:
-	jam 0x25,0x8a14 
+	jam 0x25,0x8a14
 	setarg 0xa91c2d
 	store 3,0x8a60
-set_tx_power_8a63_2f:	
-	jam 0x2f,0x8a63 
+set_tx_power_8a63_2f:
+	jam 0x2f,0x8a63
 	rtn
 
 set_tx_power_5db:
-	jam 0x25,0x8a14 
+	jam 0x25,0x8a14
 	setarg 0xa91c3f
 	store 3,0x8a60
 	branch set_tx_power_8a63_2f
 
 set_tx_power_7db:
-	jam 0x25,0x8a14 
+	jam 0x25,0x8a14
 	setarg 0xa9383f
 	store 3,0x8a60
 	branch set_tx_power_8a63_2f
 
 set_tx_power_10db:
-	jam 0x25,0x8a14 
+	jam 0x25,0x8a14
 	setarg 0xa93f3f
 	store 3,0x8a60
 	branch set_tx_power_8a63_2f
 
 
 set_tx_power_f3db:
-	jam 0x17,0x8a14 
+	jam 0x17,0x8a14
 	setarg 0x251827
 	store 3,0x8a60
 	branch set_tx_power_8a63_28
-	
+
 set_tx_power_f5db:
-	jam 0x17,0x8a14 
+	jam 0x17,0x8a14
 	setarg 0x25181c
 	store 3,0x8a60
 	branch set_tx_power_8a63_28
 
 set_tx_power_f10db:
-	jam 0x17,0x8a14 
+	jam 0x17,0x8a14
 	setarg 0x25180b
 	store 3,0x8a60
 	branch set_tx_power_8a63_28
 
 set_tx_power_f20db:
-	jam 0x17,0x8a14 
+	jam 0x17,0x8a14
 	setarg 0x251000
 	store 3,0x8a60
 	branch set_tx_power_8a63_28
@@ -843,14 +843,14 @@
 	ifetch 1,contr
 	istore 1,contw
 	branch initialize_radio_loop
-	
+
 initialize_radio_cont:
 	bpatch patch03_2,mem_patch03
 	fetch 1,mem_wdt_always_work
 	call wdt_set_disable,blank
 
 	until null,lpo_edge
-	jam 0x5f,0x813b 
+	jam 0x5f,0x813b
 	fetch 1,mem_fcomp_div
 	beq XTAL_16M,initialize_radio_16m
 	fetch 1,mem_ring_ibias_trim
@@ -860,11 +860,11 @@
 	jam 0x24,0x8a80
 	jam 0x62,0x8a81
 	setarg 0xe61212
-	store 3,0x8a73	
+	store 3,0x8a73
 initialize_radio2:
 //	call gpio_set_before_lpm
 	jam 0x60,0x8a86
-	jam 0x3b,0x8a8b 
+	jam 0x3b,0x8a8b
 
 	call dpll_on
 	jam 0,core_config
@@ -880,7 +880,7 @@
 	jam SYSTEM_CLK_12M,mem_system_clk
 	call sadc_calibration
 	branch dpll_ring_ibias_calc
-	
+
 initialize_radio_16m:
 	fetch 1,mem_ring_ibias_trim
 	or_into 0x06,pdata
@@ -891,7 +891,7 @@
 	setarg 0xe40909
 	store 3,0x8a73
 	jam 0x2a,0x8a76
-	jam 0x04,0x8902	
+	jam 0x04,0x8902
 	branch initialize_radio2
 
 rfpll_aac_ghpc:
@@ -927,7 +927,7 @@
 	or_into 0x06,pdata
 	store 1,0x8a02
 	jam 0xe0,0x8a05
-dpll_on_24m:	
+dpll_on_24m:
 	jam 0xc8,0x8a00
 	nop 60
 	jam 0xa0,0x8a01
@@ -940,7 +940,7 @@
 aac_ghpc:
 	bpatch patch03_4,mem_patch03
 	jam 0x30,0x8a20
-	jam 0xdd,0x8a23 
+	jam 0xdd,0x8a23
 	call calc_freq
 wait_cal_done:
 	fetch 1,0x8a7c
@@ -1024,7 +1024,7 @@
 	isub temp,null
 	branch ring_ibias_trim_incrs,positive
 	fetcht 2,mem_ring_ibias_vtune_low
-	isub temp,null	
+	isub temp,null
 	rtn positive
 ring_ibias_trim_decrs:
 	fetch 1,mem_ring_ibias_trim
@@ -1040,7 +1040,7 @@
 	store 1,mem_ring_ibias_trim
 	rtn
 
-	
+
 save_rssi:
 	bpatch patch03_6,mem_patch03
 	 // bit6 is signed bit.
@@ -1064,22 +1064,22 @@
 	and pdata,0x1ff,pdata
 	isolate1 8,pdata
 	nbranch save_rssi_store,true
-	setarg 0	 
+	setarg 0
 save_rssi_store:
 	store 1,mem_rssi_hex
 	branch rssi_hex2dec
- 
+
 byte_sign_extern:
 	isolate1 7,pdata
 	nrtn true
 	arg 0xff00,temp
 	ior temp,pdata
 	rtn
- 
+
 rssi_hex2dec:
 	fetch 1,mem_rssi_hex
 	call bcd
-	store 1,mem_rssi			 
+	store 1,mem_rssi
 	rtn
 
 bcd:
@@ -1101,10 +1101,10 @@
 	nbranch gain_descend,positive
 	sub pdata,0x7f,null
 	branch gain_descend,positive
-	
+
 	fetchr rega, 1,core_rf_rx_gain_fix
 	fetch 1,mem_gain_fix
-	rtneq 0	
+	rtneq 0
 	arg mem_gain_table,contr
 	iadd contr,contr
 	ifetch 1,contr
@@ -1133,14 +1133,14 @@
 	and pdata,0xff,pdata
 	rtneq 0xff
 	rtneq 0xfe
-	
-gain_increase:	
+
+gain_increase:
 	fetch 1,mem_gain_fix
 	beq 1,set_rx_gain0
 	beq 2,set_rx_gain1
 //	beq 0,set_rx_gain0
 	branch set_rx_gain0
-	
+
 gain_descend:
 	fetch 1,mem_gain_fix
 	beq 0,set_rx_gain1
@@ -1153,12 +1153,12 @@
 set_rx_gain0:
 	jam 0,mem_gain_fix
 	rtn
-	
+
 set_rx_gain1:
 	jam 1,mem_gain_fix
 	rtn
 
-	
+
 
 
 
@@ -1197,14 +1197,14 @@
 assert:
 	bpatch patch04_1,mem_patch04
 	branch assert
-	
 
-sleep:	
+
+sleep:
 	rtn blank
 	/* sleep pdata clocks, only even clocks are accurate */
 	rshift pdata,pdata
 	increase -3,pdata
-sleep_loop:	
+sleep_loop:
 	increase -1,pdata
 	nbranch sleep_loop,zero
 	force 0,pdata
@@ -1236,7 +1236,7 @@
 	store 2,mem_param_clke_cal_le_2m
 	setarg param_clke_cal_le_coded
 	store 2,mem_param_clke_cal_le_coded
-	
+
 	bpatch patch04_2,mem_patch04
 	rtn wake
 	setarg ATT_DEFAULT_MTU
@@ -1245,7 +1245,7 @@
 	setarg mem_ble_tx_buff0
 	store 2,mem_ble_l2cap_tx_buff0_ptr
 	setarg mem_ble_l2cap_tx_buff_size
-	store 2,mem_ble_l2cap_tx_buff_size_ptr	
+	store 2,mem_ble_l2cap_tx_buff_size_ptr
 	rshift clkn_bt,pdata
 	store 4,mem_last_clkn
 	rtn
@@ -1262,7 +1262,7 @@
 	fetch 1,core_lpm_isogate
 	bbit0 gpio_latch,power_up
 	enable wake
-	bbit1 cold_wake,lpmwake		// wakeup from lpm	
+	bbit1 cold_wake,lpmwake		// wakeup from lpm
 	disable wake
 	deposit auxcnt
 	nbranch lpmwake,blank		// sleep interrupted, wakeup
@@ -1275,7 +1275,7 @@
 	call lpm_load_context,wake
 	fetch 1,core_lpm_isogate
 	set0 gpio_latch,pdata			// enable gpio normal function after load gpio configuration
-	store 1,core_lpm_isogate		
+	store 1,core_lpm_isogate
 	nbranch boot_load,wake		// wakeup from hibernate
 ifdef YC1121SB
 	nop 1
@@ -1288,25 +1288,25 @@
 power_up:
 	call lpm_poweron_retmem
 boot_load:
-	call loadcode	
+	call loadcode
 	storer alarm,4,mem_saved_gpio_in
 	rtn
 
 lpm_poweron_retmem:
 	until null,lpo_edge
 	fetch 1,core_lpm_ldosel
-	and_into 0x88,pdata			// clear ldo to default all zero 
+	and_into 0x88,pdata			// clear ldo to default all zero
 	store 1,core_lpm_ldosel
 	until null,lpo_edge
 	fetch 1,core_lpm_isogate
 	or_into 0xf,pdata				// turn on all retmem switch
-	store 1,core_lpm_isogate		
+	store 1,core_lpm_isogate
 	until null,lpo_edge
 	set1 isogate,pdata				// turn on isolation gate
-	store 1,core_lpm_isogate		
+	store 1,core_lpm_isogate
 	until null,lpo_edge
 	set1 retmem_cs,pdata			// assert CSN
-	store 1,core_lpm_isogate		
+	store 1,core_lpm_isogate
 	until null,lpo_edge
 	rtn
 
@@ -1337,7 +1337,7 @@
 	set1 option_lock,pdata
 	store 1,core_peripheral_lock
 	branch lpm_write_wait
-	
+
 lpm_write_ice_disable:
 	fetch 1,core_lpm_sysctl
 	set0 ice_mode,pdata
@@ -1356,7 +1356,7 @@
 lpm_write_3bytes:
 	arg 3,loopcnt
 	branch lpm_write_loop
-	
+
 lpm_write_mpu_s0:
 	arg core_mpu_s0_saddr,contw
 lpm_write_dword:
@@ -1389,7 +1389,7 @@
 	store 1,mem_lpm_hv_sel
 lpm_write_sel_hv:
 	store 1,core_io_doze_en
-lpm_write_wait:	
+lpm_write_wait:
 	until null,lpo_edge
 	rtn
 
@@ -1425,7 +1425,7 @@
 	fetch 1,core_spid_ctrl
 	store 1,mem_saved_spidctrl
 	branch lpm_write_gpio_wakeup
-	
+
 lpm_write_gpio_wakeup:
 	arg 12,loopcnt
 	arg mem_gpio_wakeup_cfg,contr
@@ -1468,7 +1468,7 @@
 	bpatch patch04_4,mem_patch04
 	arg param_hibernate_clks,temp
 	fetch 1,mem_lpm_hibernate_switch
-	store 1,mem_lpm_isogate_final	
+	store 1,mem_lpm_isogate_final
 	fetch 1,mem_lpm_sysctl
 	store 1,core_lpm_sysctl
 	until null,lpo_edge
@@ -1527,7 +1527,7 @@
 	store 1,mem_lpm_xtalcnt
 	nop 30000
 	nop 30000
-	nop 30000	
+	nop 30000
 	rtn
 
 
@@ -1601,7 +1601,7 @@
 	store 4,mem_sleep_counter_all
 	rtn
 
-	
+
 lpm_dispatch:
 	bpatch patch05_0,mem_patch05
 	call lpo_calibration
@@ -1616,14 +1616,14 @@
 	rtn blank
 lpm_dispatch_next:
 	fetch 1,mem_sc_calc
-	nrtn blank	
+	nrtn blank
 endif
 	arg context_check_a_wack,regc
 	call context_search
 	rtn zero
 	call lpm_check_wake_lock
 	nrtn blank
-	call context_check_idle						
+	call context_check_idle
 	nbranch lpm_dispatch_unconn,zero
 	rtn wake
 	bpatch patch05_1,mem_patch05
@@ -1658,24 +1658,24 @@
 //	call l2cap_lpm_save_txbuf
 	fetcht 4,mem_sleep_counter
 	branch lpm_sleep
-	
+
 lpm_dispatch_unconn:
 	bpatch patch05_3,mem_patch05
 	fetch 1,mem_le_adv_enable
 	nbranch lpm_unconn_cont,blank
 	rtn
-	
+
 lpm_unconn_cont:
 	fetch 2,mem_lpm_interval
 	rtn blank
 lpm_sleep_btclk:
 	fetcht 1,mem_lpm_overhead
 	isub temp,pdata
-	arg 7500,temp				
+	arg 7500,temp
 	imul32 temp,pdata
 	branch lpm_dispatch_sleep
 
-	
+
 lpm_mult_wait_timeout:
 	fetch 2,mem_cb_bt_set_mult
 	call callback_func
@@ -1764,6 +1764,6 @@
 	nsetflag blank,wake_lock_uart_tx ,rega
 	rtn
 
-	
+
 
 
Index: program/patch.prog
===================================================================
--- /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/program/patch.prog	(revision 4533)
+++ /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/program/patch.prog	(working copy)
@@ -222,10 +222,6 @@
 p_keyboard_adc_gpio_set:
 	fetch 1,mem_adc_config_flag
 	rtnne ADC_CONFIG_GPIO
-	//fetch 1,mem_adc_channel
-	//call p_adc_channel_set_gpio
-	//copy temp,pdata
-	//store 1,mem_adc_channel_gpio
 	setarg 18	  //gpio18
 	store 1,mem_adc_channel_gpio
 	set1 GPIO_ACTIVE_BIT,pdata
@@ -322,8 +318,6 @@
 	until null,lpo_edge
 	jam 0x88,0x813c
 	until null,lpo_edge
-	//fetch 1,mem_fcomp_div
-	//beq XTAL_16M,p_initialize_radio_16m
 	fetch 1,mem_ring_ibias_trim
 	or_into 0x04,pdata
 	store 1,0x8a02
@@ -2086,27 +2080,16 @@
 p_keyboard_device_select_g24:
 	fetch 1,mem_keyboard_switch_device_to_g24
 	rtn blank
-	fetch 1,mem_keyboard_fn_first
-	nbranch p_keyboard_device_select_g24_skip_fn,blank
 	fetch 2,mem_keyboard_keyvalue_buffer+2
 	fetcht 2,mem_keyboard_switch_device_to_g24+1
 	isub temp,null
 	branch p_keyboard_device_select_g24_press,zero
-	//byteswap temp,temp
-	arg 0x7f3a,temp
-	isub temp,null
-	branch p_keyboard_device_select_g24_press,zero
-	rtn
-
-p_keyboard_device_select_g24_skip_fn:
-	fetcht 1,mem_keyboard_keyvalue_buffer+2
-	fetch 1,mem_keyboard_switch_device_to_g24+2
+	byteswap temp,temp
 	isub temp,null
 	branch p_keyboard_device_select_g24_press,zero
 	rtn
 
 p_keyboard_device_select_g24_press:
-	//call ice_break
 	call enable_user
 	fetch 1,mem_keyboard_switch_device_flag
 	set1 KEYBOARD_FLAG_G24_DEVICE_BUTTON,pdata
@@ -2127,24 +2110,15 @@
 p_keyboard_device_select_bt1:
 	fetch 1,mem_keyboard_switch_device_to_bt1
 	rtn blank
-	fetch 1,mem_keyboard_fn_first
-	nbranch p_keyboard_device_select_bt1_skip_fn,blank
 	fetch 2,mem_keyboard_keyvalue_buffer+2
 	fetcht 2,mem_keyboard_switch_device_to_bt1+1
 	isub temp,null
 	branch p_keyboard_device_select_bt1_press,zero
-	//byteswap temp,temp
-	arg 0x7f3b,temp
+	byteswap temp,temp
 	isub temp,null
 	branch p_keyboard_device_select_bt1_press,zero
 	rtn
 
-p_keyboard_device_select_bt1_skip_fn:
-	fetcht 1,mem_keyboard_keyvalue_buffer+2
-	fetch 1,mem_keyboard_switch_device_to_bt1+2
-	isub temp,null
-	branch p_keyboard_device_select_bt1_press,zero
-	rtn
 
 p_keyboard_device_select_bt1_press:
 	call enable_user
@@ -2164,21 +2138,11 @@
 p_keyboard_device_select_bt2:
 	fetch 1,mem_keyboard_switch_device_to_bt2
 	rtn blank
-	fetch 1,mem_keyboard_fn_first
-	nbranch p_keyboard_device_select_bt2_skip_fn,blank
 	fetch 2,mem_keyboard_keyvalue_buffer+2
 	fetcht 2,mem_keyboard_switch_device_to_bt2+1
 	isub temp,null
 	branch p_keyboard_device_select_bt2_press,zero
-	//byteswap temp,temp
-	arg 0x7f3c,temp
-	isub temp,null
-	branch p_keyboard_device_select_bt2_press,zero
-	rtn
-
-p_keyboard_device_select_bt2_skip_fn:
-	fetcht 1,mem_keyboard_keyvalue_buffer+2
-	fetch 1,mem_keyboard_switch_device_to_bt2+2
+	byteswap temp,temp
 	isub temp,null
 	branch p_keyboard_device_select_bt2_press,zero
 	rtn
@@ -2312,6 +2276,7 @@
 	fetcht 1,mem_mouse_reuse_2ice_gpio
 	call mouse_gpio_config_input_pu
 	call mouse_gpio_set_high_impedance
+
 	branch mouse_adc_gpio_set_before_hibernate
 
 
@@ -2450,8 +2415,8 @@
 
 p_lpm_sleep:
 	//call xtal_fast_wake
-	//fetch 2,mem_cb_before_lpm_sleep
-	//call callback_func
+	// fetch 2,mem_cb_before_lpm_sleep
+	// call callback_func
 p_lpm_sleep_skip_cb_function:
 	fetch 4,mem_sleep_counter_all	// sleep total time, 32k unit
 	iadd temp,pdata
@@ -3221,6 +3186,7 @@
 	call g24_setgpio_lpm_before
 	fetch 1,mem_sensor_shutdown_flag
 	ncall keyboard_setgpio_hibernate,blank
+	call p_flash_power_down
 	fetch 8,mem_24g_enter_hibernate
 	branch g24_long_seep2
 
@@ -3767,3 +3733,18 @@
 endif
 
 
+p_flash_power_down:
+p_spi_flash_poweroff:
+	call spid_init_flash
+	call spid_flash_powerdown
+	fetcht 1,mem_spi_cs_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_spi_so_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_spi_sclk_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_spi_si_gpio
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	branch gpio_config_input_without_wake
+
Index: program/z.prog
===================================================================
--- /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/program/z.prog	(revision 4533)
+++ /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/program/z.prog	(working copy)
@@ -353,5 +353,3 @@
 	jam HID_KEY_N,mem_keyboard_commbination_standard_key_value
 	branch keyboard_commbination_left_gui_keypress
 
-
-
Index: sched/keyboard.dat
===================================================================
--- /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/sched/keyboard.dat	(revision 4533)
+++ /1121s/branch/keyboard/customer_FW/RY_Project/RY_2mode_3ch_keyboard/sched/keyboard.dat	(working copy)
@@ -131,9 +131,12 @@
 mem_lpm_mult:10
 mem_lpm_mult_init:10
 
-mem_keyboard_switch_device_to_g24:01 7f 01		#enable flag + 2byte commbination key #Fn+F1
-mem_keyboard_switch_device_to_bt1:01 7f 02		#enable flag + 2byte commbination key #Fn+F2
-mem_keyboard_switch_device_to_bt2:01 7f 03		#enable flag + 2byte commbination key #Fn+F3
+# mem_rf_debug_rx_gpio:93
+# mem_rf_debug_tx_gpio:93
+
+mem_keyboard_switch_device_to_g24:01 7f 1e		#enable flag + 2byte commbination key #Fn+F1
+mem_keyboard_switch_device_to_bt1:01 7f 1f		#enable flag + 2byte commbination key #Fn+F2
+mem_keyboard_switch_device_to_bt2:01 7f 20		#enable flag + 2byte commbination key #Fn+F3
 mem_keyboard_switch_device_to_bt3:01 7f 21		#enable flag + 2byte commbination key
 
 #ble
@@ -143,7 +146,7 @@
 mem_le_battery_level_updata_timer_init:96 00
 mem_le_keyboard_handle:15 00
 mem_le_notify_handle:19 00
-mem_le_multimedia_handle:1d 00d
+mem_le_multimedia_handle:1d 00
 mem_le_systemctrl_handle:21 00
 mem_le_pairing_handle:28 00
 mem_le_battery_level_handle:30 00
@@ -240,12 +243,12 @@
 # mem_mouse_fast_direct_timeout:64#64 #10s
 # mem_mouse_direct_timeout:64#64  #10s
 mem_mouse_discovery_timeout:b0 04  #2min
-mem_mouse_no_data_timeout:bd 0b   #5mins
+mem_mouse_no_data_timeout:b0 04   #2mins
 #mem_adc_low_volatage_led_blink_timer:64 00 #10s
 mem_keyboard_low_voltage_led_blink_timer_init:02 #200ms
 
 mem_same_keyvalue_timer_init:B8 0B		#5min
-mem_keyboard_caps_led_on_timer:b8 0b	#5min
+mem_keyboard_caps_led_on_timer:b0 04	#2min
 
 
 mem_device_flag:00	#00--24g 01--bt/ble
@@ -283,15 +286,20 @@
 ##												bt button connct gnd          bt button in matrix        two button commbination
 mem_keyboard_pairing_type:01					#                 00                                    00                                 01
 mem_config_select_device_button_gpio:ff			#              00~16			               ff					ff
-mem_keyboard_commbination_key_bt:ff ff			#		 not care				   not care			     Fn+F2
-mem_keyboard_commbination_key_24g:ff ff		#		 not care				   not care			     Fn+F1
-mem_keyboard_commbination_key_pair:ff ff		#Fn+C
+mem_keyboard_commbination_key_bt:29 1a			#ESC+W		 not care				   not care			     Fn+F2
+mem_keyboard_commbination_key_24g:29 14		#ESC+Q		 not care				   not care			     Fn+F1
+mem_keyboard_commbination_key_pair:7f 06		#Fn+C
 mem_eeprom_wp_gpio:ff
 mem_eeprom_scl_gpio:ff
 mem_eeprom_sda_gpio:ff
 mem_eeprom_base:e0 2e
 mem_otp_read_retention_max_size:40 02		# 16*pair count
 
+# mem_spi_cs_gpio:14
+# mem_spi_so_gpio:15
+# mem_spi_sclk_gpio:16
+# mem_spi_si_gpio:17
+
 mem_keyboard_caps_led_gpio:ff
 mem_keyboard_num_led_gpio:ff
 mem_keyboard_power_led_gpio:ff
@@ -304,6 +312,7 @@
 
 
 
+
 mem_mcu_stb_gpio:08
 mem_mcu_clk_gpio:07
 mem_mcu_rstb_gpio:ff
