Skip to content

Commit

Permalink
fix: variable name (#1621)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccarruitero authored and dtex committed Sep 11, 2019
1 parent ccf0067 commit b988b27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/altimeter-mpl3115a2.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const { Altimeter, Board } = require("../");
const board = new Board();

board.on("ready", () => {
const altitude = new Altimeter({
const altimeter = new Altimeter({
controller: "MPL3115A2",
// Change `elevation` with whatever is reported
// on http://www.whatismyelevation.com/.
Expand Down
2 changes: 1 addition & 1 deletion eg/altimeter-mpl3115a2.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { Altimeter, Board } = require("../");
const board = new Board();

board.on("ready", () => {
const altitude = new Altimeter({
const altimeter = new Altimeter({
controller: "MPL3115A2",
// Change `elevation` with whatever is reported
// on http://www.whatismyelevation.com/.
Expand Down

0 comments on commit b988b27

Please sign in to comment.