Cleaning up glitching.
[goodfet] / firmware / include / glitch.h
index 6f30d6d..7576c7e 100644 (file)
 #define GLITCHVOLTAGES 0x90
 #define GLITCHRATE     0x91
 
-//! Disable glitch state at init.
+//! Setup glitching.
 void glitchsetup();
 //! Setup analog chain for glitching.
 void glitchsetupdac();
+//! Call this before the function to be glitched.
+void glitchprime();
 
 extern u16 glitchH, glitchL, glitchstate, glitchcount;