Strange behavior with call to HAL_GPIO_ReadPin()
I am seeing some strange happenings using X-CUBE-MEMS software pack, which generates some code for user buttons, LED outputs, etc.I noticed the user button was always returning GPIO_PIN_SET even when it should be returning GPIO_PIN_RESETI make a call...