Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Shutting the flight computer up.

  • Loading branch information...
commit 83027c358ce1b9abd6948af5a7bb47e8d3daaa75 1 parent b834737
@Zuph Zuph authored
Showing with 6 additions and 6 deletions.
  1. +2 −2 comm/outputParse.c
  2. +4 −4 main.c
View
4 comm/outputParse.c
@@ -261,9 +261,9 @@ void flushSatQueue(void)
uint8_t cpe1 = commPromEnd >> 8;
uint8_t cpe2 = commPromEnd;
- #ifdef opdebug
+ //#ifdef opdebug
lprintf_P(PSTR("CPS: %x %x CPE: %x %x\n"), cps1, cps2, cpe1, cpe2);
- #endif
+ //#endif
i2cSendStart();
i2cWaitForComplete();
View
8 main.c
@@ -738,7 +738,7 @@ uint8_t ballastBabySit =0;
void processMonitor(uint32_t time)
{
#ifdef FCPUDEBUG
- lprintf_P(PSTR("In Proc Mon"));
+ //lprintf_P(PSTR("In Proc Mon"));
#endif
uint32_t currentBitmask[3];
@@ -851,7 +851,7 @@ void processMonitor(uint32_t time)
void calculateVspeed(uint32_t time)
{
#ifdef FCPUDEBUG
- lprintf_P(PSTR("In Vspeed Calculator"));
+ //lprintf_P(PSTR("In Vspeed Calculator"));
#endif
struct gpsData myGPS = currentPositionData;
@@ -874,7 +874,7 @@ void calculateVspeed(uint32_t time)
//int16_t thisVspeed = (int16_t)((thisAltitude - lastAltitude) / ((float)(time - lastRunTime)/60.));
int16_t thisVspeed = 30*(thisAltitude - lastAltitude);
vSpeedInstant[numberOfVSpeedSamples-1] = thisVspeed;
- lprintf_P(PSTR("This Vspeed: %d"), thisVspeed);
+ //lprintf_P(PSTR("This Vspeed: %d"), thisVspeed);
int32_t vSpeedAdder=0;
for(int i = 0; i < numberOfVSpeedSamples; i++)
{
@@ -1350,7 +1350,7 @@ void collectData(uint32_t time)
//store in openlog
#ifdef FCPUDEBUG
lprintf("SS: ");
- lprintf("%s", sampleString);
+ //lprintf("%s", sampleString);
#endif
putDataSample(sampleString);
Please sign in to comment.
Something went wrong with that request. Please try again.