BLE Spam fix default 0 values and checks --nobuild

This commit is contained in:
Willy-JL
2023-10-23 23:24:41 +01:00
parent eee662f188
commit 4bbdbcf2c7
3 changed files with 3 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ static void continuity_make_packet(uint8_t* _size, uint8_t** _packet, const Prot
const ContinuityCfg* cfg = _cfg ? &_cfg->continuity : NULL;
ContinuityType type;
if(cfg) {
if(cfg && cfg->type != 0x00) {
type = cfg->type;
} else {
const ContinuityType types[] = {