Temperature limit bug fix, removed compilation warnings (requires modifying stm32f4xx.h in chibios)