Commit db722d98 authored by Sarah Seif El Nasr's avatar Sarah Seif El Nasr
Browse files

DEBUG - tryinng to fix page..

parent 0d08e072
......@@ -51,11 +51,12 @@ void RegisterTester::RegisterTest()
for(size_t cAttempt = 0; cAttempt < cAttempts; cAttempt++)
{
std::vector<uint8_t> cPages{1,0,1};
LOG(INFO) << BOLDMAGENTA << "Test" << +cTestFlavor << " attempt#" << +cAttempt << " I2C registers .... just going to toggle the page without writing..." << RESET;
uint8_t cSortOrder=0;
//uint8_t cFirstPage=(cSortOrder==0)? 0 : 1;
uint8_t cFirstPage=(cSortOrder==0)? 0 : 1;
std::vector<uint8_t> cPages{cFirstPage, static_cast<uint8_t>(~cFirstPage&0x01),cFirstPage};
// first I want to record the register map for this map
// retreive original settings for all chips and all back-end boards
DetectorDataContainer cRegListContainer;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment