From ec863f89f60a2616be00a2098c6be19fc58e7295 Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 3 Jan 2014 11:07:46 +0000 Subject: Log status when tuning fails with no signal or carrier --- p2pvr/lib/frontends/ofdm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2pvr/lib/frontends/ofdm.cpp b/p2pvr/lib/frontends/ofdm.cpp index 5cb5f15..93e0d86 100644 --- a/p2pvr/lib/frontends/ofdm.cpp +++ b/p2pvr/lib/frontends/ofdm.cpp @@ -53,7 +53,7 @@ class Frontend_OFDM : public Frontend { } // Was it useful? if (!(status & (FE_HAS_SIGNAL | FE_HAS_CARRIER))) { - Logger()->messagebf(LOG_ERR, "Tuning of device %s failed (%s)", tuner->Device(), "No carrier"); + Logger()->messagebf(LOG_ERR, "Tuning of device %s failed (No signal or carrier: 0x%02x)", tuner->Device(), status); throw P2PVR::DeviceError(tuner->Device(), "No carrier", 0); } // Wait for lock -- cgit v1.2.3