From 251707626d3e73d9592ec4cb3a2649b597c3e9b4 Mon Sep 17 00:00:00 2001 From: Yufeng Wang Date: Tue, 18 Oct 2022 08:05:47 -0700 Subject: [PATCH] [chiptool] Fix wrong argument max value for mBleAdapterId (#23241) --- examples/chip-tool/commands/common/CHIPCommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chip-tool/commands/common/CHIPCommand.h b/examples/chip-tool/commands/common/CHIPCommand.h index 3972b165c05e57..009cfbdead1b19 100644 --- a/examples/chip-tool/commands/common/CHIPCommand.h +++ b/examples/chip-tool/commands/common/CHIPCommand.h @@ -84,7 +84,7 @@ class CHIPCommand : public Command AddArgument("trace_log", 0, 1, &mTraceLog); AddArgument("trace_decode", 0, 1, &mTraceDecode); #endif // CHIP_CONFIG_TRANSPORT_TRACE_ENABLED - AddArgument("ble-adapter", 0, UINT64_MAX, &mBleAdapterId); + AddArgument("ble-adapter", 0, UINT16_MAX, &mBleAdapterId); } /////////// Command Interface /////////