bmx055: fix up some issues reported by static analysis

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2016-07-07 17:50:29 -06:00
parent e0ef6eea64
commit 0fb56356fb
12 changed files with 73 additions and 48 deletions

View File

@@ -32,8 +32,8 @@
using namespace upm;
using namespace std;
BMI055::BMI055(int accelBus, uint8_t accelAddr, int accelCS,
int gyroBus, uint8_t gyroAddr, int gyroCS) :
BMI055::BMI055(int accelBus, int accelAddr, int accelCS,
int gyroBus, int gyroAddr, int gyroCS) :
m_accel(0), m_gyro(0)
{
// if -1 is supplied as a bus for any of these, we will not