CubeMX generates new HAL_TIM_PeriodElapsedCallback & deletes everything inside on changing timer
I have set HAL_IncTick timer (tim6) to not interfere with systick when using thread and RTOS, the new callback was created by cubeMX and I got error about second declaration, I moved my timers settings to newly created callback, later I decided to change to tim18, after code upload I found what some functions do not work like expected, by debugging I found what everything what was in this callback is gone and there is newly created fresh callback just with newly created tim18 settings, everything else is gone ! CubeMX do not checks previously created callback by cubeMX and just deletes it !
