summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-06-03 18:25:33 +0200
committerPeter Wu <peter@lekensteyn.nl>2015-06-10 14:03:41 +0200
commit0cd5f1748f0121cd16876da8e5be639743774b3b (patch)
treeddaaca0324baee713f4efaa3127f5a8bb2c19ad1
parenta40c1d26734ff1940ad125fd9b10aa4dfd145f1d (diff)
downloadcode-0cd5f1748f0121cd16876da8e5be639743774b3b.tar.gz
Hide unused error function, set prototypes
-rw-r--r--Venus_Skeleton/Venus_Skeleton.ino8
1 files changed, 7 insertions, 1 deletions
diff --git a/Venus_Skeleton/Venus_Skeleton.ino b/Venus_Skeleton/Venus_Skeleton.ino
index c51e4ba..213f0e6 100644
--- a/Venus_Skeleton/Venus_Skeleton.ino
+++ b/Venus_Skeleton/Venus_Skeleton.ino
@@ -101,6 +101,11 @@ int counterTurretWait = 0;
// ** HELPER FUNCTIONS **
// **********************
+// prototypes
+void opMode(opmode_t opmode);
+void stopAllServos();
+
+#if 0
// error helper
void error(int errorCode) {
opMode(OPMODE_ERROR);
@@ -121,6 +126,7 @@ void errorSequence(int errorCode) {
delay(3000);
}
}
+#endif
long microsecondsToInches(long microseconds)
{
@@ -836,4 +842,4 @@ void loop() {
// Delay for stability.
delay(2);
-} \ No newline at end of file
+}