Description
Tried to compile code that uses PWMServo.detach() on Teensy 3.2 and I get a linker error:
"undefined reference to `PWMServo::detach()'"
implementation is missing in PWMServo.cpp
Steps To Reproduce Problem
Compile code below for Teensy 3.x
Hardware & Software
Board: Teensy 3.2
Arduino IDE version: 1.8.5
Teensyduino version : 1.45
Operating system & version: MacOS Mojave
Arduino Sketch
#include <PWMServo.h>
PWMServo myservo;
void setup(){
myservo.attach(9);
myservo.detach();
}
void loop(){
}
### Errors or Incorrect Output
"undefined reference to `PWMServo::detach()'"
Description
Tried to compile code that uses PWMServo.detach() on Teensy 3.2 and I get a linker error:
"undefined reference to `PWMServo::detach()'"
implementation is missing in PWMServo.cpp
Steps To Reproduce Problem
Compile code below for Teensy 3.x
Hardware & Software
Board: Teensy 3.2
Arduino IDE version: 1.8.5
Teensyduino version : 1.45
Operating system & version: MacOS Mojave
Arduino Sketch