Index: output/bt_program23.icode
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/bt_program23.icode	(revision 4337)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/bt_program23.icode	(working copy)
@@ -906,8 +906,8 @@
  00000905  0x0000052f fetch  0x00000001 , 0x00004b5e 
  00000906  0x00000530 increase  0x00000001 , 0x0000003f 
  00000907  0x00000531 store  0x00000001 , 0x00004b5e 
- 00000908  0x00000532 beq  0x00000005 , 0x000003a1 
- 00000909  0x00000533 beq  0x0000000a , 0x000003a8 
+ 00000908  0x00000532 beq  0x00000003 , 0x000003a1 
+ 00000909  0x00000533 beq  0x00000006 , 0x000003a8 
  00000910  0x00000534 rtn 
  00000911  0x00000538 fetch  0x00000001 , 0x00004b52 
  00000912  0x00000539 rtn  0x00000034 
@@ -26797,11 +26797,7 @@
  00262189  0x000091b2 branch  0x000057b8 
  00262190  0x000091b6 call  0x000002a1 
  00262191  0x000091b7 call  0x0000431a 
- 00262192  0x000091b8 fetch  0x00000006 , 0x00004722 
- 00262193  0x000091b9 fetcht  0x00000006 , 0x00004b66 
- 00262194  0x000091ba isub  0x00000002 , 0x0000003e 
- 00262195  0x000091bb branch  0x000004c7 , 0x00000005 
- 00262196  0x000091bc branch  0x0004000c 
+ 00262192  0x000091bc branch  0x0004000c 
  00327681  0x000091c2 beq  0x00000040 , 0x00050006 
  00327682  0x000091c3 beq  0x00000041 , 0x0005001c 
  00327683  0x000091c4 beq  0x00000042 , 0x00050029 
Index: output/bt_program23.list
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/bt_program23.list	(revision 4337)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/bt_program23.list	(working copy)
@@ -1056,8 +1056,8 @@
 0x389 001327 fetch 1 ,mem_mouse_discovery_blink_count 
 0x38a 001328 increase 1 ,pdata 
 0x38b 001329 store 1 ,mem_mouse_discovery_blink_count 
-0x38c 001330 beq 5 ,p_mouse_bt_led_off 
-0x38d 001331 beq 10 ,p_mouse_bt_discovery_led_on 
+0x38c 001330 beq 3 ,p_mouse_bt_led_off 
+0x38d 001331 beq 6 ,p_mouse_bt_discovery_led_on 
 0x38e 001332 rtn 
 :      001335 p_mouse_device_poweron_led_timer:
 0x38f 001336 fetch 1 ,mem_mouse_poweron_led_timer 
@@ -31226,11 +31226,7 @@
 :      037301 z_mouse_fast_conn_end:
 0x4002e 037302 call p_mouse_le_fast_conn_disable 
 0x4002f 037303 call mouse_select_reconn_device 
-0x40030 037304 fetch 6 ,mem_device1_addr 
-0x40031 037305 fetcht 6 ,mem_mouse_fast_conn_addr 
-0x40032 037306 isub temp ,null 
-0x40033 037307 branch p_mouse_long_button_bt_discovery ,zero 
-0x40034 037308 branch z_mouse_buletooth_check_reconn_target 
+0x40030 037308 branch z_mouse_buletooth_check_reconn_target 
               org 0x50001
 :      037313 z_entrance4:
 0x50001 037314 beq zcode_40 ,z_le_update_param 
Index: output/bt_program23.meta
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/bt_program23.meta	(revision 4337)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/bt_program23.meta	(working copy)
@@ -1327,8 +1327,8 @@
 	fetch 1,mem_mouse_discovery_blink_count
 	increase 1,pdata
 	store 1,mem_mouse_discovery_blink_count
-	beq 5,p_mouse_bt_led_off
-	beq 10,p_mouse_bt_discovery_led_on
+	beq 3,p_mouse_bt_led_off
+	beq 6,p_mouse_bt_discovery_led_on
 	rtn
 
 
@@ -37301,10 +37301,10 @@
 z_mouse_fast_conn_end:
 	call p_mouse_le_fast_conn_disable
 	call mouse_select_reconn_device
-	fetch 6,mem_device1_addr
-	fetcht 6,mem_mouse_fast_conn_addr
-	isub temp,null
-	branch p_mouse_long_button_bt_discovery ,zero
+//	fetch 6,mem_device1_addr
+//	fetcht 6,mem_mouse_fast_conn_addr
+//	isub temp,null
+//	branch p_mouse_long_button_bt_discovery ,zero
 	branch z_mouse_buletooth_check_reconn_target
 
 	
Index: output/bt_program23.rom
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/bt_program23.rom	(revision 4337)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/bt_program23.rom	(working copy)
@@ -906,8 +906,8 @@
 01101000000000001100101101011110
 00011111111000001111111000000001
 01100000000000001100101101011110
-11000000000000101000001110100001
-11000000000001010000001110101000
+11000000000000011000001110100001
+11000000000000110000001110101000
 00100000011000000000000000000000
 01101000000000001100101101010010
 00100000011110100000000000000000
@@ -262190,10 +262190,6 @@
 00100000001000000101011110111000
 00100000010000000000001010100001
 00100000010000000100001100011010
-01101000000000110100011100100010
-01101000000010110100101101100110
-10011000010001100111110000000000
-00100000001000101000010011000111
 00100000001000000000000000001100
                                 
                                 
@@ -327679,6 +327675,10 @@
                                 
                                 
                                 
+                                
+                                
+                                
+                                
 11000000001000000000000000000110
 11000000001000001000000000011100
 11000000001000010000000000101001
Index: output/flash.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/flash.dat	(revision 4337)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/flash.dat	(working copy)
@@ -3637,11 +3637,11 @@
 cb
 5e
 c0
-02
+01
 83
 a1
 c0
-05
+03
 03
 a8
 20
@@ -8108,8 +8108,8 @@
 20
 07
 e5
-65
-a7
+35
+08
 aa
 55
 08
@@ -11469,22 +11469,6 @@
 40
 43
 1a
-68
-03
-47
-22
-68
-0b
-4b
-66
-98
-46
-7c
-00
-20
-22
-84
-c7
 20
 20
 00
@@ -11533,6 +11517,22 @@
 00
 00
 00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
 20
 20
 00
@@ -12305,5 +12305,5 @@
 55
 00
 00
-b2
 e1
+17
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/program.lis	(revision 4337)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/program.lis	(working copy)
@@ -1204,8 +1204,8 @@
 0389 6800cb5e fetch 1 ,mem_mouse_discovery_blink_count 
 038a 1fe0fe01 increase 1 ,pdata 
 038b 6000cb5e store 1 ,mem_mouse_discovery_blink_count 
-038c c00283a1 beq 5 ,p_mouse_bt_led_off 
-038d c00503a8 beq 10 ,p_mouse_bt_discovery_led_on 
+038c c00183a1 beq 3 ,p_mouse_bt_led_off 
+038d c00303a8 beq 6 ,p_mouse_bt_discovery_led_on 
 038e 20600000 rtn 
 
 p_mouse_device_poweron_led_timer:
@@ -35648,11 +35648,7 @@
 z_mouse_fast_conn_end:
 4002e 204002a1 call p_mouse_le_fast_conn_disable 
 4002f 2040431a call mouse_select_reconn_device 
-40030 68034722 fetch 6 ,mem_device1_addr 
-40031 680b4b66 fetcht 6 ,mem_mouse_fast_conn_addr 
-40032 98467c00 isub temp ,null 
-40033 202284c7 branch p_mouse_long_button_bt_discovery ,zero 
-40034 2020000c branch z_mouse_buletooth_check_reconn_target 
+40030 2020000c branch z_mouse_buletooth_check_reconn_target 
               org 0x50001
 
 z_entrance4:
Index: output/ramcode.rom
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/ramcode.rom	(revision 4337)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/ramcode.rom	(working copy)
@@ -906,8 +906,8 @@
 6800cb5e
 1fe0fe01
 6000cb5e
-c00283a1
-c00503a8
+c00183a1
+c00303a8
 20600000
 6800cb52
 207a0000
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/romcode.rom	(revision 4337)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/output/romcode.rom	(working copy)
@@ -24771,10 +24771,6 @@
 202057b8
 204002a1
 2040431a
-68034722
-680b4b66
-98467c00
-202284c7
 2020000c
 c0200006
 c020801c
@@ -25241,4 +25237,4 @@
 c0020035
 c0028031
 20600000
-0000ccde
+0000f762
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/program/patch.prog	(revision 4337)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/program/patch.prog	(working copy)
@@ -1407,8 +1407,8 @@
 	fetch 1,mem_mouse_discovery_blink_count
 	increase 1,pdata
 	store 1,mem_mouse_discovery_blink_count
-	beq 5,p_mouse_bt_led_off
-	beq 10,p_mouse_bt_discovery_led_on
+	beq 3,p_mouse_bt_led_off
+	beq 6,p_mouse_bt_discovery_led_on
 	rtn
 
 
Index: program/z.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/program/z.prog	(revision 4337)
+++ /branch/mouse_project/YJX_Project/YJX_1059/PBSwitch_3mode_2Ch_phillips/program/z.prog	(working copy)
@@ -328,10 +328,10 @@
 z_mouse_fast_conn_end:
 	call p_mouse_le_fast_conn_disable
 	call mouse_select_reconn_device
-	fetch 6,mem_device1_addr
-	fetcht 6,mem_mouse_fast_conn_addr
-	isub temp,null
-	branch p_mouse_long_button_bt_discovery ,zero
+//	fetch 6,mem_device1_addr
+//	fetcht 6,mem_mouse_fast_conn_addr
+//	isub temp,null
+//	branch p_mouse_long_button_bt_discovery ,zero
 	branch z_mouse_buletooth_check_reconn_target
 
 	
