IISEC / Mbed 2 deprecated sintone

Dependencies:   mbed

Revision:
1:516ea1ca7abb
Parent:
0:325b79275f25
Child:
2:82a0131e3c0e
--- a/sintone.cpp	Thu Apr 05 04:42:52 2018 +0000
+++ b/sintone.cpp	Wed May 23 01:22:50 2018 +0000
@@ -39,7 +39,7 @@
     make_sintab(samplerate);    setfreq(0,0);    maxfreqs=1;
     tick1.attach(&gentone, 1.0/(float)samplerate);
     while (1) {
-      ch=pc.getc(); cdec
+      ch=pc.getc();
       if ('a'<=ch && ch<='l') {
         setfreq(0, ch-'a');
         if (chord<=1) maxfreqs=1;