From 22a3451d52ba5e12a6c3d2c632971fd81c3c84cc Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 1 Sep 2014 11:57:58 +0400 Subject: [PATCH] zapit/src/frontend.cpp: fix debug, missed newline Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/cac3a87137ea9fb5c96f19142c6a5bb29abc703a Author: [CST] Focus Date: 2014-09-01 (Mon, 01 Sep 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/frontend.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/zapit/src/frontend.cpp b/src/zapit/src/frontend.cpp index 57315c5ca..5e4f8509b 100644 --- a/src/zapit/src/frontend.cpp +++ b/src/zapit/src/frontend.cpp @@ -246,6 +246,9 @@ bool CFrontend::Open(bool init) void CFrontend::getFEInfo(void) { fop(ioctl, FE_GET_INFO, &info); + + //FIXME if (fenumber > 1) info.type = FE_QAM; + printf("[fe%d] frontend fd %d type %d\n", fenumber, fd, info.type); bool legacy = true; @@ -297,7 +300,7 @@ void CFrontend::getFEInfo(void) } legacy = false; } else { - printf("ERROR: can't query delivery systems on frontend %d/%d - falling back to legacy mode", adapter, fenumber); + printf("WARNING: can't query delivery systems on frontend %d/%d - falling back to legacy mode\n", adapter, fenumber); } #endif if (legacy) {