diff --git a/coincells.cpp b/coincells.cpp index 6a666322e01ba669d497e90a6acd8c386cfed643..f3a47eacbd3a12780ae8bcc1ba912f92577776ba 100644 --- a/coincells.cpp +++ b/coincells.cpp @@ -65,6 +65,7 @@ std::vector<std::unique_ptr<CoinCell>> asign_coincells(std::vector<uint16_t> cel } Log(Log::INFO)<<"Connections:"; + size_t i = 0; for(std::unique_ptr<CoinCell>& cell : coinCells) { int heater = cell->getHeaterId(); @@ -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); - 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) { @@ -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)<<'\n'; + ++i; } return coinCells;