mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-01 03:47:23 +03:00
Fixed compile error on StandardFirmata example.
Revert "Servo library refactoring. See #1617"
This reverts commit e8834d32f3
.
See #1617
This commit is contained in:
@ -19,7 +19,6 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <Servo.h>
|
||||
#include "ServoTimers.h"
|
||||
|
||||
#define usToTicks(_us) (( clockCyclesPerMicrosecond() * _us) / 32) // converts microseconds to tick
|
||||
#define ticksToUs(_ticks) (( (unsigned)_ticks * 32)/ clockCyclesPerMicrosecond() ) // converts from ticks back to microseconds
|
||||
|
Reference in New Issue
Block a user