1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +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:
Cristian Maglie
2013-11-18 10:53:27 +01:00
parent d0758af29a
commit 32832069ce
3 changed files with 4 additions and 3 deletions

View File

@ -20,8 +20,7 @@
#include <avr/interrupt.h>
#include <Arduino.h>
#include <Servo.h>
#include "ServoTimers.h"
#include "Servo.h"
#define usToTicks(_us) (( clockCyclesPerMicrosecond()* _us) / 8) // converts microseconds to tick (assumes prescale of 8) // 12 Aug 2009
#define ticksToUs(_ticks) (( (unsigned)_ticks * 8)/ clockCyclesPerMicrosecond() ) // converts from ticks back to microseconds