Skip to content

Commit 523155c

Browse files
authored
Merge pull request #4 from Mu2e/eflumerf/FixWhitespace
Run clang-format and fix git-whitespace check errors
2 parents fc567a5 + 6e2901a commit 523155c

File tree

2 files changed

+325
-298
lines changed

2 files changed

+325
-298
lines changed

otsdaq-mu2e-stm/FEInterfaces/ROCStoppingTargetMonitorInterface.h

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,32 @@ class ROCStoppingTargetMonitorInterface : public ROCCoreVInterface
1919

2020
~ROCStoppingTargetMonitorInterface(void);
2121

22-
// state machine
23-
//----------------
24-
void configure (void) override;
25-
void halt (void) override;
26-
void pause (void) override;
27-
void resume (void) override;
28-
void start (std::string runNumber) override;
29-
void stop (void) override;
30-
bool running (void) override;
22+
// state machine
23+
//----------------
24+
void configure (void) override;
25+
void halt (void) override;
26+
void pause (void) override;
27+
void resume (void) override;
28+
void start (std::string runNumber) override;
29+
void stop (void) override;
30+
bool running (void) override;
3131

32-
// write and read to registers
33-
virtual void writeEmulatorRegister (uint16_t address, uint16_t data_to_write) override;
34-
virtual uint16_t readEmulatorRegister (uint16_t address) override;
32+
// write and read to registers
33+
virtual void writeEmulatorRegister (uint16_t address, uint16_t data_to_write) override;
34+
virtual uint16_t readEmulatorRegister (uint16_t address) override;
3535

36-
virtual void readEmulatorBlock (std::vector<uint16_t>& data, uint16_t address, uint16_t numberOfReads, bool incrementAddress) override { }
36+
virtual void readEmulatorBlock (std::vector<uint16_t>& data, uint16_t address, uint16_t numberOfReads, bool incrementAddress) override { }
3737

3838

39-
// specific ROC functions
40-
// virtual int readInjectedPulseTimestamp (void) override;
41-
// virtual void writeDelay (uint16_t delay) override; // 5ns steps
42-
// virtual int readDelay (void) override; // 5ns steps
39+
// specific ROC functions
40+
// virtual int readInjectedPulseTimestamp (void) override;
41+
// virtual void writeDelay (uint16_t delay) override; // 5ns steps
42+
// virtual int readDelay (void) override; // 5ns steps
43+
44+
// virtual int readDTCLinkLossCounter (void) override;
45+
// virtual void resetDTCLinkLossCounter (void) override;
4346

44-
// virtual int readDTCLinkLossCounter (void) override;
45-
// virtual void resetDTCLinkLossCounter (void) override;
4647

47-
4848

4949
private:
5050

@@ -57,7 +57,6 @@ class ROCStoppingTargetMonitorInterface : public ROCCoreVInterface
5757
// std::ofstream datafile_;
5858
unsigned int event_number_;
5959

60-
6160
// clang-format on
6261
};
6362
} // namespace ots

0 commit comments

Comments
 (0)