[NUCLEO_xxx] Fix issue with ticker + add volatile