I put this in the main.c before main(), it does not run. Google did not help. All though I did not read all 1790 results.
volatile int oma2=0;
volatile uint16_t oma=0;
This stands in 746 Discovery BSP example. I was trying to do simple animation/testing LCD.