aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/codec_ctrl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/usrp1/codec_ctrl.hpp')
-rw-r--r--host/lib/usrp/usrp1/codec_ctrl.hpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/host/lib/usrp/usrp1/codec_ctrl.hpp b/host/lib/usrp/usrp1/codec_ctrl.hpp
index c03947673..ab0924aa0 100644
--- a/host/lib/usrp/usrp1/codec_ctrl.hpp
+++ b/host/lib/usrp/usrp1/codec_ctrl.hpp
@@ -8,8 +8,8 @@
#ifndef INCLUDED_USRP1_CODEC_CTRL_HPP
#define INCLUDED_USRP1_CODEC_CTRL_HPP
-#include <uhd/types/serial.hpp>
#include <uhd/types/ranges.hpp>
+#include <uhd/types/serial.hpp>
#include <uhd/utils/noncopyable.hpp>
#include <memory>
@@ -18,7 +18,8 @@
* - Init/power down codec.
* - Read aux adc, write aux dac.
*/
-class usrp1_codec_ctrl : uhd::noncopyable{
+class usrp1_codec_ctrl : uhd::noncopyable
+{
public:
typedef std::shared_ptr<usrp1_codec_ctrl> sptr;
@@ -35,7 +36,7 @@ public:
static sptr make(uhd::spi_iface::sptr iface, int spi_slave);
//! aux adc identifier constants
- enum aux_adc_t{
+ enum aux_adc_t {
AUX_ADC_A2 = 0xA2,
AUX_ADC_A1 = 0xA1,
AUX_ADC_B2 = 0xB2,
@@ -52,12 +53,7 @@ public:
virtual double read_aux_adc(aux_adc_t which) = 0;
//! aux dac identifier constants
- enum aux_dac_t{
- AUX_DAC_A = 0xA,
- AUX_DAC_B = 0xB,
- AUX_DAC_C = 0xC,
- AUX_DAC_D = 0xD
- };
+ enum aux_dac_t { AUX_DAC_A = 0xA, AUX_DAC_B = 0xB, AUX_DAC_C = 0xC, AUX_DAC_D = 0xD };
/*!
* Write an auxiliary dac.