From 14205580387ff7d21e5be8efea91e7a92f6fe48e Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 14 Dec 2011 00:34:12 +0000 Subject: Progress on STM32 ADC driver git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4173 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/nuttx/analog/adc.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'nuttx/include') diff --git a/nuttx/include/nuttx/analog/adc.h b/nuttx/include/nuttx/analog/adc.h index c4c5eba46..e09ce2367 100644 --- a/nuttx/include/nuttx/analog/adc.h +++ b/nuttx/include/nuttx/analog/adc.h @@ -4,7 +4,7 @@ * Copyright (C) 2011 Li Zhuoyi. All rights reserved. * Author: Li Zhuoyi * History: 0.1 2011-08-04 initial version - * 0.2 remove ao_read + * 0.2 remove ao_read * * Derived from include/nuttx/can.h * Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved. @@ -138,13 +138,13 @@ struct adc_ops_s struct adc_dev_s { - uint8_t ad_ocount; /* The number of times the device has been opened */ - uint8_t ad_nrxwaiters; /* Number of threads waiting to enqueue a message */ - sem_t ad_closesem; /* Locks out new opens while close is in progress */ - sem_t ad_recvsem; /* Used to wakeup user waiting for space in ad_recv.buffer */ - struct adc_fifo_s ad_recv; /* Describes receive FIFO */ + uint8_t ad_ocount; /* The number of times the device has been opened */ + uint8_t ad_nrxwaiters; /* Number of threads waiting to enqueue a message */ + sem_t ad_closesem; /* Locks out new opens while close is in progress */ + sem_t ad_recvsem; /* Used to wakeup user waiting for space in ad_recv.buffer */ + struct adc_fifo_s ad_recv; /* Describes receive FIFO */ const struct adc_ops_s *ad_ops; /* Arch-specific operations */ - void *ad_priv; /* Used by the arch-specific logic */ + void *ad_priv; /* Used by the arch-specific logic */ }; /************************************************************************************ -- cgit v1.2.3