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: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: main.cpp
- Revision:
- 98:fd99ddc0e0a1
- Parent:
- 97:717c7908c822
- Child:
- 99:efde3df6cd94
--- a/main.cpp Mon Jan 25 14:20:44 2016 +0000
+++ b/main.cpp Tue Jan 26 10:05:19 2016 +0000
@@ -1,6 +1,14 @@
// TESTING PUSH PULL IN MAIN CPP
#include "mbed.h"
+
+//#define DEBUG_DEF 1
+//
+//#define DEBUF_PRINT(x) \
+// #ifdef DEBUG_DEF \
+// gPC.puts(x);\
+// #endif
+
#include "rtos.h"
#include "mbed_debug.h"
@@ -10,7 +18,7 @@
#include "COM_SND_TM_functions.h"
#include "COM_SND_TM.h"
//#include "SDCread.h"
-#include "cdms_sd.h"
+//#include "cdms_sd.h"
#include "OBSRS.h"
#include "adf.h"
//#include "SDC_init.h"
@@ -51,8 +59,8 @@
gCS_RTC = 1;
gCS_ADF = 1;
- FCTN_CDMS_INIT_RTC();/* rtc initialization*/
- FCTN_CDMS_SD_INIT();/* sd card initialization*/
+ //FCTN_CDMS_INIT_RTC();/* rtc initialization*/
+// FCTN_CDMS_SD_INIT();/* sd card initialization*/
// initialise_card();
// int result= initialise_card();
@@ -74,7 +82,7 @@
// *******************INITIALISATIONS END********************
/*starting the thread with signal*/
- inr.rise(&set_sig);
+ set_sig();
/*Calculating Stack used*/
