1

demo updates

This commit is contained in:
2022-07-16 16:38:58 +02:00
parent 83b84e238b
commit 9fa36ea9ed
2 changed files with 2 additions and 4 deletions

View File

@ -9,7 +9,6 @@
*****************************************************************************/
#include "user/demo/KeyboardDemo.h"
#include "lib/Input.h"
void KeyboardDemo::run() {
@ -19,8 +18,6 @@ void KeyboardDemo::run() {
while (true) {
kout << listener.waitForKeyEvent();
// kout << getch();
kout.flush();
}
}

View File

@ -1,8 +1,9 @@
#include "user/demo/PCSPKdemo.h"
void PCSPKdemo::run() {
kout << "Playing..." << endl;
(pcspk.*this->melody)(); // This syntax is confusing as hell
kout << "Finished" << endl;
pcspk.off();
scheduler.exit();
}