aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/Servo
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@mit.edu>2010-12-15 19:17:55 -0500
committerMarti Bolivar <mbolivar@mit.edu>2010-12-15 19:17:55 -0500
commit07fa40623307ea474a775d6f9be5ce8afd783f23 (patch)
tree2d058abab0811b8afeeb76ab789b84e8cfb2a081 /libraries/Servo
parentd744fb826f4a6d6ce560f3b78f2e63a1f9666d9e (diff)
downloadlibrambutan-07fa40623307ea474a775d6f9be5ce8afd783f23.tar.gz
librambutan-07fa40623307ea474a775d6f9be5ce8afd783f23.zip
0.0.9 release.
Made some changes to Servo to get it to compile from within the IDE. Also fixed a lurking broken link in the docs.
Diffstat (limited to 'libraries/Servo')
-rw-r--r--libraries/Servo/Servo.cpp4
-rw-r--r--libraries/Servo/Servo.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/libraries/Servo/Servo.cpp b/libraries/Servo/Servo.cpp
index 4f60fbe..ae87b63 100644
--- a/libraries/Servo/Servo.cpp
+++ b/libraries/Servo/Servo.cpp
@@ -22,13 +22,13 @@
* THE SOFTWARE.
*****************************************************************************/
+#include "Servo.h"
+
#include "boards.h"
#include "io.h"
#include "pwm.h"
#include "wirish_math.h"
-#include "Servo.h"
-
// Configure prescaler and overflow for a 20msec period (could just
// use HardwareTimer::setPeriod(), but this lets conversions below
// happen more statically, in combination with an inlined map() -- a
diff --git a/libraries/Servo/Servo.h b/libraries/Servo/Servo.h
index d35572a..1c75618 100644
--- a/libraries/Servo/Servo.h
+++ b/libraries/Servo/Servo.h
@@ -27,7 +27,7 @@
#include <stdint.h>
-#include "HardwareTimer.h"
+#include "wirish.h" /* hack for IDE compile */
/* Note on Arduino compatibility: