aboutsummaryrefslogtreecommitdiffstats
path: root/src/tuner_e4k.c
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2012-05-05 14:03:59 +0200
committerSteve Markgraf <steve@steve-m.de>2012-05-05 14:03:59 +0200
commit7931aa76c5a9fa42d2c8a8952345741b3aaf790d (patch)
treec18228829e01f2bfd7cf21aa580524c1a17e6450 /src/tuner_e4k.c
parentb6652f33df4e12c77f4fd2687426eb4afae632b0 (diff)
tuner_e4k: replace remaining printfs with fprintf to stderr
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Diffstat (limited to 'src/tuner_e4k.c')
-rw-r--r--src/tuner_e4k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tuner_e4k.c b/src/tuner_e4k.c
index cda0c2a..1cdd908 100644
--- a/src/tuner_e4k.c
+++ b/src/tuner_e4k.c
@@ -570,7 +570,7 @@ int e4k_tune_freq(struct e4k_state *e4k, uint32_t freq)
/* check PLL lock */
rc = e4k_reg_read(e4k, E4K_REG_SYNTH1);
if (!(rc & 0x01)) {
- printf("[E4K] PLL not locked!\n");
+ fprintf(stderr, "[E4K] PLL not locked!\n");
return -1;
}
@@ -853,7 +853,7 @@ int e4k_dc_offset_gen_table(struct e4k_state *e4k)
range_i = range & 0x3;
range_q = (range >> 4) & 0x3;
- printf("Table %u I=%u/%u, Q=%u/%u\n",
+ fprintf(stderr, "Table %u I=%u/%u, Q=%u/%u\n",
i, range_i, offs_i, range_q, offs_q);
/* write into the table */