summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-11-12 13:25:28 -0800
committerJosh Blum <josh@joshknows.com>2012-11-12 13:25:28 -0800
commitd66d697d6b3999e3bea91239c63ebc0a9ec0802b (patch)
tree66b95c6b427fbc161ca73944e9812c4507632682 /host/include
parentc7968a6b0e544236657946943610b9a147b7d569 (diff)
parent104867d4a0557c97495613aa9e44c970c677c16f (diff)
downloaduhd-d66d697d6b3999e3bea91239c63ebc0a9ec0802b.tar.gz
uhd-d66d697d6b3999e3bea91239c63ebc0a9ec0802b.tar.bz2
uhd-d66d697d6b3999e3bea91239c63ebc0a9ec0802b.zip
Merge branch 'maint'
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/types/stream_cmd.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/host/include/uhd/types/stream_cmd.hpp b/host/include/uhd/types/stream_cmd.hpp
index 41708e2e2..3c34c9656 100644
--- a/host/include/uhd/types/stream_cmd.hpp
+++ b/host/include/uhd/types/stream_cmd.hpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010 Ettus Research LLC
+// Copyright 2010-2012 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -46,10 +46,10 @@ namespace uhd{
struct UHD_API stream_cmd_t{
enum stream_mode_t {
- STREAM_MODE_START_CONTINUOUS = 'a',
- STREAM_MODE_STOP_CONTINUOUS = 'o',
- STREAM_MODE_NUM_SAMPS_AND_DONE = 'd',
- STREAM_MODE_NUM_SAMPS_AND_MORE = 'm'
+ STREAM_MODE_START_CONTINUOUS = int('a'),
+ STREAM_MODE_STOP_CONTINUOUS = int('o'),
+ STREAM_MODE_NUM_SAMPS_AND_DONE = int('d'),
+ STREAM_MODE_NUM_SAMPS_AND_MORE = int('m')
} stream_mode;
size_t num_samps;