ELEC2645 (2018/19) / Mbed 2 deprecated el17lw

Dependencies:   mbed

Revision:
29:bdc4138b5171
Parent:
27:c920c5ec31af
diff -r be77ad6c0bda -r bdc4138b5171 Platforms/Platforms.cpp
--- a/Platforms/Platforms.cpp	Tue May 07 08:39:38 2019 +0000
+++ b/Platforms/Platforms.cpp	Tue May 07 17:21:00 2019 +0000
@@ -33,6 +33,7 @@
 }
            
 void Platforms::set_line_2(int length) {
+  // Same as set_line_1.
   _line_2.x_start--;
   if (_line_2.x_start < 80 - length) _line_2.x_end--;
   if (_line_2.x_start <= 0) _line_2.x_start = 0;
@@ -43,6 +44,7 @@
 }
     
 void Platforms::set_line_3(int length) {
+  // Same as set_line_1.
   _line_3.x_start--;
   if (_line_3.x_start < 80 - length) _line_3.x_end--;
   if (_line_3.x_start <= 0) _line_3.x_start = 0;