Skip to content

Commit

Permalink
Revert "example: Use controllers not simulators"
Browse files Browse the repository at this point in the history
This reverts commit 035bb65.

Bug: #3
Change-Id: I412ee9d80abe565ea5402f61f0c4bcac6514228a
  • Loading branch information
rzr committed Mar 27, 2019
1 parent 336a299 commit 6e6b410
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@
'use strict';
var console = require('console');

var GenericSensors = null;

var GenericSensors;
try {
GenericSensors = require('../lib/controllers');
GenericSensors = require('../generic-sensors-lite');
} catch(err) {
GenericSensors = require('generic-sensors-lite/lib/controllers');
GenericSensors = require('generic-sensors-lite');
}

var i=0;
Expand Down

0 comments on commit 6e6b410

Please sign in to comment.