Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Platforms/Platforms.cpp
- Revision:
- 29:bdc4138b5171
- Parent:
- 27:c920c5ec31af
--- 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;