grove: improve docstrings

Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Sarah Knepper
2014-12-04 10:41:32 +00:00
committed by Brendan Le Foll
parent a1abab8909
commit 751b0f1fe0
2 changed files with 6 additions and 5 deletions

View File

@@ -105,7 +105,7 @@ GroveLight::~GroveLight()
mraa_aio_close(m_aio);
}
int GroveLight::value ()
int GroveLight::value()
{
// rough conversion to lux, using formula from Grove Starter Kit booklet
float a = (float) mraa_aio_read(m_aio);