I am using the Keil version 5 toolchain to program STM32F0 Series and I am not able to resolve the below-given error. I am sure I am missing something in it, but having a hard time finding it out.
> ..\Core\Src\max2871.c(169): error: #18: expected a ")"
if (((test_data[2] & ((1 << 28) | (1 << 27) | (1 << 26))) >> 26) == 0b110)
Thanks in Advance.
here is the complete function block:
void plo_check_lock_status(void)
{
// Saves the status only if the muxout pin is set correctly.
if (((test_data[2] & ((1 << 28) | (1 << 27) | (1 << 26))) >> 26) == 0b110)
plo_buff_push(HAL_GPIO_ReadPin(PLO_MUXOUT_GPIO_Port, PLO_MUXOUT_Pin));
else
HAL_NVIC_DisableIRQ(EXTI0_1_IRQn);
}