fixing some compiler errors in CCS
Merge pull request #6 from warddr/merging-stm32

fixing some compiler errors in CCS