Add HAL_timer_start for AVR, use stepper timer to time pulses

This commit is contained in:
Scott Lahteine
2018-06-03 01:43:00 -05:00
parent e970e429b6
commit 3701869e6c
4 changed files with 41 additions and 36 deletions

View File

@@ -34,6 +34,7 @@
// --------------------------------------------------------------------------
#include "../../inc/MarlinConfig.h"
#include "HAL.h"
// --------------------------------------------------------------------------
// Externals
@@ -74,9 +75,11 @@
// --------------------------------------------------------------------------
#if ENABLED(SDSUPPORT)
#include "../../sd/SdFatUtil.h"
int freeMemory() { return SdFatUtil::FreeRam(); }
#else
#else // !SDSUPPORT
extern "C" {
extern char __bss_end;
@@ -93,7 +96,6 @@ extern "C" {
}
}
#endif //!SDSUPPORT
#endif
#endif // !SDSUPPORT
#endif // __AVR__