Improved Comments in whole emulator. Finalized emulator section in docu.
This commit is contained in:
@@ -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 :(
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user