update pcspkdemo
This commit is contained in:
8
c_os/user/demo/PCSPKdemo.cc
Normal file
8
c_os/user/demo/PCSPKdemo.cc
Normal file
@ -0,0 +1,8 @@
|
||||
#include "user/demo/PCSPKdemo.h"
|
||||
|
||||
void PCSPKdemo::run() {
|
||||
(pcspk.*this->melody)(); // This syntax is confusing as hell
|
||||
|
||||
pcspk.off();
|
||||
scheduler.exit();
|
||||
}
|
||||
Reference in New Issue
Block a user