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 COM_MNG_TMTC_SIMPLE by
Diff: main.cpp
- Revision:
- 109:78f2912e3473
- Parent:
- 101:bece931236a2
- Child:
- 110:e5091ab345de
--- a/main.cpp Tue Jan 26 13:15:01 2016 +0000
+++ b/main.cpp Tue Jan 26 14:15:04 2016 +0000
@@ -2,8 +2,6 @@
#include "mbed.h"
-#define DEBUG 1
-
#include "SimpleDMA.h"
#include "dmaSPIslave.h"
#include "rtos.h"
@@ -24,7 +22,6 @@
#include "Compression.h"
#include "ThreadsAndFunctions.h"
-void set_sig(){gSCIENCE_THREAD->signal_set(SCIENCE_SIGNAL);}
int main()
{
#if DEBUG
@@ -56,7 +53,9 @@
gCS_ADF = 1;
//FCTN_CDMS_INIT_RTC();/* rtc initialization*/
+ #if USE_SD
FCTN_CDMS_SD_INIT();/* sd card initialization*/
+ #endif
// initialise_card();
// int result= initialise_card();
@@ -81,10 +80,6 @@
#endif
// *******************INITIALISATIONS END********************
- /*starting the thread with signal*/
- set_sig();
-
-
/*Calculating Stack used*/
int state;
