地址线使用下拉,app中也使用断言,线程栈默认填充0x23+pro,malloc失败直接进断言
This commit is contained in:
@@ -69,7 +69,8 @@ void CtrlGpio_DefInit(void)
|
||||
|
||||
//GPIO 配置
|
||||
GPIO_InitStructure.GPIO_Pin=SEG4_Pin|SEG3_Pin|SEG1_Pin|SEG2_Pin;
|
||||
GPIO_InitStructure.GPIO_Mode=GPIO_Mode_IN_FLOATING;
|
||||
// GPIO_InitStructure.GPIO_Mode=GPIO_Mode_IN_FLOATING;
|
||||
GPIO_InitStructure.GPIO_Mode=GPIO_Mode_IPD;
|
||||
GPIO_InitStructure.GPIO_Speed=GPIO_Speed_50MHz;
|
||||
GPIO_Init(GPIOC,&GPIO_InitStructure);
|
||||
|
||||
|
Reference in New Issue
Block a user