From 6d98e8dd9fd7a3ed62f4ca59217b94199d7b2da7 Mon Sep 17 00:00:00 2001 From: PaulZC Date: Mon, 1 Feb 2021 16:35:36 +0000 Subject: [PATCH] Flash helper updates --- src/SparkFun_SCD30_Arduino_Library.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SparkFun_SCD30_Arduino_Library.cpp b/src/SparkFun_SCD30_Arduino_Library.cpp index 2111fce..c2a4230 100644 --- a/src/SparkFun_SCD30_Arduino_Library.cpp +++ b/src/SparkFun_SCD30_Arduino_Library.cpp @@ -64,7 +64,7 @@ bool SCD30::begin(TwoWire &wirePort, bool autoCalibrate, bool measBegin) if (_printDebug == true) { - _debugPort->print("SCD30 begin: got firmware version 0x"); + _debugPort->print(F("SCD30 begin: got firmware version 0x")); _debugPort->println(fwVer, HEX); } @@ -332,7 +332,7 @@ bool SCD30::readMeasurement() if (error) { if (_printDebug == true) - _debugPort->println("readMeasurement: encountered error reading SCD30 data."); + _debugPort->println(F("readMeasurement: encountered error reading SCD30 data.")); return false; } //Now copy the uint32s into their associated floats