mirror of
https://github.com/eclipse/upm.git
synced 2025-07-05 11:21:12 +03:00
misc: Minor fixes due to previous rebase
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
428bac360b
commit
5e72c4febd
@ -151,13 +151,8 @@ bool MPU60X0::writeReg(uint8_t reg, uint8_t val)
|
||||
mraa::Result rv;
|
||||
if ((rv = m_i2c.writeReg(reg, val)) != mraa::SUCCESS)
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
cerr << __FUNCTION__ << ": failed:" << endl;
|
||||
printError(rv);
|
||||
=======
|
||||
throw std::runtime_error(std::string(__FUNCTION__) +
|
||||
": I2c.writeReg() failed");
|
||||
>>>>>>> 9378f17... mpu9150: throw exception(s) on fatal errors
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user