the RCC_TIM17 and RCC_TIM18 macros used in the "new" style were ok, just the old style raw bit definitions. Reported-by: Karl Hammar <karl@aspodata.se>