Improve MINIMUM_STEPPER_PULSE

This commit is contained in:
Scott Lahteine
2016-09-23 23:59:16 -05:00
parent da1644313d
commit eabff30e75
3 changed files with 16 additions and 8 deletions

View File

@ -36,6 +36,9 @@
#define CRITICAL_SECTION_END SREG = _sreg;
#endif
// Clock speed factor
#define CYCLES_PER_MICROSECOND (F_CPU / 1000000UL) // 16 or 20
// Remove compiler warning on an unused variable
#define UNUSED(x) (void) (x)