Skip to content
Snippets Groups Projects
Commit 4acf4f8e authored by Carl Philipp Klemm's avatar Carl Philipp Klemm
Browse files

Print more details on staratup about cell layout

parent 89e7e48e
Branches
No related tags found
No related merge requests found
...@@ -65,6 +65,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel ...@@ -65,6 +65,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel
} }
Log(Log::INFO)<<"Connections:"; Log(Log::INFO)<<"Connections:";
size_t i = 0;
for(std::unique_ptr<CoinCell>& cell : coinCells) for(std::unique_ptr<CoinCell>& cell : coinCells)
{ {
int heater = cell->getHeaterId(); int heater = cell->getHeaterId();
...@@ -72,7 +73,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel ...@@ -72,7 +73,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel
std::pair<int, int> heaterAddr = heaters->getAddress(heater); std::pair<int, int> heaterAddr = heaters->getAddress(heater);
Log(Log::INFO, false)<<"CoincellHell "<<heaterAddr.first<<" unit "<<heaterAddr.second<<" is connected to: "; Log(Log::INFO, false)<<"Coin Cell "<<i<<", CoincellHell "<<heaterAddr.first<<" unit "<<heaterAddr.second<<" is connected to: ";
for(int id : muliplexerchs) for(int id : muliplexerchs)
{ {
...@@ -80,6 +81,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel ...@@ -80,6 +81,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel
Log(Log::INFO, false, false)<<" Mulitplexer "<<addr.first<<" channel "<<Multiplexers::chToString(addr.second)<<", "; Log(Log::INFO, false, false)<<" Mulitplexer "<<addr.first<<" channel "<<Multiplexers::chToString(addr.second)<<", ";
} }
Log(Log::INFO, false, false)<<'\n'; Log(Log::INFO, false, false)<<'\n';
++i;
} }
return coinCells; return coinCells;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment