Improved Comments in whole emulator. Finalized emulator section in docu.

This commit is contained in:
t-moe
2015-06-07 15:29:46 +02:00
parent 3e4fbab00a
commit 4b5768cedc
8 changed files with 131 additions and 146 deletions

View File

@@ -6,18 +6,18 @@ extern "C" {
}
bool ll_system_init() {
return true;
return true; //nothing to initialize here, apart from the stuff which is done in the main method.
}
void ll_system_delay(uint32_t msec) {
QThread::msleep(msec);
QThread::msleep(msec); //Let the app_process() Thread sleep
}
void ll_system_process() {
QApplication::processEvents();
QThread::msleep(1);
QApplication::processEvents(); //Process pending qt events
QThread::msleep(1); //Sleep for 1ms, to keep the cpu load down
}
void ll_system_toggle_led() {
//No led emulated :(
}