Fix some issues for string based constructors

Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com>
This commit is contained in:
Adelin Dobre
2018-07-27 15:46:16 +03:00
committed by Stefan Andritoiu
parent 5a42e44c86
commit b13cef3ebb
22 changed files with 257 additions and 264 deletions

View File

@@ -109,7 +109,7 @@ AM2315::AM2315(std::string initStr) : mraaIo(initStr)
}
for (std::string tok : upmTokens) {
if(tok.substr(0,13) == "updateValues:") {
if(tok.substr(0, 13) == "updateValues:") {
update_values();
}
}