Linux: changed adc to adcsim and add barosim

The name of the app was adc but should have been adcsim.
Added a barometer simulator.

This will allow ms56711_linux to depend on real devices and not
simulation.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-10 11:23:17 -07:00
parent ddf75dd55a
commit 87a8289a22
10 changed files with 1532 additions and 10 deletions

View File

@@ -390,7 +390,7 @@ ACCELSIM::ACCELSIM(const char* path, enum Rotation rotation) :
// enable debug() calls
_debug_enabled = true;
_debug_enabled = false;
_device_id.devid_s.devtype = DRV_ACC_DEVTYPE_ACCELSIM;