Made dacWrite safe to call inside and outside of interrupt handlers
Whitespace changes