zapit/src/frontend.cpp: fix debug, missed newline

This commit is contained in:
[CST] Focus
2014-09-01 11:57:58 +04:00
parent 2e6ad3caa1
commit cac3a87137

View File

@@ -246,6 +246,9 @@ bool CFrontend::Open(bool init)
void CFrontend::getFEInfo(void) void CFrontend::getFEInfo(void)
{ {
fop(ioctl, FE_GET_INFO, &info); 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); printf("[fe%d] frontend fd %d type %d\n", fenumber, fd, info.type);
bool legacy = true; bool legacy = true;
@@ -297,7 +300,7 @@ void CFrontend::getFEInfo(void)
} }
legacy = false; legacy = false;
} else { } 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 #endif
if (legacy) { if (legacy) {