mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 09:58:37 -07:00
BLE Spam fix default 0 values and checks --nobuild
This commit is contained in:
@@ -81,7 +81,7 @@ void easysetup_make_packet(uint8_t* out_size, uint8_t** out_packet, const Protoc
|
||||
const EasysetupCfg* cfg = _cfg ? &_cfg->easysetup : NULL;
|
||||
|
||||
EasysetupType type;
|
||||
if(cfg) {
|
||||
if(cfg && cfg->type != 0x00) {
|
||||
type = cfg->type;
|
||||
} else {
|
||||
type = rand() % EasysetupTypeCOUNT;
|
||||
|
||||
Reference in New Issue
Block a user