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
Fork of el17ajf by
Diff: Engine/Engine.cpp
- Revision:
- 12:beb0d7632531
- Parent:
- 11:fba7d54fd36b
- Child:
- 16:3f84f2d7b910
--- a/Engine/Engine.cpp Sun Mar 17 10:55:11 2019 +0000
+++ b/Engine/Engine.cpp Sun Mar 17 12:14:56 2019 +0000
@@ -2,10 +2,12 @@
#include "mbed.h"
Engine::Engine() {
+ Input::init();
Graphics::init();
}
Engine::~Engine() {
+ Input::deinit();
Graphics::deinit();
}
@@ -26,8 +28,6 @@
Graphics::render();
-// printf("tick\n");
-
wait_ms(1000 / Engine::FPS);
}
}
