@@ -126,37 +126,37 @@ class CruDmaChannel final : public DmaChannelPdaBase
126126 // These variables are configuration parameters
127127
128128 // / Reset level on initialization of channel
129- ResetLevel::type mInitialResetLevel ;
129+ const ResetLevel::type mInitialResetLevel ;
130130
131131 // / Gives the type of loopback
132- LoopbackMode::type mLoopbackMode ;
132+ const LoopbackMode::type mLoopbackMode ;
133133
134134 // / Enables the data generator
135- bool mGeneratorEnabled ;
135+ const bool mGeneratorEnabled ;
136136
137137 // / Data pattern for the data generator
138- GeneratorPattern::type mGeneratorPattern ;
138+ const GeneratorPattern::type mGeneratorPattern ;
139139
140140 // / Random data size
141- bool mGeneratorDataSizeRandomEnabled ;
141+ const bool mGeneratorDataSizeRandomEnabled ;
142142
143143 // / Maximum number of events
144- int mGeneratorMaximumEvents ;
144+ const int mGeneratorMaximumEvents ;
145145
146146 // / Initial value of the first data in a data block
147- uint32_t mGeneratorInitialValue ;
147+ const uint32_t mGeneratorInitialValue ;
148148
149149 // / Sets the second word of each fragment when the data generator is used
150- uint32_t mGeneratorInitialWord ;
150+ const uint32_t mGeneratorInitialWord ;
151151
152152 // / Random seed parameter in case the data generator is set to produce random data
153- int mGeneratorSeed ;
153+ const int mGeneratorSeed ;
154154
155155 // / Length of data written to each page
156- size_t mGeneratorDataSize ;
156+ const size_t mGeneratorDataSize ;
157157};
158158
159159} // namespace roc
160160} // namespace AliceO2
161161
162- #endif // ALICEO2_READOUTCARD_CRU_CRUDMACHANNEL_H_
162+ #endif // ALICEO2_READOUTCARD_CRU_CRUDMACHANNEL_H_
0 commit comments