kh

Dependencies:   mbed PinDetect Servo

Revision:
1:2c365f6da61d
Parent:
0:28e05e1a3d1e
Child:
2:04bbd14722bd
--- a/open.cpp	Sat Nov 10 19:30:54 2018 +0000
+++ b/open.cpp	Sat Nov 10 20:08:46 2018 +0000
@@ -20,7 +20,7 @@
 *
 */
 enum states open() {
-    if (authenticate()) {
+    if (authenticateOpen()) {
         return OPEN;
     } else {
         lockSafe();
@@ -36,7 +36,7 @@
 *
 *  returns: true if cup found else false
 */
-bool authenticate() {
+bool authenticateOpen() {
     return CorrectEntrySequenceAttempt();
 }