Skip to content

Commit

Permalink
allow LFD2NX devices to be specified with --device (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfib authored Aug 21, 2024
1 parent 32e2d92 commit 2dc7121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexus/arch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void IdString::initialize_arch(const BaseCtx *ctx)
Arch::Arch(ArchArgs args) : args(args)
{
// Parse device string
if (boost::starts_with(args.device, "LIFCL")) {
if (boost::starts_with(args.device, "LIFCL") || boost::starts_with(args.device, "LFD2NX")) {
family = "LIFCL";
} else {
log_error("Unknown device string '%s' (expected device name like 'LIFCL-40-8SG72C')\n", args.device.c_str());
Expand Down

0 comments on commit 2dc7121

Please sign in to comment.