From 0cd5f1748f0121cd16876da8e5be639743774b3b Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Wed, 3 Jun 2015 18:25:33 +0200 Subject: Hide unused error function, set prototypes --- Venus_Skeleton/Venus_Skeleton.ino | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Venus_Skeleton/Venus_Skeleton.ino') 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 +} -- cgit v1.2.1