From 588caae230db6d2a7f815148615ca5ea51db8fff Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 4 Apr 2019 18:01:43 -0400 Subject: [PATCH] working i2c read --- telem/readall.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/telem/readall.c b/telem/readall.c index c31ca167..d448330d 100644 --- a/telem/readall.c +++ b/telem/readall.c @@ -19,15 +19,15 @@ * along with this program. If not, see . */ -//#include //Needed for I2C port +#include #include //Needed for I2C port -//#include //Needed for I2C port +#include //Needed for I2C port #include #include #include #include -#include "status.h" +//#include "status.h" //#include "ax5043.h" //#include "ax25.h" //#include "spi/ax5043spi.h" @@ -66,7 +66,7 @@ //static void init_rf(); //int get_tlm(int tlm[][5]); -long int timestamp; +//long int timestamp; //void config_x25(); //void trans_x25(); //long int timestamp; @@ -109,7 +109,7 @@ int main(void) { tlm[i][j] = 0; } } - timestamp = time(NULL); + //timestamp = time(NULL); */ int file_i2c; //char *filenam1e = (char*)"/dev/i2c-3";