mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
Fix some inconsistences for the following sensors:
- a110x - abp - ad8232 - adafruitms1438 - adafruitss Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
7352aab3b0
commit
d7fe4e717b
@ -44,7 +44,7 @@ ABP::ABP(std::string initStr) : mraaIo(initStr)
|
||||
mraa_io_descriptor* descs = mraaIo.getMraaDescriptors();
|
||||
std::vector<std::string> upmTokens;
|
||||
|
||||
if(mraaIo.getLeftoverStr() != "")
|
||||
if(!mraaIo.getLeftoverStr().empty())
|
||||
{
|
||||
upmTokens = UpmStringParser::parse(mraaIo.getLeftoverStr());
|
||||
}
|
||||
|
Reference in New Issue
Block a user