[2.0.x] Teensy 3.1 and 3.2 support (#11460)
This commit is contained in:
committed by
Scott Lahteine
parent
409a0632af
commit
7ecb8b4af5
@@ -66,12 +66,12 @@
|
||||
* With DEACTIVATE_SERVOS_AFTER_MOVE wait SERVO_DELAY and detach.
|
||||
*/
|
||||
|
||||
#ifndef SERVO_H
|
||||
#define SERVO_H
|
||||
|
||||
#if IS_32BIT_TEENSY
|
||||
#include "../HAL_TEENSY35_36/HAL_Servo_Teensy.h" // Teensy HAL uses an inherited library
|
||||
#pragma once
|
||||
|
||||
#if IS_TEENSY32
|
||||
#include "../HAL_TEENSY31_32/HAL_Servo_Teensy.h"
|
||||
#elif IS_TEENSY35 || IS_TEENSY36
|
||||
#include "../HAL_TEENSY35_36/HAL_Servo_Teensy.h"
|
||||
#elif defined(TARGET_LPC1768)
|
||||
#include "../HAL_LPC1768/LPC1768_Servo.h"
|
||||
#elif defined(STM32F1) || defined(STM32F1xx)
|
||||
@@ -111,5 +111,3 @@
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif // SERVO_H
|
||||
|
||||
Reference in New Issue
Block a user