Update d6t.cxx

This commit is contained in:
omron-ankit 2019-08-07 22:24:51 -05:00 committed by GitHub
parent ddd5d5b85d
commit 0cd163ccd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ sig_handler(int signum)
int int
main(int argc, char** argv) main(int argc, char** argv)
{ {
char option = 0; //char option = 0;
int bus = D6T_DEFAULT_I2C_BUS_NUM; int bus = D6T_DEFAULT_I2C_BUS_NUM;
uint32_t sleep_time = 1000; uint32_t sleep_time = 1000;
int interval_value; int interval_value;
@ -336,12 +336,12 @@ main(int argc, char** argv)
} }
// Variables declaration // Variables declaration
float ptat; //float ptat;
float temperatureData[s_type]; //float temperatureData[s_type];
vector<float> VtemperatureData; vector<float> VtemperatureData;
uint8_t pec; //uint8_t pec;
D6T_STATUS_T returnValue; //D6T_STATUS_T returnValue;
uint8_t counter; //uint8_t counter;
// Data and Time // Data and Time
char dateAndTime[30]; char dateAndTime[30];