From e98ea750a90ad021b9516a6702c264ed8eb6bd83 Mon Sep 17 00:00:00 2001
From: "Michael D. M. Dryden" <mdryden@chem.utoronto.ca>
Date: Wed, 14 Oct 2015 16:46:54 -0400
Subject: [PATCH] Remove extra diagnostics.

---
 DSTAT/src/main.c | 1 -
 DSTAT/src/tcs.c  | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/DSTAT/src/main.c b/DSTAT/src/main.c
index 8cd935c..fff6eb3 100644
--- a/DSTAT/src/main.c
+++ b/DSTAT/src/main.c
@@ -108,7 +108,6 @@ int8_t command_handler(char command){
         
         case 'T': ;
             uint16_t tcs_data[4] = {0,0,0,0};
-            printf("#INFO: TCS—%u %u %u %u\n\r", tcs_data[0], tcs_data[1], tcs_data[2], tcs_data[3]);
             tcs_readvalues(tcs_data);
             printf("#INFO: TCS—%u %u %u %u\n\r", tcs_data[0], tcs_data[1], tcs_data[2], tcs_data[3]);
             break;
diff --git a/DSTAT/src/tcs.c b/DSTAT/src/tcs.c
index 76888fc..25cf47f 100644
--- a/DSTAT/src/tcs.c
+++ b/DSTAT/src/tcs.c
@@ -35,7 +35,7 @@ void tcs_init(void){
     twi_master_setup(&TCS_TWI, &opt);
     twi_master_enable(&TCS_TWI);
     
-    printf("#INFO: twi_master_enable\n\r");
+    printf("#INFO: TWI master enabled\n\r");
     
     tcs_on();
 }
@@ -52,7 +52,6 @@ static void tcs_on(void){
     twi_pack.length = 1;
     twi_pack.no_wait = false;
     twi_master_write(&TCS_TWI, &twi_pack);
-    printf("#INFO: twi_master_write 1\n\r");
     
     data_buffer = 0xC0;
     twi_pack.addr[0] = 1 << 7 | TCS_TIMING;
-- 
GitLab