From 1bea36d1e7bd0a5458d26ed5be6b24a8049f303e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 10 Feb 2020 22:51:25 +0100 Subject: [PATCH] add some debug output Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b18c7558fb88f36ca26ee0149a3c042235989833 Author: vanhofen Date: 2020-02-10 (Mon, 10 Feb 2020) Origin message was: ------------------ - add some debug output ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/neutrino.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index d1f506515..f69dd1d9e 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -477,6 +477,9 @@ int CNeutrinoApp::loadSetup(const char * fname) g_settings.ci_standby_reset = configfile.getInt32("ci_standby_reset", 0); + // just for debugging + dprintf(DEBUG_NORMAL, "cCA::GetInstance()->GetNumberCISlots(): %d\n", cCA::GetInstance()->GetNumberCISlots()); + #if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE for (unsigned int i = 0; i < cCA::GetInstance()->GetNumberCISlots(); i++) { sprintf(cfg_key, "ci_clock_%d", i); @@ -2977,6 +2980,9 @@ TIMER_START(); #if HAVE_LIBSTB_HAL cCA::GetInstance()->setCheckLiveSlot(g_settings.ci_check_live); #endif + // just for debugging + dprintf(DEBUG_NORMAL, "cCA::GetInstance()->GetNumberCISlots(): %d\n", cCA::GetInstance()->GetNumberCISlots()); + //InitZapper(); SHTDCNT::getInstance()->init();