地址线使用下拉,app中也使用断言,线程栈默认填充0x23+pro,malloc失败直接进断言

This commit is contained in:
ranchuan
2023-12-02 11:36:38 +08:00
parent 4a4b37d3f1
commit c4a1d5c088
8 changed files with 39 additions and 16 deletions

View File

@@ -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);