mpr121: fixed default value for filter configuration register

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu 2016-07-19 10:08:52 -07:00
parent e7394217b1
commit b257d91702

View File

@ -147,7 +147,7 @@ bool MPR121::configAN3944()
// Section D
// Filter configuration
// reg 0x5d
uint8_t filterConf = 0x04;
uint8_t filterConf = 0x24;
if ((rv = writeBytes(0x5d, &filterConf, 1)) != mraa::SUCCESS)
{
throw std::runtime_error(std::string(__FUNCTION__) +