Suspend Servos for STM32+NeoPixel (#19963)

This commit is contained in:
Jason Smith
2020-12-04 22:02:58 -08:00
committed by GitHub
parent 21ee7b1c86
commit 2c8f566231
5 changed files with 15 additions and 14 deletions

View File

@@ -29,6 +29,7 @@
#include "../shared/math_32bit.h"
#include "../shared/HAL_SPI.h"
#include "fastio.h"
#include "Servo.h"
#include "watchdog.h"
#include "MarlinSerial.h"
@@ -110,6 +111,8 @@
typedef int16_t pin_t;
#define HAL_SERVO_LIB libServo
#define PAUSE_SERVO_OUTPUT() libServo::pause_all_servos()
#define RESUME_SERVO_OUTPUT() libServo::resume_all_servos()
// ------------------------
// Public Variables