changed to sensor_start_flag

pico-payload-gps-mq-flag
alanbjohnston 3 years ago committed by GitHub
parent 08999c45b9
commit deb8160147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3175,7 +3175,7 @@ void payload_OK_only()
{ {
if (bmePresent) { if (bmePresent) {
// Serial1.print("START_FLAGOK BME280 "); // Serial1.print("START_FLAGOK BME280 ");
Serial1.print(start_flag); Serial1.print(sensor_start_flag);
Serial1.print("OK BME280 "); Serial1.print("OK BME280 ");
Serial1.print(bme.readTemperature()); Serial1.print(bme.readTemperature());
Serial1.print(" "); Serial1.print(" ");
@ -3187,7 +3187,7 @@ void payload_OK_only()
} else } else
{ {
// Serial1.print("START_FLAGOK BME280 0.0 0.0 0.0 0.0"); // Serial1.print("START_FLAGOK BME280 0.0 0.0 0.0 0.0");
Serial1.print(start_flag); Serial1.print(sensor_start_flag);
Serial1.print("OK BME280 0.0 0.0 0.0 0.0"); Serial1.print("OK BME280 0.0 0.0 0.0 0.0");
} }
if (mpuPresent) { if (mpuPresent) {
@ -3225,7 +3225,7 @@ void payload_OK_only()
Serial1.print(" MQ "); Serial1.print(" MQ ");
Serial1.print(sensorValue); //,0); Serial1.print(sensorValue); //,0);
// Serial1.println("END_FLAG"); // Serial1.println("END_FLAG");
Serial1.println(end_flag); Serial1.println(sensor_end_flag);
blink(50); blink(50);
delay(50); delay(50);

Loading…
Cancel
Save

Powered by TurnKey Linux.