sparkfun / Logomatic

Main firmware for the Logomatic Version 2
http://www.sparkfun.com/products/10216
Other
14 stars 26 forks source link

moved delay_ms into its own files #7

Closed sielenk closed 8 years ago

sielenk commented 8 years ago

I found two almost identical delay_ms functions in the Main and USB Bootloader projects. To get rid of the duplicated code, I moved it into its own files in the lib folder and updated the two Makefiles accordingly.

BrentWilkins commented 8 years ago

I'm going to look into fixing that function when I get pack to the project. I haven't done any math, but I doubt it's accurate & I'm not a fan of blocking delays in ISRs.

sielenk commented 8 years ago

I thought so, that's why I kept the version with the comment :)