但我用IAR却不可以这样做.警告!意思是说 :enumerated type mixed with another type 什么情况啊?
用keil编译时,每个源文件末尾都需要一行空行,如果没有,就会报上面的warning。 warning: #188-D: enumerated type mixed with another type 这个问题是因为传参的时候给枚举类型的形参传了非枚举类型的值导致的,比如下面这个函数: 1/**2* @brief Sets or clears the selected data port bit.3*4* @note This ...
" #188-D: enumerated type mixed with another type"这个说的是枚举类型中混入了其他类型“,#111-D: statement is unreachable”这个警告是说状态不可达。“ #177-D: function “encoder_handler” was declared but never referenced”这个是说 "encoder_handler"这个函数没有用到。这个可能是官方的bug,下面直接...
../Core/Src/main.c(251): warning: #188-D: enumerated type mixed with another type DS4_1.Up = HAL_GPIO_ReadPin(GPIOB, GPIO_PIN_4) ? 0 : 1; ../Core/Src/main.c(252): warning: #188-D: enumerated type mixed with another type DS4_1.right = HAL_GPIO_ReadPin(GPIOB, GPIO_PIN_...
存储器:SD卡 DAC:PCM1793 显示器:TFT OTM3225 通过FSMC总线驱动.方向盘:上下左右键、暂停播放键.软件...
• Values chosen must be enumerated and non-trivial. • Coherence between the identification field value and the message type is checked by Application software before consuming data. This method, when implemented in combination with DMA_SM_4, makes available a kind of vir...