|
|
@ -25,31 +25,15 @@ |
|
|
|
* Copyright (C) 2009 by William Greiman |
|
|
|
*/ |
|
|
|
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
// Includes
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#include "../../inc/MarlinConfig.h" |
|
|
|
|
|
|
|
#if HAS_DRIVER(L6470) |
|
|
|
|
|
|
|
#include "Delay.h" |
|
|
|
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
// Public Variables
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
// Public functions
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#include "../../core/serial.h" |
|
|
|
#include "../../libs/L6470/L6470_Marlin.h" |
|
|
|
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
// Software L6470 SPI
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
|
|
|
|
// Make sure GCC optimizes this file.
|
|
|
|
// Note that this line triggers a bug in GCC which is fixed by casting.
|
|
|
|
// See the note below.
|
|
|
|