Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Occilator.cpp
- Revision:
- 7:a478d5cc411e
- Parent:
- 5:3a753cf68fac
- Child:
- 8:dd2da7c0c4c7
diff -r 9ada26c2ea8e -r a478d5cc411e Occilator.cpp --- a/Occilator.cpp Mon Feb 08 22:30:53 2016 +0000 +++ b/Occilator.cpp Tue Feb 09 02:57:27 2016 +0000 @@ -2,6 +2,7 @@ #include "global.h" #include "Occilator.h" #include "Square.h" +#include "WT.h" static long interrupt_us; static int part_num=0; @@ -27,7 +28,7 @@ case OCC_WT: case OCC_NOISE: default: - return NULL; + return new WT(interrupt_us); } }