Index: output/flash.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/PBSwitch_3mode_3ch_Key_Logo_ADC_G30BL/output/flash.dat	(revision 6296)
+++ /branch/mouse_project/YJX_Project/YJX_1066/PBSwitch_3mode_3ch_Key_Logo_ADC_G30BL/output/flash.dat	(working copy)
@@ -9939,10 +9939,6 @@
 3f
 20
 40
-02
-d9
-20
-40
 3e
 9f
 20
@@ -9982,6 +9978,18 @@
 80
 7e
 68
+00
+80
+a4
+1f
+e1
+7e
+3f
+60
+00
+80
+a4
+68
 08
 c6
 f3
@@ -9989,14 +9997,6 @@
 20
 67
 ed
-00
-00
-00
-00
-00
-00
-00
-00
 20
 20
 00
@@ -12561,5 +12561,5 @@
 55
 00
 00
-79
-aa
+dd
+52
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/PBSwitch_3mode_3ch_Key_Logo_ADC_G30BL/output/program.lis	(revision 6296)
+++ /branch/mouse_project/YJX_Project/YJX_1066/PBSwitch_3mode_3ch_Key_Logo_ADC_G30BL/output/program.lis	(working copy)
@@ -36103,19 +36103,21 @@
 b002e 20402c21 call lpm_write_ctrl 
 b002f 204074bd call disable_authrom 
 b0030 2040073f call p_mouse_multi_led_off 
-b0031 204002d9 call p_mouse_store_flash_device_info 
-b0032 20403e9f call mouse_before_hibernate_wheel_gpio_set 
-b0033 2040025f call p_mouse_setgpio_hibernate 
-b0034 20400416 call p_mouse_logo_led_off 
-b0035 20400326 call p_flash_deep_power_down 
-b0036 68108081 hfetch 1 ,core_gpio_sel1 
-b0037 1fe17ef7 and pdata ,0xf7 ,pdata 
-b0038 60108081 hstore 1 ,core_gpio_sel1 
-b0039 6810807e hfetch 1 ,core_gpio_pd2 
-b003a 79207e06 set1 6 ,pdata 
-b003b 6010807e hstore 1 ,core_gpio_pd2 
-b003c 6808c6f3 fetcht 1 ,mem_sensor_data_gpio 
-b003d 202067ed branch gpio_clr_wake 
+b0031 20403e9f call mouse_before_hibernate_wheel_gpio_set 
+b0032 2040025f call p_mouse_setgpio_hibernate 
+b0033 20400416 call p_mouse_logo_led_off 
+b0034 20400326 call p_flash_deep_power_down 
+b0035 68108081 hfetch 1 ,core_gpio_sel1 
+b0036 1fe17ef7 and pdata ,0xf7 ,pdata 
+b0037 60108081 hstore 1 ,core_gpio_sel1 
+b0038 6810807e hfetch 1 ,core_gpio_pd2 
+b0039 79207e06 set1 6 ,pdata 
+b003a 6010807e hstore 1 ,core_gpio_pd2 
+b003b 680080a4 fetch 1 ,mem_gpio_wakeup_low + 3 
+b003c 1fe17e3f and pdata ,0x3f ,pdata 
+b003d 600080a4 store 1 ,mem_gpio_wakeup_low + 3 
+b003e 6808c6f3 fetcht 1 ,mem_sensor_data_gpio 
+b003f 202067ed branch gpio_clr_wake 
               org 0xc0001
 
 z_entranceb:
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/PBSwitch_3mode_3ch_Key_Logo_ADC_G30BL/output/romcode.rom	(revision 6296)
+++ /branch/mouse_project/YJX_Project/YJX_1066/PBSwitch_3mode_3ch_Key_Logo_ADC_G30BL/output/romcode.rom	(working copy)
@@ -25063,7 +25063,6 @@
 20402c21
 204074bd
 2040073f
-204002d9
 20403e9f
 2040025f
 20400416
@@ -25074,6 +25073,9 @@
 6810807e
 79207e06
 6010807e
+680080a4
+1fe17e3f
+600080a4
 6808c6f3
 202067ed
 c0588006
@@ -25166,4 +25168,4 @@
 20400035
 6008cda6
 20600000
-00009ff5
+0000fb68
Index: output/zcode.rom
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/PBSwitch_3mode_3ch_Key_Logo_ADC_G30BL/output/zcode.rom	(revision 6296)
+++ /branch/mouse_project/YJX_Project/YJX_1066/PBSwitch_3mode_3ch_Key_Logo_ADC_G30BL/output/zcode.rom	(working copy)
@@ -175,7 +175,6 @@
 20402c21
 204074bd
 2040073f
-204002d9
 20403e9f
 2040025f
 20400416
@@ -186,10 +185,11 @@
 6810807e
 79207e06
 6010807e
+680080a4
+1fe17e3f
+600080a4
 6808c6f3
 202067ed
-00000000
-00000000
 20200040
 c0480005
 c048801f
Index: program/z.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/PBSwitch_3mode_3ch_Key_Logo_ADC_G30BL/program/z.prog	(revision 6296)
+++ /branch/mouse_project/YJX_Project/YJX_1066/PBSwitch_3mode_3ch_Key_Logo_ADC_G30BL/program/z.prog	(working copy)
@@ -755,7 +755,7 @@
 	call lpm_write_ctrl
 	call disable_authrom
 	call p_mouse_multi_led_off
-	call p_mouse_store_flash_device_info
+//	call p_mouse_store_flash_device_info
 	call mouse_before_hibernate_wheel_gpio_set
 	call p_mouse_setgpio_hibernate
 	call p_mouse_logo_led_off
@@ -767,6 +767,10 @@
 	set1 6,pdata
 	hstore 1,core_gpio_pd2
 
+	fetch 1,mem_gpio_wakeup_low+3	//clear scl&sda wake
+	and pdata,0x3f,pdata
+	store 1,mem_gpio_wakeup_low+3
+
 	fetcht 1,mem_sensor_data_gpio
 	branch gpio_clr_wake
 	
