Skip to content

Commit b35723c

Browse files
committed
Merge branch 'master' into develop
2 parents 02a3219 + 016e47c commit b35723c

File tree

15 files changed

+23
-14
lines changed

15 files changed

+23
-14
lines changed

.github/workflows/build_documentation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
150150
- name: Deploy to github pages
151151
if: "(github.event_name == 'release' && github.event.action == 'published') || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true')"
152-
uses: peaceiris/actions-gh-pages@v3.8.0
152+
uses: peaceiris/actions-gh-pages@v3.9.0
153153
with:
154154
github_token: ${{ secrets.GITHUB_TOKEN }}
155155
publish_dir: ${{ github.workspace }}/code_docs/ModularSensorsDoxygen/m.css

examples/DRWI_2G/DRWI_2G.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const char* sketchName = "DRWI_CitSci.ino";
5151
// Logger ID, also becomes the prefix for the name of the data file on SD card
5252
const char* LoggerID = "XXXXX";
5353
// How frequently (in minutes) to log data
54-
const uint8_t loggingInterval = 5;
54+
const uint8_t loggingInterval = 15;
5555
// Your logger's timezone.
5656
const int8_t timeZone = -5; // Eastern Standard Time
5757
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/DRWI_DigiLTE/DRWI_DigiLTE.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const char* sketchName = "DRWI_DigiLTE.ino";
5151
// Logger ID, also becomes the prefix for the name of the data file on SD card
5252
const char* LoggerID = "XXXXX";
5353
// How frequently (in minutes) to log data
54-
const uint8_t loggingInterval = 5;
54+
const uint8_t loggingInterval = 15;
5555
// Your logger's timezone.
5656
const int8_t timeZone = -5; // Eastern Standard Time
5757
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/DRWI_Mayfly1/DRWI_Mayfly1.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const char* sketchName = "DRWI_Mayfly1.ino";
5757
// Logger ID, also becomes the prefix for the name of the data file on SD card
5858
const char* LoggerID = "XXXXX";
5959
// How frequently (in minutes) to log data
60-
const uint8_t loggingInterval = 5;
60+
const uint8_t loggingInterval = 15;
6161
// Your logger's timezone.
6262
const int8_t timeZone = -5; // Eastern Standard Time
6363
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/DRWI_Mayfly1_WiFi/DRWI_Mayfly1_WiFi.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const char* sketchName = "DRWI_Mayfly1_WiFi.ino";
5757
// Logger ID, also becomes the prefix for the name of the data file on SD card
5858
const char* LoggerID = "XXXXX";
5959
// How frequently (in minutes) to log data
60-
const uint8_t loggingInterval = 5;
60+
const uint8_t loggingInterval = 15;
6161
// Your logger's timezone.
6262
const int8_t timeZone = -5; // Eastern Standard Time
6363
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/DRWI_NoCellular/DRWI_NoCellular.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const char* sketchName = "DRWI_NoCellular.ino";
3939
// Logger ID, also becomes the prefix for the name of the data file on SD card
4040
const char* LoggerID = "XXXXX";
4141
// How frequently (in minutes) to log data
42-
const uint8_t loggingInterval = 5;
42+
const uint8_t loggingInterval = 15;
4343
// Your logger's timezone.
4444
const int8_t timeZone = -5; // Eastern Standard Time
4545
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/DRWI_SIM7080LTE/DRWI_SIM7080LTE.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const char* sketchName = "DRWI_SIM7080LTE.ino";
5858
// Logger ID, also becomes the prefix for the name of the data file on SD card
5959
const char* LoggerID = "XXXXX";
6060
// How frequently (in minutes) to log data
61-
const uint8_t loggingInterval = 5;
61+
const uint8_t loggingInterval = 15;
6262
// Your logger's timezone.
6363
const int8_t timeZone = -5; // Eastern Standard Time
6464
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/baro_rho_correction/baro_rho_correction.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const char* sketchName = "baro_rho_correction.ino";
5353
// Logger ID, also becomes the prefix for the name of the data file on SD card
5454
const char* LoggerID = "XXXXX";
5555
// How frequently (in minutes) to log data
56-
const uint8_t loggingInterval = 1;
56+
const uint8_t loggingInterval = 15;
5757
// Your logger's timezone.
5858
const int8_t timeZone = -5; // Eastern Standard Time
5959
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/data_saving/data_saving.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const char* sketchName = "data_saving.ino";
9898
// Logger ID, also becomes the prefix for the name of the data file on SD card
9999
const char* LoggerID = "XXXXX";
100100
// How frequently (in minutes) to log data
101-
const uint8_t loggingInterval = 5;
101+
const uint8_t loggingInterval = 15;
102102
// Your logger's timezone.
103103
const int8_t timeZone = -5; // Eastern Standard Time
104104
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/logging_to_MMW/logging_to_MMW.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const char* sketchName = "logging_to MMW.ino";
5151
// Logger ID, also becomes the prefix for the name of the data file on SD card
5252
const char* LoggerID = "XXXXX";
5353
// How frequently (in minutes) to log data
54-
const uint8_t loggingInterval = 5;
54+
const uint8_t loggingInterval = 15;
5555
// Your logger's timezone.
5656
const int8_t timeZone = -5; // Eastern Standard Time
5757
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/logging_to_ThingSpeak/logging_to_ThingSpeak.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const char* sketchName = "logging_to_ThingSpeak.ino";
5454
// Logger ID, also becomes the prefix for the name of the data file on SD card
5555
const char* LoggerID = "XXXXX";
5656
// How frequently (in minutes) to log data
57-
const uint8_t loggingInterval = 5;
57+
const uint8_t loggingInterval = 15;
5858
// Your logger's timezone.
5959
const int8_t timeZone = -5; // Eastern Standard Time
6060
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/menu_a_la_carte/menu_a_la_carte.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ const char* sketchName = "menu_a_la_carte.ino";
255255
// Logger ID, also becomes the prefix for the name of the data file on SD card
256256
const char* LoggerID = "XXXXX";
257257
// How frequently (in minutes) to log data
258-
const uint8_t loggingInterval = 5;
258+
const uint8_t loggingInterval = 15;
259259
// Your logger's timezone.
260260
const int8_t timeZone = -5; // Eastern Standard Time
261261
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/simple_logging/simple_logging.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const char* sketchName = "simple_logging.ino";
3939
// Logger ID, also becomes the prefix for the name of the data file on SD card
4040
const char* LoggerID = "XXXXX";
4141
// How frequently (in minutes) to log data
42-
const uint8_t loggingInterval = 5;
42+
const uint8_t loggingInterval = 15;
4343
// Your logger's timezone.
4444
const int8_t timeZone = -5; // Eastern Standard Time
4545
// NOTE: Daylight savings time will not be applied! Please use standard time!

examples/simple_logging_LearnEnviroDIY/simple_logging_LearnEnviroDIY.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const char* sketchName = "simple_logging.ino";
3939
// Logger ID, also becomes the prefix for the name of the data file on SD card
4040
const char* LoggerID = "XXXXX";
4141
// How frequently (in minutes) to log data
42-
const uint8_t loggingInterval = 5;
42+
const uint8_t loggingInterval = 15;
4343
// Your logger's timezone.
4444
const int8_t timeZone = -5; // Eastern Standard Time
4545
// NOTE: Daylight savings time will not be applied! Please use standard time!

src/sensors/SDI12Sensors.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,10 +552,19 @@ bool SDI12Sensors::addSingleMeasurementResult(void) {
552552
while ((millis() - timerStart) < (1000 * (wait))) {
553553
// sensor can interrupt us to let us know it is done early
554554
if (_SDI12Internal.available()) {
555+
#ifdef MS_SDI12SENSORS_DEBUG_DEEP
556+
// if we're debugging print out early response
555557
MS_DEEP_DBG(F(" <<<"),
556558
_SDI12Internal.readStringUntil('\n'));
557559
_SDI12Internal.clearBuffer();
558560
break;
561+
#else
562+
// if we're not debugging, just read the response to make
563+
// sure it's removed from the buffer
564+
_SDI12Internal.readStringUntil('\n');
565+
_SDI12Internal.clearBuffer();
566+
break;
567+
#endif
559568
}
560569
}
561570
// Wait for anything else and clear it out

0 commit comments

Comments
 (0)