File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libraries/Zigbee/examples/Zigbee_Temp_Hum_Sensor_Sleepy Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 39
39
40
40
#define uS_TO_S_FACTOR 1000000ULL /* Conversion factor for micro seconds to seconds */
41
41
#define TIME_TO_SLEEP 55 /* Sleep for 55s will + 5s delay for establishing connection => data reported every 1 minute */
42
- #define REPORT_TIMEOUT 1000 /* Timeout for response from coordinator in ms */
42
+ #define REPORT_TIMEOUT 1000 /* Timeout for response from coordinator in ms */
43
43
44
44
uint8_t button = BOOT_PIN;
45
45
@@ -106,7 +106,7 @@ static void meausureAndSleep(void *arg) {
106
106
if (millis () - startTime >= timeout) {
107
107
Serial.println (" \n Report timeout! Report Again" );
108
108
dataToSend = 2 ;
109
- zbTempSensor.report (); // report again
109
+ zbTempSensor.report (); // report again
110
110
startTime = millis ();
111
111
tries++;
112
112
}
You can’t perform that action at this time.
0 commit comments