demo updates
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user