stm32f1: fix code cc110x_driver