Skip to content

Commit

Permalink
#237: Add zranger deck init parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ataffanel committed Jul 1, 2017
1 parent ab6d531 commit 2e2fb1f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/deck/drivers/src/vl53l0x.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "system.h"
#include "debug.h"
#include "log.h"
#include "param.h"

#include "i2cdev.h"
#include "vl53l0x.h"
Expand Down Expand Up @@ -1165,6 +1166,10 @@ static const DeckDriver vl53l0x_deck = {

DECK_DRIVER(vl53l0x_deck);

PARAM_GROUP_START(deck)
PARAM_ADD(PARAM_UINT8 | PARAM_RONLY, bcZRanger, &isInit)
PARAM_GROUP_STOP(deck)

LOG_GROUP_START(range)
LOG_ADD(LOG_UINT16, zrange, &range_last)
LOG_GROUP_STOP(range)

0 comments on commit 2e2fb1f

Please sign in to comment.