Improved STMicro L64XX stepper driver support (#16452)
This commit is contained in:
@@ -177,8 +177,8 @@
|
||||
#include "feature/prusa_MMU2/mmu2.h"
|
||||
#endif
|
||||
|
||||
#if HAS_DRIVER(L6470)
|
||||
#include "libs/L6470/L6470_Marlin.h"
|
||||
#if HAS_L64XX
|
||||
#include "libs/L64XX/L64XX_Marlin.h"
|
||||
#endif
|
||||
|
||||
const char NUL_STR[] PROGMEM = "",
|
||||
@@ -605,7 +605,7 @@ void manage_inactivity(const bool ignore_stepper_queue/*=false*/) {
|
||||
#endif
|
||||
|
||||
#if ENABLED(MONITOR_L6470_DRIVER_STATUS)
|
||||
L6470.monitor_driver();
|
||||
L64xxManager.monitor_driver();
|
||||
#endif
|
||||
|
||||
// Limit check_axes_activity frequency to 10Hz
|
||||
@@ -822,8 +822,8 @@ void setup() {
|
||||
|
||||
HAL_init();
|
||||
|
||||
#if HAS_DRIVER(L6470)
|
||||
L6470.init(); // setup SPI and then init chips
|
||||
#if HAS_L64XX
|
||||
L64xxManager.init(); // Set up SPI, init drivers
|
||||
#endif
|
||||
|
||||
#if ENABLED(MAX7219_DEBUG)
|
||||
|
Reference in New Issue
Block a user