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: Rocket/Rocket.cpp
- Revision:
- 9:e70179ff61c5
- Parent:
- 7:06c86ec1f19d
- Child:
- 12:4d7f1349d796
--- a/Rocket/Rocket.cpp Tue Apr 24 11:17:43 2018 +0000
+++ b/Rocket/Rocket.cpp Tue Apr 24 15:29:17 2018 +0000
@@ -52,14 +52,14 @@
if (_y < 1) {
_y = 1;
}
- if (_y > HEIGHT - 5) {
- _y = HEIGHT - 5;
+ if (_y > HEIGHT - 7) {
+ _y = HEIGHT - 7;
}
if (_x < 1) {
_x = 1;
}
- if (_x > WIDTH - 7) {
- _x = WIDTH - 7;
+ if (_x > WIDTH - 9) {
+ _x = WIDTH - 9;
}
}