Jasmine Karlsson / Mbed 2 deprecated train_rail

Dependencies:   mbed TextLCD

Revision:
31:9d973398554f
Parent:
28:1430685f4d12
--- a/Train.cpp	Mon Jun 25 14:57:17 2018 +0000
+++ b/Train.cpp	Thu Jun 28 15:08:41 2018 +0000
@@ -100,7 +100,7 @@
             return true;
         break;
     case 7: 
-        if(position == 8 || position == 6 || position == 7)
+        if(position == 8 || position == 6 || position == 7 || position == 9)
             return true;
         break;
     case 8: