From f2260ebc63c2f3470f325ac82a1abd041f556c75 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 22 Jul 2019 14:17:58 -0400 Subject: [PATCH] commented out last of x_fd, y_fd, and z_fd --- afsk/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/afsk/main.c b/afsk/main.c index 4ee3bb9c..7e20c097 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -150,7 +150,8 @@ int main(int argc, char *argv[]) { #ifdef DEBUG_LOGGING fprintf(stderr,"tempSensor: %d \n",tempSensor); #endif - + +/* start of old master code x_calValue_x = 8192; x_powerMultiplier = 1; x_currentDivider = 20; @@ -176,6 +177,7 @@ int main(int argc, char *argv[]) { fprintf(stderr, "Opening of -X %d, -Y %d, -Z %d\n", x_fd, y_fd, z_fd); #endif } // moved here +end of old code */ int test; if (((test = open("/dev/i2c-1", O_RDWR))) > 0) // Test if I2C Bus 1 is present {