interfaces: Removed isConfigured() from IModuleStaus
Signed-off-by: Henry Bruce <henry.bruce@intel.com> Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
committed by
Abhishek Malik
parent
f268437cd5
commit
9bc3d2ded0
@@ -27,11 +27,6 @@ DS1808LC::~DS1808LC()
|
||||
}
|
||||
|
||||
|
||||
bool DS1808LC::isConfigured()
|
||||
{
|
||||
return status == mraa::SUCCESS;
|
||||
}
|
||||
|
||||
bool DS1808LC::isPowered()
|
||||
{
|
||||
return static_cast<bool>(MraaUtils::getGpio(pinPower));
|
||||
@@ -62,7 +57,7 @@ int DS1808LC::getBrightness()
|
||||
else
|
||||
UPM_THROW("i2c read error");
|
||||
}
|
||||
|
||||
|
||||
|
||||
void DS1808LC::setBrightness(int dutyPercent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user