]> www.fi.muni.cz Git - bike-lights.git/commitdiff
main.c: split up the main() function
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 7 Jun 2013 16:00:31 +0000 (18:00 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 7 Jun 2013 16:03:05 +0000 (18:03 +0200)
- early HW setup, run once after reset, is moved to the first_boot()
  function
- main loop iteration is in a separate function main_loop_iteration()
- both functions (and hw_suspend() as well) are made inline


No differences found