Skip to content

Commit

Permalink
Make variables in zranger.c static to hide from global scope. Closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Nov 8, 2017
1 parent 90e27ac commit b8a9e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/deck/drivers/src/zranger.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ static float expCoeff;

#define RANGE_OUTLIER_LIMIT 3000 // the measured range is in [mm]

uint16_t range_last = 0;
static uint16_t range_last = 0;

bool isInit;
static bool isInit;

static VL53L0xDev dev;

Expand Down

0 comments on commit b8a9e14

Please sign in to comment.