more formatting fixes, commenting, and added static to the ISR helpers
2 files changed