update keyboarddemo to threads
This commit is contained in:
@ -8,10 +8,10 @@
|
||||
* Autor: Michael Schoettner, HHU, 26.10.2018 *
|
||||
*****************************************************************************/
|
||||
|
||||
#include "kernel/Globals.h"
|
||||
#include "lib/Input.h"
|
||||
#include "user/demo/KeyboardDemo.h"
|
||||
|
||||
void keyboard_demo() {
|
||||
void KeyboardDemo::run() {
|
||||
|
||||
/* Hier muess Code eingefuegt werden */
|
||||
|
||||
@ -11,6 +11,19 @@
|
||||
#ifndef __KeyboardDemo_include__
|
||||
#define __KeyboardDemo_include__
|
||||
|
||||
void keyboard_demo();
|
||||
#include "kernel/Globals.h"
|
||||
#include "kernel/threads/Thread.h"
|
||||
|
||||
class KeyboardDemo : public Thread {
|
||||
private:
|
||||
KeyboardDemo(const KeyboardDemo& copy) = delete;
|
||||
|
||||
public:
|
||||
KeyboardDemo() {
|
||||
kout << "Initialized KeyboardDemo" << endl;
|
||||
}
|
||||
|
||||
void run() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user