|
@@ -98,7 +98,7 @@ bool libServo::attach(const int32_t pin, const int32_t minAngle, const int32_t m
|
98
|
98
|
if (!PWM_PIN(pin)) return false;
|
99
|
99
|
|
100
|
100
|
timer_dev *tdev = PIN_MAP[pin].timer_device;
|
101
|
|
- uint8_t tchan = PIN_MAP[pin].timer_channel;
|
|
101
|
+ //uint8_t tchan = PIN_MAP[pin].timer_channel;
|
102
|
102
|
|
103
|
103
|
SET_PWM(pin);
|
104
|
104
|
servoWrite(pin, 0);
|
|
@@ -221,7 +221,7 @@ void libServo::move(const int32_t value) {
|
221
|
221
|
|
222
|
222
|
#else
|
223
|
223
|
|
224
|
|
- bool libServo::setupSoftPWM(const int32_t pin) {}
|
|
224
|
+ bool libServo::setupSoftPWM(const int32_t pin) { return false; }
|
225
|
225
|
void libServo::pwmSetDuty(const uint16_t duty_cycle) {}
|
226
|
226
|
void libServo::pauseSoftPWM() {}
|
227
|
227
|
|