From 4acf4f8e89a5e1923a8e65c7fe366e4bc7c7bf30 Mon Sep 17 00:00:00 2001 From: Carl Philipp Klemm <philipp@uvos.xyz> Date: Thu, 13 Jun 2024 13:35:19 +0200 Subject: [PATCH] Print more details on staratup about cell layout --- coincells.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coincells.cpp b/coincells.cpp index 6a66632..f3a47ea 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; -- GitLab