Skip to content

Commit

Permalink
decode-reg: add orbit_intlk as decoder.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericonr committed Dec 18, 2023
1 parent 74145e5 commit b84d4df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/decode-reg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,18 @@
#include "pcie.h"
#include "pcie-open.h"
#include "util_sdb.h"

#include "modules/acq.h"
#include "modules/afc_timing.h"
#include "modules/bpm_swap.h"
#include "modules/fofb_cc.h"
#include "modules/fofb_processing.h"
#include "modules/lamp.h"
#include "modules/orbit_intlk.h"
#include "modules/sysid.h"
#include "modules/trigger_iface.h"
#include "modules/trigger_mux.h"

#include "modules/bpm_swap.h"

using namespace std::chrono_literals;

static void try_unsigned(unsigned &dest, const argparse::ArgumentParser &args, const char *flag)
Expand Down Expand Up @@ -193,6 +194,8 @@ int main(int argc, char *argv[])
dec = std::make_unique<trigger_mux::Core>(bars);
} else if (type == "bpm_swap") {
dec = std::make_unique<bpm_swap::Core>(bars);
} else if (type == "orbit_intlk") {
dec = std::make_unique<orbit_intlk::Core>(bars);
} else {
fprintf(stderr, "Unknown type: '%s'\n", type.c_str());
return 1;
Expand Down

0 comments on commit b84d4df

Please sign in to comment.