Skip to content

Commit

Permalink
[chiptool] Fix wrong argument max value for mBleAdapterId (#23241)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored and pull[bot] committed Jun 20, 2023
1 parent dfab7ee commit 2517076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chip-tool/commands/common/CHIPCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 /////////
Expand Down

0 comments on commit 2517076

Please sign in to comment.