Browse Source

MGMLX:V2.3.0.11-增加了看门狗功能

CHENJIE-PC\QiXiang_CHENJIE 3 years ago
parent
commit
27ce109ba2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      inc/app.h
  2. 1 1
      src/bsp_custom.c

+ 1 - 1
inc/app.h

@@ -51,7 +51,7 @@ extern "C" {
 #define	BLSWVERSION		0x01020000    //BootLoader版本号V1.2.0.0
 #define	DRVSWVERSION		0x01050000     //驱动层版本号V1.4.0.0  驱动层1.5.0.0,增加了三轴
 //#define	APPSWVERSION		0x01020209     
-#define	APPSWVERSION		0x0203000A
+#define	APPSWVERSION		0x0203000B
 //#define	APPSWVERSION		0x0201000E
 //--------------------------------------------------------------------------------
 

+ 1 - 1
src/bsp_custom.c

@@ -225,7 +225,7 @@ void BSP_CustomInit(void)
 	NVIC_EnableIRQ(PadWakeup2_IRQn);//lock
 	NVIC_EnableIRQ(PadWakeup3_IRQn);//gsensor
 	NVIC_EnableIRQ(PadWakeup4_IRQn);//gsensor
-	NVIC_DisableIRQ(PadWakeup5_IRQn);//wakeup2
+	NVIC_EnableIRQ(PadWakeup5_IRQn);//wakeup2
 	CheckLockOutState();
 	slpManStartWaitATTimer();