iliasam / OpenSimpleLidar

Open Source scanning laser rangefinder
https://hackaday.io/project/20628-opensimplelidar
MIT License
2.39k stars 237 forks source link

Fix some MISRA C warnings #6

Closed SergeiSOficial closed 3 years ago

SergeiSOficial commented 3 years ago

Remove global variable DMA_InitStructure, because used local variables with same name. Fix possible divide for zero for variable avr_time. Fix volatile warnings Remove trailing blanks and added debug files into gitignore