diff --git a/src/deck/drivers/src/locodeck.c b/src/deck/drivers/src/locodeck.c index 84265d6891..145166e6b6 100644 --- a/src/deck/drivers/src/locodeck.c +++ b/src/deck/drivers/src/locodeck.c @@ -517,6 +517,10 @@ PARAM_ADD(PARAM_FLOAT, anchor7z, &algoOptions.anchorPosition[7].z) PARAM_ADD(PARAM_UINT8, enable, &algoOptions.combinedAnchorPositionOk) PARAM_GROUP_STOP(anchorpos) +PARAM_GROUP_START(deck) +PARAM_ADD(PARAM_UINT8 | PARAM_RONLY, bcDWM1000, &isInit) +PARAM_GROUP_STOP(deck) + // Loco Posisioning Protocol (LPP) handling void lpsHandleLppShortPacket(uint8_t srcId, uint8_t *data, int length) diff --git a/src/deck/drivers/src/usddeck.c b/src/deck/drivers/src/usddeck.c index cb56e82647..f7366a0d92 100644 --- a/src/deck/drivers/src/usddeck.c +++ b/src/deck/drivers/src/usddeck.c @@ -53,6 +53,7 @@ #include "led.h" #include "log.h" +#include "param.h" #include "crc_bosch.h" // Hardware defines @@ -648,3 +649,7 @@ static const DeckDriver usd_deck = { }; DECK_DRIVER(usd_deck); + +PARAM_GROUP_START(deck) +PARAM_ADD(PARAM_UINT8 | PARAM_RONLY, bcUSD, &isInit) +PARAM_GROUP_STOP(deck)