summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/rf
diff options
context:
space:
mode:
authorSylvain Munaut2010-07-25 00:26:22 +0200
committerSylvain Munaut2010-07-25 10:18:56 +0200
commitb2bc4dcb59d6ee75bed16ea2b57828a32fa7bcf6 (patch)
treef9391c6a1a52f9b4a42c6b642bde3583871c5567 /src/target/firmware/rf
parent[layer23] Fixed interpretation of the power measurement result. (diff)
downloadosmocom-b2bc4dcb59d6ee75bed16ea2b57828a32fa7bcf6.tar.gz
osmocom-b2bc4dcb59d6ee75bed16ea2b57828a32fa7bcf6.tar.xz
osmocom-b2bc4dcb59d6ee75bed16ea2b57828a32fa7bcf6.zip
fw/rf: Use printd for the trf6151_set_gain debug message
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/rf')
-rw-r--r--src/target/firmware/rf/trf6151.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/rf/trf6151.c b/src/target/firmware/rf/trf6151.c
index 1d000fd..b465611 100644
--- a/src/target/firmware/rf/trf6151.c
+++ b/src/target/firmware/rf/trf6151.c
@@ -117,7 +117,7 @@ static void trf6151_reg_write(uint16_t reg, uint16_t val)
int trf6151_set_gain(uint8_t dbm, int high)
{
uint16_t reg = trf6151_reg_cache[REG_RX] & 0x07ff;
- printf("trf6151_set_gain(%u, %d)\n", dbm, high);
+ printd("trf6151_set_gain(%u, %d)\n", dbm, high);
if (dbm < 14 || dbm > 40)
return -1;