ESP32 servo support (#14109)
This commit is contained in:
committed by
Scott Lahteine
parent
bc5a1fe562
commit
74f44783ac
@ -53,7 +53,7 @@
|
||||
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
|
||||
#if HAS_SERVOS && !(IS_32BIT_TEENSY || defined(TARGET_LPC1768) || defined(STM32F1) || defined(STM32F1xx) || defined(STM32F4) || defined(STM32F4xx) || defined(STM32F7xx))
|
||||
#if HAS_SERVOS && !(IS_32BIT_TEENSY || defined(TARGET_LPC1768) || defined(STM32F1) || defined(STM32F1xx) || defined(STM32F4) || defined(STM32F4xx) || defined(STM32F7xx) || defined(ARDUINO_ARCH_ESP32))
|
||||
|
||||
#include "servo.h"
|
||||
#include "servo_private.h"
|
||||
|
@ -80,6 +80,8 @@
|
||||
#include "../HAL_STM32F4/HAL_Servo_STM32F4.h"
|
||||
#elif defined(ARDUINO_ARCH_STM32)
|
||||
#include "../HAL_STM32/HAL_Servo_STM32.h"
|
||||
#elif defined(ARDUINO_ARCH_ESP32)
|
||||
#include "../HAL_ESP32/HAL_Servo_ESP32.h"
|
||||
#else
|
||||
#include <stdint.h>
|
||||
|
||||
|
Reference in New Issue
Block a user