aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-06-17 14:35:17 -0700
committerMartin Braun <martin.braun@ettus.com>2016-06-17 14:35:17 -0700
commitf693349f12a66cfad2159779757e2ea1d6d483be (patch)
tree1c335011ec094ab03b3faaf892792b60ed3b80c4 /host/examples
parente103b5e67061c9b22cce2e36cf9b40a8213ecb82 (diff)
parent9cc4e16b77d074c8d416725ead1afb8898007eb3 (diff)
downloaduhd-f693349f12a66cfad2159779757e2ea1d6d483be.tar.gz
uhd-f693349f12a66cfad2159779757e2ea1d6d483be.tar.bz2
uhd-f693349f12a66cfad2159779757e2ea1d6d483be.zip
Merge branch 'maint'
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/tx_samples_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/tx_samples_c.c b/host/examples/tx_samples_c.c
index e10d585ce..3c3fcc8fe 100644
--- a/host/examples/tx_samples_c.c
+++ b/host/examples/tx_samples_c.c
@@ -196,7 +196,7 @@ int main(int argc, char* argv[]){
buffs_ptr = (const void**)&buff;
size_t i = 0;
for(i = 0; i < (samps_per_buff*2); i+=2){
- buff[i] = 0.1;
+ buff[i] = 0.1f;
buff[i+1] = 0;
}