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.
Dependencies: mbed DRV88255 TextLCD Ping mbed-rtos
Diff: main.cpp
- Revision:
- 19:ee89eabe1fa2
- Parent:
- 14:fcb625520e77
- Child:
- 24:eeef4009640d
- Child:
- 28:f4a4ee58d57e
diff -r da84737ee427 -r ee89eabe1fa2 main.cpp --- a/main.cpp Mon Jun 13 10:49:48 2016 +0000 +++ b/main.cpp Mon Jun 13 12:33:52 2016 +0000 @@ -15,8 +15,6 @@ #define MAIN_THREAD_DELAY_MS 1000 -#define MOCK(N, F) static inline float N(int i,int t) {return (F);} - int main(); int test_main(); int real_main(); @@ -33,9 +31,7 @@ return MAIN(); } -int test_main() { - // run tests here -} +extern int test_main(); int real_main() {