Browse Source

make the I2C and SPI device signons distinct

sbg
px4dev 13 years ago
parent
commit
26244c43f2
  1. 2
      apps/drivers/device/i2c.cpp
  2. 2
      apps/drivers/device/spi.cpp

2
apps/drivers/device/i2c.cpp

@ -99,7 +99,7 @@ I2C::init()
} }
// tell the world where we are // tell the world where we are
log("on bus %d at 0x%02x", _bus, _address); log("on I2C bus %d at 0x%02x", _bus, _address);
out: out:
return ret; return ret;

2
apps/drivers/device/spi.cpp

@ -111,7 +111,7 @@ SPI::init()
} }
// tell the workd where we are // tell the workd where we are
log("on bus %d at %d", _bus, _device); log("on SPI bus %d at %d", _bus, _device);
out: out:
return ret; return ret;

Loading…
Cancel
Save